@recursica/mui-adapter 0.9.1 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/dist/mui-adapter.cjs +30 -20
- package/dist/mui-adapter.cjs.map +1 -1
- package/dist/mui-adapter.css +1 -1
- package/dist/mui-adapter.js +2410 -2085
- package/dist/mui-adapter.js.map +1 -1
- package/dist/src/components/Accordion/Accordion.d.ts +43 -10
- package/dist/src/components/Autocomplete/Autocomplete.d.ts +13 -2
- package/dist/src/components/Avatar/Avatar.d.ts +16 -1
- package/dist/src/components/Badge/Badge.d.ts +16 -1
- package/dist/src/components/Breadcrumb/Breadcrumb.d.ts +13 -2
- package/dist/src/components/Button/Button.d.ts +13 -2
- package/dist/src/components/Card/Card.d.ts +45 -2
- package/dist/src/components/Checkbox/CheckboxGroup.d.ts +14 -3
- package/dist/src/components/Chip/Chip.d.ts +13 -2
- package/dist/src/components/Container/Container.d.ts +3 -3
- package/dist/src/components/Dropdown/Dropdown.d.ts +14 -3
- package/dist/src/components/Flex/Flex.d.ts +3 -4
- package/dist/src/components/Group/Group.d.ts +3 -4
- package/dist/src/components/Link/Link.d.ts +14 -4
- package/dist/src/components/Menu/Menu.d.ts +37 -8
- package/dist/src/components/Modal/Modal.d.ts +51 -11
- package/dist/src/components/NumberInput/NumberInput.d.ts +13 -2
- package/dist/src/components/Pagination/Pagination.d.ts +13 -2
- package/dist/src/components/Panel/Panel.d.ts +6 -6
- package/dist/src/components/Radio/index.d.ts +1 -0
- package/dist/src/components/SegmentedControl/SegmentedControl.d.ts +15 -4
- package/dist/src/components/Slider/Slider.d.ts +13 -2
- package/dist/src/components/Stack/Stack.d.ts +3 -4
- package/dist/src/components/Stepper/Stepper.d.ts +71 -16
- package/dist/src/components/Switch/Switch.d.ts +1 -1
- package/dist/src/components/Switch/SwitchGroup.d.ts +14 -3
- package/dist/src/components/Switch/index.d.ts +1 -0
- package/dist/src/components/Table/Table.d.ts +34 -3
- package/dist/src/components/Tabs/Tabs.d.ts +45 -8
- package/dist/src/components/Text/Text.d.ts +18 -3
- package/dist/src/components/TextArea/TextArea.d.ts +14 -3
- package/dist/src/components/TextField/TextField.d.ts +13 -2
- package/dist/src/components/Timeline/TimelineItem.d.ts +13 -2
- package/dist/src/components/Timeline/index.d.ts +1 -0
- package/dist/src/components/Title/Title.d.ts +18 -2
- package/dist/src/components/Toast/Toast.d.ts +13 -2
- package/dist/src/components/Typography/Typography.d.ts +14 -3
- package/dist/src/components/Typography/index.d.ts +1 -0
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/index.d.ts +85 -1
- package/dist/src/utils/filterStylingProps.d.ts +1 -1
- package/package.json +1 -1
- package/src/OverStyling.tsx +63 -2
- package/src/components/Accordion/Accordion.tsx +1 -0
- package/src/components/Autocomplete/Autocomplete.tsx +2 -0
- package/src/components/Avatar/Avatar.tsx +3 -3
- package/src/components/Badge/Badge.tsx +1 -1
- package/src/components/Card/CARD_IMPLEMENTATION_NOTES.md +15 -0
- package/src/components/Card/Card.module.css +1 -0
- package/src/components/Card/Card.tsx +30 -2
- package/src/components/Checkbox/Checkbox.tsx +6 -1
- package/src/components/Checkbox/CheckboxGroup.tsx +6 -2
- package/src/components/Container/Container.tsx +5 -3
- package/src/components/Dropdown/Dropdown.tsx +10 -11
- package/src/components/Flex/Flex.tsx +5 -2
- package/src/components/Group/Group.tsx +4 -3
- package/src/components/HoverCard/HoverCard.tsx +7 -4
- package/src/components/Link/Link.tsx +1 -1
- package/src/components/Menu/Menu.stories.tsx +14 -8
- package/src/components/Modal/Modal.tsx +11 -4
- package/src/components/Panel/PANEL_IMPLEMENTATION_NOTES.md +64 -0
- package/src/components/Panel/Panel.stories.tsx +9 -9
- package/src/components/Panel/Panel.tsx +14 -9
- package/src/components/Radio/Radio.tsx +1 -0
- package/src/components/Radio/index.ts +1 -0
- package/src/components/ReadOnlyField/ReadOnlyField.tsx +1 -1
- package/src/components/SegmentedControl/SegmentedControl.tsx +5 -1
- package/src/components/Slider/Slider.tsx +12 -4
- package/src/components/Stack/Stack.tsx +4 -3
- package/src/components/Stepper/Stepper.tsx +6 -1
- package/src/components/Switch/Switch.tsx +2 -1
- package/src/components/Switch/SwitchGroup.tsx +5 -1
- package/src/components/Switch/index.ts +1 -0
- package/src/components/Table/Table.module.css +7 -0
- package/src/components/Table/Table.stories.tsx +35 -3
- package/src/components/Table/Table.tsx +61 -5
- package/src/components/Tabs/Tabs.tsx +5 -1
- package/src/components/Text/Text.tsx +5 -2
- package/src/components/TextArea/TextArea.tsx +11 -10
- package/src/components/TextField/TextField.tsx +2 -0
- package/src/components/Timeline/index.ts +1 -0
- package/src/components/Title/Title.tsx +4 -1
- package/src/components/Typography/index.ts +1 -0
- package/src/components/index.ts +1 -0
- package/src/index.ts +180 -1
- package/src/utils/filterStylingProps.ts +1 -0
|
@@ -6,8 +6,19 @@ import { RecursicaFormControlWrapperProps } from '../FormControlWrapper/FormCont
|
|
|
6
6
|
export interface RecursicaNumberInputProps extends Omit<MuiNumberInputProps, "size" | "variant" | "radius" | "wrapperProps" | "classNames" | "styles">, Pick<RecursicaFormControlWrapperProps, "assistiveText" | "assistiveWithIcon" | "formLayout" | "labelSize" | "labelAlignment" | "labelOptionalText" | "labelWithEditIcon" | "onLabelEditClick">, ReadOnlyControlProps, BaseRecursicaNumberInputProps {
|
|
7
7
|
}
|
|
8
8
|
export type NumberInputProps = RecursicaOverStyled<RecursicaNumberInputProps>;
|
|
9
|
-
export declare const NumberInput: React.ForwardRefExoticComponent<(Omit<Omit<RecursicaNumberInputProps
|
|
9
|
+
export declare const NumberInput: React.ForwardRefExoticComponent<(Omit<Omit<import('@recursica/adapter-common').WithRecursicaSpacing<RecursicaNumberInputProps>, import('@recursica/adapter-common').BlockedStylingKeys> & import('@recursica/adapter-common').ForbiddenStyles & {
|
|
10
10
|
overStyled?: false | undefined;
|
|
11
|
-
}, "ref"> | Omit<RecursicaNumberInputProps & {
|
|
11
|
+
}, "ref"> | Omit<Omit<RecursicaNumberInputProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
12
|
+
m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
13
|
+
mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
14
|
+
my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
15
|
+
mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
16
|
+
mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
17
|
+
ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
18
|
+
mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
19
|
+
gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
20
|
+
rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
21
|
+
columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
22
|
+
} & {
|
|
12
23
|
overStyled: true;
|
|
13
24
|
}, "ref">) & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -5,8 +5,19 @@ export type PaginationProps = RecursicaOverStyled<MuiPaginationProps & Recursica
|
|
|
5
5
|
/**
|
|
6
6
|
* Recursica Pagination component wrapping Mui's Pagination.
|
|
7
7
|
*/
|
|
8
|
-
export declare const Pagination: import('react').ForwardRefExoticComponent<(Omit<Omit<MuiPaginationProps & RecursicaPaginationProps
|
|
8
|
+
export declare const Pagination: import('react').ForwardRefExoticComponent<(Omit<Omit<import('@recursica/adapter-common').WithRecursicaSpacing<MuiPaginationProps & RecursicaPaginationProps>, import('@recursica/adapter-common').BlockedStylingKeys> & import('@recursica/adapter-common').ForbiddenStyles & {
|
|
9
9
|
overStyled?: false | undefined;
|
|
10
|
-
}, "ref"> | Omit<MuiPaginationProps & RecursicaPaginationProps & {
|
|
10
|
+
}, "ref"> | Omit<Omit<MuiPaginationProps & RecursicaPaginationProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
11
|
+
m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
12
|
+
mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
13
|
+
my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
14
|
+
mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
15
|
+
mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
16
|
+
ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
17
|
+
mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
18
|
+
gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
19
|
+
rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
20
|
+
columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
21
|
+
} & {
|
|
11
22
|
overStyled: true;
|
|
12
23
|
}, "ref">) & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import { DrawerProps as MuiDrawerProps } from '@mui/material';
|
|
1
2
|
import { RecursicaOverStyled } from '../../utils/filterStylingProps';
|
|
2
|
-
import { RecursicaPanelProps } from '@recursica/adapter-common';
|
|
3
|
+
import { RecursicaPanelProps as BaseRecursicaPanelProps } from '@recursica/adapter-common';
|
|
3
4
|
/**
|
|
4
5
|
* Recursica Panel root props. Extends Mui Drawer.
|
|
5
6
|
*/
|
|
7
|
+
export interface RecursicaPanelProps extends Omit<MuiDrawerProps, "classes" | "position" | "style" | "anchor" | "open">, BaseRecursicaPanelProps {
|
|
8
|
+
}
|
|
6
9
|
export type PanelProps = RecursicaOverStyled<RecursicaPanelProps>;
|
|
7
10
|
/**
|
|
8
11
|
* Recursica Panel component wrapping Mui's Drawer.
|
|
@@ -13,7 +16,7 @@ export type PanelProps = RecursicaOverStyled<RecursicaPanelProps>;
|
|
|
13
16
|
* cluttering the main interface.
|
|
14
17
|
*
|
|
15
18
|
* ```tsx
|
|
16
|
-
* <Panel opened={opened} onClose={close} title="Panel Title"
|
|
19
|
+
* <Panel opened={opened} onClose={close} title="Panel Title" placement="right">
|
|
17
20
|
* <Panel.Body>
|
|
18
21
|
* Content goes here
|
|
19
22
|
* </Panel.Body>
|
|
@@ -31,10 +34,7 @@ export type PanelProps = RecursicaOverStyled<RecursicaPanelProps>;
|
|
|
31
34
|
* - `Panel.Stack` — Stacked drawer context
|
|
32
35
|
*/
|
|
33
36
|
declare const PanelBase: {
|
|
34
|
-
({ overStyled,
|
|
35
|
-
position?: "left" | "right" | "top" | "bottom";
|
|
36
|
-
opened?: boolean;
|
|
37
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
({ overStyled, placement, keepMounted, wrapHeaderText, opened, ...rest }: PanelProps): import("react/jsx-runtime").JSX.Element;
|
|
38
38
|
displayName: string;
|
|
39
39
|
};
|
|
40
40
|
export type PanelFooterProps = RecursicaOverStyled<React.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -8,14 +8,25 @@ export type SegmentedControlProps = RecursicaOverStyled<Omit<MuiSegmentedControl
|
|
|
8
8
|
/**
|
|
9
9
|
* Recursica SegmentedControl component wrapping Mui's SegmentedControl.
|
|
10
10
|
*/
|
|
11
|
-
export declare const SegmentedControl: import('react').ForwardRefExoticComponent<(Omit<Omit<Omit<MuiSegmentedControlProps, "className" | "color" | "value" | "classNames" | "onChange" | "variant" | "disabled" | "size" | "radius"> & {
|
|
11
|
+
export declare const SegmentedControl: import('react').ForwardRefExoticComponent<(Omit<Omit<import('@recursica/adapter-common').WithRecursicaSpacing<Omit<MuiSegmentedControlProps, "className" | "color" | "value" | "classNames" | "onChange" | "variant" | "disabled" | "size" | "radius"> & {
|
|
12
12
|
className?: string;
|
|
13
13
|
classNames?: Partial<Record<string, string>>;
|
|
14
|
-
} & RecursicaSegmentedControlProps
|
|
14
|
+
} & RecursicaSegmentedControlProps>, import('@recursica/adapter-common').BlockedStylingKeys> & import('@recursica/adapter-common').ForbiddenStyles & {
|
|
15
15
|
overStyled?: false | undefined;
|
|
16
|
-
}, "ref"> | Omit<Omit<MuiSegmentedControlProps, "className" | "color" | "value" | "classNames" | "onChange" | "variant" | "disabled" | "size" | "radius"> & {
|
|
16
|
+
}, "ref"> | Omit<Omit<Omit<MuiSegmentedControlProps, "className" | "color" | "value" | "classNames" | "onChange" | "variant" | "disabled" | "size" | "radius"> & {
|
|
17
17
|
className?: string;
|
|
18
18
|
classNames?: Partial<Record<string, string>>;
|
|
19
|
-
} & RecursicaSegmentedControlProps & {
|
|
19
|
+
} & RecursicaSegmentedControlProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
20
|
+
m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
21
|
+
mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
22
|
+
my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
23
|
+
mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
24
|
+
mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
25
|
+
ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
26
|
+
mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
27
|
+
gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
28
|
+
rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
29
|
+
columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
30
|
+
} & {
|
|
20
31
|
overStyled: true;
|
|
21
32
|
}, "ref">) & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -12,8 +12,19 @@ export type SliderProps = RecursicaOverStyled<RecursicaSliderProps>;
|
|
|
12
12
|
* Implements a bidirectional text input field next to the slider track, responsive layouts,
|
|
13
13
|
* custom typography-bound min/max labels, an optional leading icon, and an explicit read-only layout.
|
|
14
14
|
*/
|
|
15
|
-
export declare const Slider: React.ForwardRefExoticComponent<(Omit<Omit<RecursicaSliderProps
|
|
15
|
+
export declare const Slider: React.ForwardRefExoticComponent<(Omit<Omit<import('@recursica/adapter-common').WithRecursicaSpacing<RecursicaSliderProps>, import('@recursica/adapter-common').BlockedStylingKeys> & import('@recursica/adapter-common').ForbiddenStyles & {
|
|
16
16
|
overStyled?: false | undefined;
|
|
17
|
-
}, "ref"> | Omit<RecursicaSliderProps & {
|
|
17
|
+
}, "ref"> | Omit<Omit<RecursicaSliderProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
18
|
+
m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
19
|
+
mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
20
|
+
my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
21
|
+
mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
22
|
+
mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
23
|
+
ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
24
|
+
mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
25
|
+
gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
26
|
+
rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
27
|
+
columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
28
|
+
} & {
|
|
18
29
|
overStyled: true;
|
|
19
30
|
}, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { StackProps as MUIStackProps } from '@mui/material';
|
|
3
|
-
import { OmitSx } from '../../utils/filterStylingProps';
|
|
2
|
+
import { OmitSx, WithRecursicaSpacing } from '../../utils/filterStylingProps';
|
|
4
3
|
import { RecursicaStackProps } from '@recursica/adapter-common';
|
|
5
|
-
export type StackProps = OmitSx<Omit<MUIStackProps, "spacing"> & RecursicaStackProps
|
|
6
|
-
export declare const Stack:
|
|
4
|
+
export type StackProps = WithRecursicaSpacing<OmitSx<Omit<MUIStackProps, "spacing"> & RecursicaStackProps>>;
|
|
5
|
+
export declare const Stack: import('react').ForwardRefExoticComponent<Omit<StackProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,42 +1,97 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { StepProps as MuiStepProps, StepLabelProps as MuiStepLabelProps, StepButtonProps as MuiStepButtonProps, StepConnectorProps as MuiStepConnectorProps } from '@mui/material';
|
|
2
|
+
import { StepperProps as MuiStepperProps, StepProps as MuiStepProps, StepLabelProps as MuiStepLabelProps, StepButtonProps as MuiStepButtonProps, StepConnectorProps as MuiStepConnectorProps } from '@mui/material';
|
|
3
3
|
import { RecursicaOverStyled } from '../../utils/filterStylingProps';
|
|
4
4
|
import { RecursicaStepperProps } from '@recursica/adapter-common';
|
|
5
|
-
export
|
|
6
|
-
|
|
5
|
+
export interface RecursicaStepperPropsExtended extends Omit<Partial<MuiStepperProps>, "size">, RecursicaStepperProps {
|
|
6
|
+
}
|
|
7
|
+
export type StepperProps = RecursicaOverStyled<RecursicaStepperPropsExtended>;
|
|
8
|
+
export declare const Stepper: React.ForwardRefExoticComponent<(Omit<Omit<import('@recursica/adapter-common').WithRecursicaSpacing<RecursicaStepperPropsExtended>, import('@recursica/adapter-common').BlockedStylingKeys> & import('@recursica/adapter-common').ForbiddenStyles & {
|
|
9
|
+
overStyled?: false | undefined;
|
|
10
|
+
}, "ref"> | Omit<Omit<RecursicaStepperPropsExtended, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
11
|
+
m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
12
|
+
mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
13
|
+
my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
14
|
+
mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
15
|
+
mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
16
|
+
ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
17
|
+
mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
18
|
+
gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
19
|
+
rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
20
|
+
columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
21
|
+
} & {
|
|
22
|
+
overStyled: true;
|
|
23
|
+
}, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
7
24
|
export type StepProps = RecursicaOverStyled<MuiStepProps>;
|
|
8
|
-
export declare const Step: React.ForwardRefExoticComponent<(Omit<Omit<MuiStepProps
|
|
25
|
+
export declare const Step: React.ForwardRefExoticComponent<(Omit<Omit<import('@recursica/adapter-common').WithRecursicaSpacing<MuiStepProps>, import('@recursica/adapter-common').BlockedStylingKeys> & import('@recursica/adapter-common').ForbiddenStyles & {
|
|
9
26
|
overStyled?: false | undefined;
|
|
10
|
-
}, "ref"> | Omit<{
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
27
|
+
}, "ref"> | Omit<Omit<MuiStepProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
28
|
+
m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
29
|
+
mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
30
|
+
my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
31
|
+
mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
32
|
+
mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
33
|
+
ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
34
|
+
mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
35
|
+
gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
36
|
+
rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
37
|
+
columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
14
38
|
} & {
|
|
15
39
|
overStyled: true;
|
|
16
40
|
}, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
17
41
|
export type StepButtonProps = RecursicaOverStyled<MuiStepButtonProps>;
|
|
18
|
-
export declare const StepButton: React.ForwardRefExoticComponent<(Omit<Omit<MuiStepButtonProps
|
|
42
|
+
export declare const StepButton: React.ForwardRefExoticComponent<(Omit<Omit<import('@recursica/adapter-common').WithRecursicaSpacing<MuiStepButtonProps>, import('@recursica/adapter-common').BlockedStylingKeys> & import('@recursica/adapter-common').ForbiddenStyles & {
|
|
19
43
|
overStyled?: false | undefined;
|
|
20
|
-
}, "ref"> | Omit<
|
|
21
|
-
|
|
44
|
+
}, "ref"> | Omit<Omit<MuiStepButtonProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
45
|
+
m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
46
|
+
mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
47
|
+
my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
48
|
+
mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
49
|
+
mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
50
|
+
ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
51
|
+
mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
52
|
+
gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
53
|
+
rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
54
|
+
columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
22
55
|
} & {
|
|
23
56
|
overStyled: true;
|
|
24
57
|
}, "ref">) & React.RefAttributes<HTMLButtonElement>>;
|
|
25
58
|
export type StepLabelProps = RecursicaOverStyled<MuiStepLabelProps & {
|
|
26
59
|
description?: React.ReactNode;
|
|
27
60
|
}>;
|
|
28
|
-
export declare const StepLabel: React.ForwardRefExoticComponent<(Omit<Omit<MuiStepLabelProps & {
|
|
61
|
+
export declare const StepLabel: React.ForwardRefExoticComponent<(Omit<Omit<import('@recursica/adapter-common').WithRecursicaSpacing<MuiStepLabelProps & {
|
|
29
62
|
description?: React.ReactNode;
|
|
30
|
-
}
|
|
63
|
+
}>, import('@recursica/adapter-common').BlockedStylingKeys> & import('@recursica/adapter-common').ForbiddenStyles & {
|
|
31
64
|
overStyled?: false | undefined;
|
|
32
|
-
}, "ref"> | Omit<MuiStepLabelProps & {
|
|
65
|
+
}, "ref"> | Omit<Omit<MuiStepLabelProps & {
|
|
33
66
|
description?: React.ReactNode;
|
|
67
|
+
}, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
68
|
+
m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
69
|
+
mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
70
|
+
my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
71
|
+
mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
72
|
+
mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
73
|
+
ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
74
|
+
mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
75
|
+
gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
76
|
+
rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
77
|
+
columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
34
78
|
} & {
|
|
35
79
|
overStyled: true;
|
|
36
80
|
}, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
37
81
|
export type StepConnectorProps = RecursicaOverStyled<MuiStepConnectorProps>;
|
|
38
|
-
export declare const StepConnector: React.ForwardRefExoticComponent<(Omit<Omit<MuiStepConnectorProps
|
|
82
|
+
export declare const StepConnector: React.ForwardRefExoticComponent<(Omit<Omit<import('@recursica/adapter-common').WithRecursicaSpacing<MuiStepConnectorProps>, import('@recursica/adapter-common').BlockedStylingKeys> & import('@recursica/adapter-common').ForbiddenStyles & {
|
|
39
83
|
overStyled?: false | undefined;
|
|
40
|
-
}, "ref"> | Omit<MuiStepConnectorProps & {
|
|
84
|
+
}, "ref"> | Omit<Omit<MuiStepConnectorProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
85
|
+
m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
86
|
+
mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
87
|
+
my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
88
|
+
mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
89
|
+
mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
90
|
+
ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
91
|
+
mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
92
|
+
gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
93
|
+
rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
94
|
+
columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
95
|
+
} & {
|
|
41
96
|
overStyled: true;
|
|
42
97
|
}, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -5,6 +5,6 @@ import { FormControlLayoutProps } from '../FormControlLayout/FormControlLayout';
|
|
|
5
5
|
export type SwitchWrapperProps = Omit<MuiSwitchProps, "size" | "color" | "radius" | "variant"> & RecursicaSwitchProps & ReadOnlyControlProps & Pick<FormControlLayoutProps, "formLayout" | "labelSize" | "controlMaxWidth" | "controlMinWidth">;
|
|
6
6
|
export type RecursicaSwitchPropsAlias = RequireAccessibleLabel<SwitchWrapperProps>;
|
|
7
7
|
export type SwitchProps = RecursicaOverStyled<RecursicaSwitchPropsAlias>;
|
|
8
|
-
type SwitchComponent =
|
|
8
|
+
type SwitchComponent = React.ComponentType<SwitchProps>;
|
|
9
9
|
export declare const Switch: SwitchComponent;
|
|
10
10
|
export {};
|
|
@@ -3,11 +3,22 @@ import { FormGroupProps as MuiFormGroupProps } from '@mui/material';
|
|
|
3
3
|
import { ReadOnlyControlProps, RecursicaSwitchGroupProps as BaseRecursicaSwitchGroupProps } from '@recursica/adapter-common';
|
|
4
4
|
import { RecursicaOverStyled } from '../../utils/filterStylingProps';
|
|
5
5
|
import { RecursicaFormControlWrapperProps } from '../FormControlWrapper/FormControlWrapper';
|
|
6
|
-
export interface RecursicaSwitchGroupProps extends Omit<MuiFormGroupProps, "size" | "labelProps" | "onChange" | "classes" | "ref" | "value" | "defaultValue">, Omit<RecursicaFormControlWrapperProps, "controlMaxWidth" | "controlMinWidth" | "classes" | "onChange">, ReadOnlyControlProps, BaseRecursicaSwitchGroupProps {
|
|
6
|
+
export interface RecursicaSwitchGroupProps extends Omit<MuiFormGroupProps, "size" | "labelProps" | "onChange" | "classes" | "ref" | "value" | "defaultValue">, Omit<RecursicaFormControlWrapperProps, "controlMaxWidth" | "controlMinWidth" | "classes" | "onChange" | "defaultValue">, ReadOnlyControlProps, BaseRecursicaSwitchGroupProps {
|
|
7
7
|
}
|
|
8
8
|
export type SwitchGroupProps = RecursicaOverStyled<RecursicaSwitchGroupProps>;
|
|
9
|
-
export declare const SwitchGroup: React.ForwardRefExoticComponent<(Omit<Omit<RecursicaSwitchGroupProps
|
|
9
|
+
export declare const SwitchGroup: React.ForwardRefExoticComponent<(Omit<Omit<import('@recursica/adapter-common').WithRecursicaSpacing<RecursicaSwitchGroupProps>, import('@recursica/adapter-common').BlockedStylingKeys> & import('@recursica/adapter-common').ForbiddenStyles & {
|
|
10
10
|
overStyled?: false | undefined;
|
|
11
|
-
}, "ref"> | Omit<RecursicaSwitchGroupProps & {
|
|
11
|
+
}, "ref"> | Omit<Omit<RecursicaSwitchGroupProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
12
|
+
m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
13
|
+
mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
14
|
+
my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
15
|
+
mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
16
|
+
mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
17
|
+
ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
18
|
+
mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
19
|
+
gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
20
|
+
rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
21
|
+
columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
22
|
+
} & {
|
|
12
23
|
overStyled: true;
|
|
13
24
|
}, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,35 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TableProps as MuiTableProps, TableBody as MuiTableBody, TableCell as MuiTableCell, TableContainer as MuiTableContainer, TableHead as MuiTableHead, TableRow as MuiTableRow, TableFooter as MuiTableFooter, TableSortLabel as MuiTableSortLabel } from '@mui/material';
|
|
2
|
+
import { RecursicaOverStyled } from '../../utils/filterStylingProps';
|
|
2
3
|
import { RecursicaTableProps } from '@recursica/adapter-common';
|
|
3
|
-
export type TableProps =
|
|
4
|
-
|
|
4
|
+
export type TableProps = RecursicaOverStyled<MuiTableProps & RecursicaTableProps>;
|
|
5
|
+
declare const TableBase: import('react').ForwardRefExoticComponent<(Omit<Omit<import('@recursica/adapter-common').WithRecursicaSpacing<import('@mui/material').TableOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, "className" | "classes" | "style" | "sx" | "children" | "padding" | "size" | "stickyHeader"> & {
|
|
6
|
+
component?: React.ElementType | undefined;
|
|
7
|
+
} & RecursicaTableProps>, import('@recursica/adapter-common').BlockedStylingKeys> & import('@recursica/adapter-common').ForbiddenStyles & {
|
|
8
|
+
overStyled?: false | undefined;
|
|
9
|
+
}, "ref"> | Omit<Omit<import('@mui/material').TableOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, "className" | "classes" | "style" | "sx" | "children" | "padding" | "size" | "stickyHeader"> & {
|
|
10
|
+
component?: React.ElementType | undefined;
|
|
11
|
+
} & RecursicaTableProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
12
|
+
m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
13
|
+
mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
14
|
+
my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
15
|
+
mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
16
|
+
mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
17
|
+
ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
18
|
+
mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
19
|
+
gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
20
|
+
rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
21
|
+
columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
22
|
+
} & {
|
|
23
|
+
overStyled: true;
|
|
24
|
+
}, "ref">) & import('react').RefAttributes<HTMLTableElement>>;
|
|
25
|
+
type TableComponent = typeof TableBase & {
|
|
26
|
+
Body: typeof MuiTableBody;
|
|
27
|
+
Cell: typeof MuiTableCell;
|
|
28
|
+
Container: typeof MuiTableContainer;
|
|
29
|
+
Head: typeof MuiTableHead;
|
|
30
|
+
Row: typeof MuiTableRow;
|
|
31
|
+
Footer: typeof MuiTableFooter;
|
|
32
|
+
SortLabel: typeof MuiTableSortLabel;
|
|
33
|
+
};
|
|
34
|
+
export declare const Table: TableComponent;
|
|
35
|
+
export {};
|
|
@@ -1,20 +1,57 @@
|
|
|
1
|
-
import { TabProps as MuiTabProps } from '@mui/material';
|
|
1
|
+
import { TabsProps as MuiTabsProps, TabProps as MuiTabProps } from '@mui/material';
|
|
2
2
|
import { RecursicaOverStyled } from '../../utils/filterStylingProps';
|
|
3
3
|
import { RecursicaTabsProps } from '@recursica/adapter-common';
|
|
4
4
|
import { TabPanelProps as MuiTabPanelProps } from '@mui/lab';
|
|
5
|
-
export
|
|
6
|
-
|
|
5
|
+
export interface RecursicaTabsPropsExtended extends Omit<MuiTabsProps, "variant">, RecursicaTabsProps {
|
|
6
|
+
}
|
|
7
|
+
export type TabsProps = RecursicaOverStyled<RecursicaTabsPropsExtended>;
|
|
8
|
+
export declare const Tabs: import('react').ForwardRefExoticComponent<(Omit<Omit<import('@recursica/adapter-common').WithRecursicaSpacing<RecursicaTabsPropsExtended>, import('@recursica/adapter-common').BlockedStylingKeys> & import('@recursica/adapter-common').ForbiddenStyles & {
|
|
9
|
+
overStyled?: false | undefined;
|
|
10
|
+
}, "ref"> | Omit<Omit<RecursicaTabsPropsExtended, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
11
|
+
m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
12
|
+
mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
13
|
+
my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
14
|
+
mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
15
|
+
mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
16
|
+
ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
17
|
+
mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
18
|
+
gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
19
|
+
rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
20
|
+
columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
21
|
+
} & {
|
|
22
|
+
overStyled: true;
|
|
23
|
+
}, "ref">) & import('react').RefAttributes<HTMLDivElement>>;
|
|
7
24
|
export type TabProps = RecursicaOverStyled<MuiTabProps>;
|
|
8
|
-
export declare const Tab: import('react').ForwardRefExoticComponent<(Omit<Omit<MuiTabProps
|
|
25
|
+
export declare const Tab: import('react').ForwardRefExoticComponent<(Omit<Omit<import('@recursica/adapter-common').WithRecursicaSpacing<MuiTabProps>, import('@recursica/adapter-common').BlockedStylingKeys> & import('@recursica/adapter-common').ForbiddenStyles & {
|
|
9
26
|
overStyled?: false | undefined;
|
|
10
|
-
}, "ref"> | Omit<
|
|
11
|
-
|
|
27
|
+
}, "ref"> | Omit<Omit<MuiTabProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
28
|
+
m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
29
|
+
mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
30
|
+
my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
31
|
+
mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
32
|
+
mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
33
|
+
ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
34
|
+
mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
35
|
+
gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
36
|
+
rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
37
|
+
columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
12
38
|
} & {
|
|
13
39
|
overStyled: true;
|
|
14
40
|
}, "ref">) & import('react').RefAttributes<HTMLDivElement>>;
|
|
15
41
|
export type TabPanelProps = RecursicaOverStyled<MuiTabPanelProps>;
|
|
16
|
-
export declare const TabPanel: import('react').ForwardRefExoticComponent<(Omit<Omit<MuiTabPanelProps
|
|
42
|
+
export declare const TabPanel: import('react').ForwardRefExoticComponent<(Omit<Omit<import('@recursica/adapter-common').WithRecursicaSpacing<MuiTabPanelProps>, import('@recursica/adapter-common').BlockedStylingKeys> & import('@recursica/adapter-common').ForbiddenStyles & {
|
|
17
43
|
overStyled?: false | undefined;
|
|
18
|
-
}, "ref"> | Omit<MuiTabPanelProps & {
|
|
44
|
+
}, "ref"> | Omit<Omit<MuiTabPanelProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
45
|
+
m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
46
|
+
mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
47
|
+
my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
48
|
+
mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
49
|
+
mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
50
|
+
ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
51
|
+
mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
52
|
+
gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
53
|
+
rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
54
|
+
columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
55
|
+
} & {
|
|
19
56
|
overStyled: true;
|
|
20
57
|
}, "ref">) & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TypographyProps as MuiTypographyProps } from '@mui/material';
|
|
2
2
|
import { RecursicaOverStyled } from '../../utils/filterStylingProps';
|
|
3
3
|
import { RecursicaTextProps } from '@recursica/adapter-common';
|
|
4
|
-
export type TextProps = RecursicaOverStyled<RecursicaTextProps>;
|
|
5
|
-
export declare const Text:
|
|
4
|
+
export type TextProps = RecursicaOverStyled<Omit<MuiTypographyProps, "variant" | "classes"> & RecursicaTextProps>;
|
|
5
|
+
export declare const Text: import('react').ForwardRefExoticComponent<(Omit<Omit<import('@recursica/adapter-common').WithRecursicaSpacing<Omit<MuiTypographyProps, "classes" | "variant"> & RecursicaTextProps>, import('@recursica/adapter-common').BlockedStylingKeys> & import('@recursica/adapter-common').ForbiddenStyles & {
|
|
6
|
+
overStyled?: false | undefined;
|
|
7
|
+
}, "ref"> | Omit<Omit<Omit<MuiTypographyProps, "classes" | "variant"> & RecursicaTextProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
8
|
+
m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
9
|
+
mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
10
|
+
my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
11
|
+
mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
12
|
+
mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
13
|
+
ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
14
|
+
mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
15
|
+
gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
16
|
+
rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
17
|
+
columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
18
|
+
} & {
|
|
19
|
+
overStyled: true;
|
|
20
|
+
}, "ref">) & import('react').RefAttributes<HTMLElement>>;
|
|
@@ -3,11 +3,22 @@ import { TextFieldProps as MuiTextareaProps } from '@mui/material';
|
|
|
3
3
|
import { ReadOnlyControlProps, RecursicaTextAreaProps as BaseRecursicaTextAreaProps } from '@recursica/adapter-common';
|
|
4
4
|
import { RecursicaOverStyled } from '../../utils/filterStylingProps';
|
|
5
5
|
import { RecursicaFormControlWrapperProps } from '../FormControlWrapper/FormControlWrapper';
|
|
6
|
-
export interface RecursicaTextAreaProps extends Omit<MuiTextareaProps, "size" | "variant" | "radius" | "wrapperProps"
|
|
6
|
+
export interface RecursicaTextAreaProps extends Omit<MuiTextareaProps, keyof React.HTMLAttributes<HTMLDivElement> | "size" | "variant" | "radius" | "wrapperProps" | "maxRows" | "minRows" | "classes">, Omit<RecursicaFormControlWrapperProps, "controlMaxWidth" | "controlMinWidth">, ReadOnlyControlProps, BaseRecursicaTextAreaProps {
|
|
7
7
|
}
|
|
8
8
|
export type TextAreaProps = RecursicaOverStyled<RecursicaTextAreaProps>;
|
|
9
|
-
export declare const TextArea: React.ForwardRefExoticComponent<(Omit<Omit<RecursicaTextAreaProps
|
|
9
|
+
export declare const TextArea: React.ForwardRefExoticComponent<(Omit<Omit<import('@recursica/adapter-common').WithRecursicaSpacing<RecursicaTextAreaProps>, import('@recursica/adapter-common').BlockedStylingKeys> & import('@recursica/adapter-common').ForbiddenStyles & {
|
|
10
10
|
overStyled?: false | undefined;
|
|
11
|
-
}, "ref"> | Omit<RecursicaTextAreaProps & {
|
|
11
|
+
}, "ref"> | Omit<Omit<RecursicaTextAreaProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
12
|
+
m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
13
|
+
mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
14
|
+
my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
15
|
+
mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
16
|
+
mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
17
|
+
ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
18
|
+
mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
19
|
+
gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
20
|
+
rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
21
|
+
columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
22
|
+
} & {
|
|
12
23
|
overStyled: true;
|
|
13
24
|
}, "ref">) & React.RefAttributes<HTMLTextAreaElement>>;
|
|
@@ -6,8 +6,19 @@ import { RecursicaFormControlWrapperProps } from '../FormControlWrapper/FormCont
|
|
|
6
6
|
export interface RecursicaTextFieldProps extends Omit<InputBaseProps, "color" | "size" | "startAdornment" | "endAdornment" | "autoComplete">, Omit<React.ComponentPropsWithoutRef<"input">, keyof InputBaseProps | "size" | "color" | "style" | "className" | "id">, Pick<RecursicaFormControlWrapperProps, "label" | "error" | "required" | "id" | "assistiveText" | "assistiveWithIcon" | "formLayout" | "labelSize" | "labelAlignment" | "labelOptionalText" | "labelWithEditIcon" | "onLabelEditClick">, ReadOnlyControlProps, BaseRecursicaTextFieldProps {
|
|
7
7
|
}
|
|
8
8
|
export type TextFieldProps = RecursicaOverStyled<RecursicaTextFieldProps>;
|
|
9
|
-
export declare const TextField: React.ForwardRefExoticComponent<(Omit<Omit<RecursicaTextFieldProps
|
|
9
|
+
export declare const TextField: React.ForwardRefExoticComponent<(Omit<Omit<import('@recursica/adapter-common').WithRecursicaSpacing<RecursicaTextFieldProps>, import('@recursica/adapter-common').BlockedStylingKeys> & import('@recursica/adapter-common').ForbiddenStyles & {
|
|
10
10
|
overStyled?: false | undefined;
|
|
11
|
-
}, "ref"> | Omit<RecursicaTextFieldProps & {
|
|
11
|
+
}, "ref"> | Omit<Omit<RecursicaTextFieldProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
12
|
+
m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
13
|
+
mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
14
|
+
my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
15
|
+
mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
16
|
+
mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
17
|
+
ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
18
|
+
mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
19
|
+
gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
20
|
+
rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
21
|
+
columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
22
|
+
} & {
|
|
12
23
|
overStyled: true;
|
|
13
24
|
}, "ref">) & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -11,8 +11,19 @@ export type TimelineItemProps = RecursicaOverStyled<Omit<MuiTimelineItemProps, "
|
|
|
11
11
|
* rendering it below the body content. It also accepts a `bulletVariant` to morph
|
|
12
12
|
* the structural dimensions of the node circle automatically.
|
|
13
13
|
*/
|
|
14
|
-
export declare const TimelineItem: React.ForwardRefExoticComponent<(Omit<Omit<Omit<MuiTimelineItemProps, "color" | "radius" | "lineVariant"> & RecursicaTimelineItemProps
|
|
14
|
+
export declare const TimelineItem: React.ForwardRefExoticComponent<(Omit<Omit<import('@recursica/adapter-common').WithRecursicaSpacing<Omit<MuiTimelineItemProps, "color" | "radius" | "lineVariant"> & RecursicaTimelineItemProps>, import('@recursica/adapter-common').BlockedStylingKeys> & import('@recursica/adapter-common').ForbiddenStyles & {
|
|
15
15
|
overStyled?: false | undefined;
|
|
16
|
-
}, "ref"> | Omit<Omit<MuiTimelineItemProps, "color" | "radius" | "lineVariant"> & RecursicaTimelineItemProps & {
|
|
16
|
+
}, "ref"> | Omit<Omit<Omit<MuiTimelineItemProps, "color" | "radius" | "lineVariant"> & RecursicaTimelineItemProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
17
|
+
m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
18
|
+
mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
19
|
+
my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
20
|
+
mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
21
|
+
mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
22
|
+
ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
23
|
+
mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
24
|
+
gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
25
|
+
rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
26
|
+
columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
27
|
+
} & {
|
|
17
28
|
overStyled: true;
|
|
18
29
|
}, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
import { TypographyProps as MuiTypographyProps } from '@mui/material';
|
|
2
3
|
import { RecursicaOverStyled } from '../../utils/filterStylingProps';
|
|
3
4
|
import { RecursicaTitleProps } from '@recursica/adapter-common';
|
|
4
|
-
export type TitleProps = RecursicaOverStyled<RecursicaTitleProps>;
|
|
5
|
-
export declare const Title: React.ForwardRefExoticComponent<
|
|
5
|
+
export type TitleProps = RecursicaOverStyled<Omit<MuiTypographyProps, "variant" | "classes"> & RecursicaTitleProps>;
|
|
6
|
+
export declare const Title: React.ForwardRefExoticComponent<(Omit<Omit<import('@recursica/adapter-common').WithRecursicaSpacing<Omit<MuiTypographyProps, "classes" | "variant"> & RecursicaTitleProps>, import('@recursica/adapter-common').BlockedStylingKeys> & import('@recursica/adapter-common').ForbiddenStyles & {
|
|
7
|
+
overStyled?: false | undefined;
|
|
8
|
+
}, "ref"> | Omit<Omit<Omit<MuiTypographyProps, "classes" | "variant"> & RecursicaTitleProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
9
|
+
m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
10
|
+
mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
11
|
+
my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
12
|
+
mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
13
|
+
mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
14
|
+
ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
15
|
+
mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
16
|
+
gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
17
|
+
rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
18
|
+
columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
19
|
+
} & {
|
|
20
|
+
overStyled: true;
|
|
21
|
+
}, "ref">) & React.RefAttributes<HTMLElement>>;
|
|
@@ -14,8 +14,19 @@ export interface RecursicaToastProps extends BaseRecursicaToastProps {
|
|
|
14
14
|
* Can be used as a standalone visual component to display a notification or message.
|
|
15
15
|
*/
|
|
16
16
|
export type ToastProps = RecursicaOverStyled<Omit<MuiAlertProps, "color" | "radius" | "variant" | "onClose"> & RecursicaToastProps>;
|
|
17
|
-
export declare const Toast: React.ForwardRefExoticComponent<(Omit<Omit<Omit<MuiAlertProps, "color" | "variant" | "onClose" | "radius"> & RecursicaToastProps
|
|
17
|
+
export declare const Toast: React.ForwardRefExoticComponent<(Omit<Omit<import('@recursica/adapter-common').WithRecursicaSpacing<Omit<MuiAlertProps, "color" | "variant" | "onClose" | "radius"> & RecursicaToastProps>, import('@recursica/adapter-common').BlockedStylingKeys> & import('@recursica/adapter-common').ForbiddenStyles & {
|
|
18
18
|
overStyled?: false | undefined;
|
|
19
|
-
}, "ref"> | Omit<Omit<MuiAlertProps, "color" | "variant" | "onClose" | "radius"> & RecursicaToastProps & {
|
|
19
|
+
}, "ref"> | Omit<Omit<Omit<MuiAlertProps, "color" | "variant" | "onClose" | "radius"> & RecursicaToastProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
20
|
+
m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
21
|
+
mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
22
|
+
my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
23
|
+
mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
24
|
+
mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
25
|
+
ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
26
|
+
mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
27
|
+
gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
28
|
+
rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
29
|
+
columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
30
|
+
} & {
|
|
20
31
|
overStyled: true;
|
|
21
32
|
}, "ref">) & React.RefAttributes<HTMLDivElement>>;
|