@ceed/cds 0.0.32 → 0.0.82
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/dist/components/Autocomplete/Autocomplete.d.ts +11 -0
- package/dist/components/Autocomplete/index.d.ts +3 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +21 -0
- package/dist/components/Breadcrumbs/index.d.ts +3 -0
- package/dist/components/Button/Button.d.ts +1 -1
- package/dist/components/Calendar/Calendar.d.ts +7 -0
- package/dist/components/Calendar/hooks/use-calendar-props.d.ts +35 -0
- package/dist/components/Calendar/hooks/use-calendar.d.ts +35 -0
- package/dist/components/Calendar/index.d.ts +3 -0
- package/dist/components/Calendar/types.d.ts +24 -0
- package/dist/components/Calendar/utils/index.d.ts +12 -0
- package/dist/components/DataTable/DataTable.d.ts +25 -5
- package/dist/components/DatePicker/DatePicker.d.ts +22 -0
- package/dist/components/DatePicker/index.d.ts +3 -0
- package/dist/components/DateRangePicker/DateRangePicker.d.ts +22 -0
- package/dist/components/DateRangePicker/index.d.ts +3 -0
- package/dist/components/DialogActions/DialogActions.d.ts +2 -2
- package/dist/components/DialogContent/DialogContent.d.ts +2 -2
- package/dist/components/DialogTitle/DialogTitle.d.ts +2 -2
- package/dist/components/FormControl/FormControl.d.ts +1 -1
- package/dist/components/Input/Input.d.ts +21 -3
- package/dist/components/Modal/Modal.d.ts +4 -4
- package/dist/components/MonthRangePicker/MonthRangePicker.d.ts +22 -0
- package/dist/components/MonthRangePicker/index.d.ts +3 -0
- package/dist/components/Radio/Radio.d.ts +2 -2
- package/dist/components/Select/Select.d.ts +11 -13
- package/dist/components/Stack/Stack.d.ts +1 -1
- package/dist/components/Tabs/Tabs.d.ts +2 -2
- package/dist/components/Textarea/Textarea.d.ts +19 -1
- package/dist/components/ThemeProvider/ThemeProvider.d.ts +10 -0
- package/dist/components/index.d.ts +8 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2842 -6
- package/framer/index.js +29510 -18631
- package/package.json +17 -8
- package/dist/components/Accordions/Accordions.js +0 -66
- package/dist/components/Accordions/index.js +0 -3
- package/dist/components/Box/Box.js +0 -6
- package/dist/components/Box/index.js +0 -3
- package/dist/components/Button/Button.js +0 -28
- package/dist/components/Button/index.js +0 -3
- package/dist/components/Checkbox/Checkbox.js +0 -28
- package/dist/components/Checkbox/index.js +0 -3
- package/dist/components/Container/Container.js +0 -51
- package/dist/components/Container/index.js +0 -3
- package/dist/components/DataTable/DataTable.js +0 -268
- package/dist/components/DataTable/index.js +0 -3
- package/dist/components/DialogActions/DialogActions.js +0 -6
- package/dist/components/DialogActions/index.js +0 -3
- package/dist/components/DialogContent/DialogContent.js +0 -6
- package/dist/components/DialogContent/index.js +0 -3
- package/dist/components/DialogFrame/DialogFrame.js +0 -44
- package/dist/components/DialogFrame/index.js +0 -3
- package/dist/components/DialogTitle/DialogTitle.js +0 -6
- package/dist/components/DialogTitle/index.js +0 -3
- package/dist/components/Divider/Divider.js +0 -28
- package/dist/components/Divider/index.js +0 -3
- package/dist/components/Dropdown/Dropdown.js +0 -6
- package/dist/components/Dropdown/index.js +0 -3
- package/dist/components/FormControl/FormControl.js +0 -6
- package/dist/components/FormControl/index.js +0 -3
- package/dist/components/FormHelperText/FormHelperText.js +0 -6
- package/dist/components/FormHelperText/index.js +0 -3
- package/dist/components/FormLabel/FormLabel.js +0 -6
- package/dist/components/FormLabel/index.js +0 -3
- package/dist/components/Grid/Grid.js +0 -6
- package/dist/components/Grid/index.js +0 -3
- package/dist/components/IconButton/IconButton.js +0 -28
- package/dist/components/IconButton/index.js +0 -3
- package/dist/components/Input/Input.js +0 -28
- package/dist/components/Input/index.js +0 -3
- package/dist/components/InsetDrawer/InsetDrawer.js +0 -45
- package/dist/components/InsetDrawer/index.js +0 -3
- package/dist/components/Menu/Menu.js +0 -56
- package/dist/components/Menu/index.js +0 -3
- package/dist/components/Modal/Modal.js +0 -60
- package/dist/components/Modal/index.js +0 -3
- package/dist/components/Radio/Radio.js +0 -10
- package/dist/components/Radio/index.js +0 -3
- package/dist/components/RadioList/RadioList.js +0 -38
- package/dist/components/RadioList/index.js +0 -3
- package/dist/components/Select/Select.js +0 -12
- package/dist/components/Select/index.js +0 -3
- package/dist/components/Sheet/Sheet.js +0 -6
- package/dist/components/Sheet/index.js +0 -3
- package/dist/components/Stack/Stack.js +0 -6
- package/dist/components/Stack/index.js +0 -3
- package/dist/components/Switch/Switch.js +0 -54
- package/dist/components/Switch/index.js +0 -3
- package/dist/components/Table/Table.js +0 -89
- package/dist/components/Table/index.js +0 -3
- package/dist/components/Tabs/Tabs.js +0 -18
- package/dist/components/Tabs/index.js +0 -3
- package/dist/components/Textarea/Textarea.js +0 -28
- package/dist/components/Textarea/index.js +0 -3
- package/dist/components/ThemeProvider/ThemeProvider.js +0 -54
- package/dist/components/ThemeProvider/index.js +0 -3
- package/dist/components/Tooltip/Tooltip.js +0 -28
- package/dist/components/Tooltip/index.js +0 -3
- package/dist/components/Typography/Typography.js +0 -28
- package/dist/components/Typography/index.js +0 -3
- package/dist/components/index.js +0 -33
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { AutocompleteProps } from "@mui/joy";
|
|
3
|
+
declare function Autocomplete<T, Multiple extends boolean | undefined = undefined, DisableClearable extends boolean | undefined = undefined, FreeSolo extends boolean | undefined = undefined>(props: {
|
|
4
|
+
label?: string;
|
|
5
|
+
error?: boolean;
|
|
6
|
+
helperText?: React.ReactNode;
|
|
7
|
+
} & AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>): React.JSX.Element;
|
|
8
|
+
declare namespace Autocomplete {
|
|
9
|
+
var displayName: string;
|
|
10
|
+
}
|
|
11
|
+
export { Autocomplete };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { BreadcrumbsProps } from "@mui/joy";
|
|
3
|
+
declare function Breadcrumbs(props: {
|
|
4
|
+
crumbs: {
|
|
5
|
+
type: "text" | "link";
|
|
6
|
+
label: string;
|
|
7
|
+
linkHref?: string;
|
|
8
|
+
}[];
|
|
9
|
+
frontCrumbCounts?: number;
|
|
10
|
+
backCrumbCounts?: number;
|
|
11
|
+
slots?: {
|
|
12
|
+
link?: React.ElementType;
|
|
13
|
+
} & BreadcrumbsProps["slots"];
|
|
14
|
+
slotProps?: {
|
|
15
|
+
link?: {};
|
|
16
|
+
} & BreadcrumbsProps["slotProps"];
|
|
17
|
+
} & BreadcrumbsProps): React.JSX.Element;
|
|
18
|
+
declare namespace Breadcrumbs {
|
|
19
|
+
var displayName: string;
|
|
20
|
+
}
|
|
21
|
+
export { Breadcrumbs };
|
|
@@ -21,5 +21,5 @@ declare const Button: React.ForwardRefExoticComponent<Omit<{
|
|
|
21
21
|
loadingPosition?: "center" | "end" | "start" | undefined;
|
|
22
22
|
} & Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
23
23
|
ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
|
|
24
|
-
}, "color" | "tabIndex" | "variant" | "sx" | "disabled" | "size" | "
|
|
24
|
+
}, "color" | "tabIndex" | "variant" | "sx" | "disabled" | "size" | "endDecorator" | "loading" | "startDecorator" | "component" | "fullWidth" | "loadingIndicator" | "loadingPosition" | "action" | "focusVisibleClassName" | keyof import("@mui/joy").ButtonSlotsAndSlotProps> & MotionProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
25
25
|
export { Button };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { CalendarProps } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* @see https://mui.com/x/api/date-pickers/date-calendar/ 인터페이스 참고
|
|
5
|
+
*/
|
|
6
|
+
declare const Calendar: React.ForwardRefExoticComponent<CalendarProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export { Calendar };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { View, CalendarProps } from "../types";
|
|
3
|
+
export declare const useCalendarProps: (inProps: CalendarProps) => readonly [{
|
|
4
|
+
onChange: ((date: [Date, Date | undefined]) => void) | undefined;
|
|
5
|
+
onMonthChange: (newMonth: Date) => void;
|
|
6
|
+
onViewChange: () => void;
|
|
7
|
+
value: [Date, Date | undefined] | undefined;
|
|
8
|
+
defaultValue?: [Date, Date | undefined] | undefined;
|
|
9
|
+
locale: string;
|
|
10
|
+
view: View;
|
|
11
|
+
views: View[];
|
|
12
|
+
slots?: Partial<Record<import("../types").CalendarSlot, React.ElementType<any, keyof React.JSX.IntrinsicElements>>> | undefined;
|
|
13
|
+
rangeSelection?: boolean | undefined;
|
|
14
|
+
minDate?: Date | undefined;
|
|
15
|
+
maxDate?: Date | undefined;
|
|
16
|
+
disableFuture?: boolean | undefined;
|
|
17
|
+
disablePast?: boolean | undefined;
|
|
18
|
+
}, {
|
|
19
|
+
viewMonth: Date;
|
|
20
|
+
direction: number;
|
|
21
|
+
onChange: ((date: [Date, Date | undefined]) => void) | undefined;
|
|
22
|
+
onMonthChange: (newMonth: Date) => void;
|
|
23
|
+
onViewChange: () => void;
|
|
24
|
+
value: [Date, Date | undefined] | undefined;
|
|
25
|
+
defaultValue?: [Date, Date | undefined] | undefined;
|
|
26
|
+
locale: string;
|
|
27
|
+
view: View;
|
|
28
|
+
views: View[];
|
|
29
|
+
slots?: Partial<Record<import("../types").CalendarSlot, React.ElementType<any, keyof React.JSX.IntrinsicElements>>> | undefined;
|
|
30
|
+
rangeSelection?: boolean | undefined;
|
|
31
|
+
minDate?: Date | undefined;
|
|
32
|
+
maxDate?: Date | undefined;
|
|
33
|
+
disableFuture?: boolean | undefined;
|
|
34
|
+
disablePast?: boolean | undefined;
|
|
35
|
+
}];
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { CalendarOwnerState } from "../types";
|
|
2
|
+
export declare const useCalendar: (ownerState: CalendarOwnerState) => {
|
|
3
|
+
calendarTitle: string;
|
|
4
|
+
onPrev: () => void;
|
|
5
|
+
onNext: () => void;
|
|
6
|
+
getDayCellProps: (day: number) => {
|
|
7
|
+
readonly "aria-label": string;
|
|
8
|
+
readonly "aria-current": "date" | undefined;
|
|
9
|
+
};
|
|
10
|
+
getMonthCellProps: (monthIndex: number) => {
|
|
11
|
+
readonly "aria-label": string;
|
|
12
|
+
readonly "aria-current": "date" | undefined;
|
|
13
|
+
};
|
|
14
|
+
getPickerDayProps: (day: number) => {
|
|
15
|
+
readonly isToday: boolean;
|
|
16
|
+
readonly isSelected: boolean | undefined;
|
|
17
|
+
readonly onClick: () => void;
|
|
18
|
+
readonly onMouseEnter: (() => void) | undefined;
|
|
19
|
+
readonly disabled: boolean | undefined;
|
|
20
|
+
readonly tabIndex: -1;
|
|
21
|
+
readonly "aria-label": string;
|
|
22
|
+
readonly "aria-selected": "true" | undefined;
|
|
23
|
+
readonly "aria-current": "date" | undefined;
|
|
24
|
+
};
|
|
25
|
+
getPickerMonthProps: (monthIndex: number) => {
|
|
26
|
+
readonly isSelected: boolean | undefined;
|
|
27
|
+
readonly onMouseEnter: (() => void) | undefined;
|
|
28
|
+
readonly disabled: boolean | undefined;
|
|
29
|
+
readonly onClick: () => void;
|
|
30
|
+
readonly tabIndex: -1;
|
|
31
|
+
readonly "aria-label": string;
|
|
32
|
+
readonly "aria-selected": "true" | undefined;
|
|
33
|
+
readonly "aria-current": "date" | undefined;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export type DateValue = Date;
|
|
3
|
+
export type View = "month" | "day";
|
|
4
|
+
export type CalendarSlot = "root" | "day" | "calendarHeader" | "viewContainer" | "viewTable" | "switchViewButton" | "weekHeaderContainer" | "dayPickerContainer";
|
|
5
|
+
export interface CalendarProps {
|
|
6
|
+
value?: [DateValue, DateValue | undefined];
|
|
7
|
+
defaultValue?: [DateValue, DateValue | undefined];
|
|
8
|
+
onChange?: (date: [DateValue, DateValue | undefined]) => void;
|
|
9
|
+
locale?: string;
|
|
10
|
+
view?: View;
|
|
11
|
+
views?: View[];
|
|
12
|
+
onViewChange?: (view: View) => void;
|
|
13
|
+
onMonthChange?: (newMonth: DateValue) => void;
|
|
14
|
+
slots?: Partial<Record<CalendarSlot, React.ElementType>>;
|
|
15
|
+
rangeSelection?: boolean;
|
|
16
|
+
minDate?: DateValue;
|
|
17
|
+
maxDate?: DateValue;
|
|
18
|
+
disableFuture?: boolean;
|
|
19
|
+
disablePast?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export interface CalendarOwnerState extends CalendarProps {
|
|
22
|
+
viewMonth: Date;
|
|
23
|
+
direction: number;
|
|
24
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const getCalendarDates: (date: Date) => (number | undefined)[][];
|
|
2
|
+
export declare const getYearName: (date: Date, locale: string) => string;
|
|
3
|
+
export declare const getMonthName: (date: Date, locale: string) => string;
|
|
4
|
+
export declare const getMonthNameFromIndex: (index: number, locale: string) => string;
|
|
5
|
+
/**
|
|
6
|
+
* 일~토 / Sun ~ Sat 같은 요일 이름을 가져옵니다.
|
|
7
|
+
*/
|
|
8
|
+
export declare const getWeekdayNames: (locale: string) => string[];
|
|
9
|
+
export declare const isToday: (date: Date) => boolean;
|
|
10
|
+
export declare const isSameDay: (date1: Date, date2: Date) => boolean;
|
|
11
|
+
export declare const isWithinRange: (d1: Date, d2: Date, date: Date) => boolean;
|
|
12
|
+
export declare const isSameMonth: (date1: Date, date2: Date) => boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React, { ComponentProps } from "react";
|
|
1
|
+
import React, { ComponentProps, ReactNode } from "react";
|
|
2
2
|
import { Table } from "../Table";
|
|
3
|
-
type
|
|
3
|
+
export type ColumnDef<T extends Record<string, V>, V = unknown> = {
|
|
4
4
|
type?: "number" | "string";
|
|
5
5
|
field: keyof T;
|
|
6
6
|
headerName?: string;
|
|
@@ -8,16 +8,27 @@ type Column<T extends Record<string, unknown>> = {
|
|
|
8
8
|
minWidth?: string;
|
|
9
9
|
maxWidth?: string;
|
|
10
10
|
resizable?: boolean;
|
|
11
|
+
renderCell?: (params: {
|
|
12
|
+
row: T;
|
|
13
|
+
value?: V;
|
|
14
|
+
id: string;
|
|
15
|
+
}) => ReactNode;
|
|
11
16
|
};
|
|
12
|
-
type DataTableProps<T extends Record<string, unknown>> = {
|
|
17
|
+
export type DataTableProps<T extends Record<string, unknown>> = {
|
|
13
18
|
rows: T[];
|
|
14
19
|
checkboxSelection?: boolean;
|
|
15
|
-
columns:
|
|
20
|
+
columns: ColumnDef<T>[];
|
|
16
21
|
/**
|
|
17
22
|
* 체크박스가 있는 경우, 체크박스를 클릭했을 때 선택된 row의 index를 지정한다.
|
|
18
23
|
*/
|
|
19
24
|
selectionModel?: string[];
|
|
20
|
-
onSelectionModelChange?: (newSelectionModel: string[]
|
|
25
|
+
onSelectionModelChange?: (newSelectionModel: string[],
|
|
26
|
+
/**
|
|
27
|
+
* Total Select를 클릭한 경우에만 값이 true/false로 들어온다.
|
|
28
|
+
* MUI에는 없는 인터페이스지만 Total Select 기능이 추가되었기 때문에 추가해야했다.
|
|
29
|
+
*/
|
|
30
|
+
isTotalSelected?: boolean) => void;
|
|
31
|
+
paginationMode?: "client" | "server";
|
|
21
32
|
paginationModel?: {
|
|
22
33
|
page: number;
|
|
23
34
|
pageSize: number;
|
|
@@ -29,12 +40,21 @@ type DataTableProps<T extends Record<string, unknown>> = {
|
|
|
29
40
|
/**
|
|
30
41
|
* Rows의 총 갯수를 직접 지정 할 수 있다.
|
|
31
42
|
* 기본적으로는 rows.length를 사용하지만, 이 값을 지정하면 rows.length를 사용하지 않는다.
|
|
43
|
+
* server mode를 사용할 때 유용하다.
|
|
32
44
|
*/
|
|
33
45
|
rowCount?: number;
|
|
46
|
+
loading?: boolean;
|
|
47
|
+
getId?: (row: T) => string;
|
|
48
|
+
/**
|
|
49
|
+
* 기본적으로 Uncontrolled로 작동하지만, Controlled로 작동하게 하고 싶을 때 사용한다.
|
|
50
|
+
* 이 값이 true이면, 현재 페이지 이외에도 존재하는 모든 데이터가 선택된것으로 간주하고 동작한다.
|
|
51
|
+
*/
|
|
52
|
+
isTotalSelected?: boolean;
|
|
34
53
|
slots?: {
|
|
35
54
|
checkbox?: React.ElementType;
|
|
36
55
|
toolbar?: React.ElementType;
|
|
37
56
|
footer?: React.ElementType;
|
|
57
|
+
loadingOverlay?: React.ElementType;
|
|
38
58
|
};
|
|
39
59
|
slotProps?: {
|
|
40
60
|
checkbox?: Partial<{
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface DatePickerProps {
|
|
3
|
+
value?: string;
|
|
4
|
+
onChange?: (event: {
|
|
5
|
+
target: {
|
|
6
|
+
name?: string;
|
|
7
|
+
value: string;
|
|
8
|
+
};
|
|
9
|
+
}) => void;
|
|
10
|
+
name?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
required?: boolean;
|
|
13
|
+
label?: React.ReactNode;
|
|
14
|
+
error?: boolean;
|
|
15
|
+
helperText?: React.ReactNode;
|
|
16
|
+
minDate?: string;
|
|
17
|
+
maxDate?: string;
|
|
18
|
+
disableFuture?: boolean;
|
|
19
|
+
disablePast?: boolean;
|
|
20
|
+
}
|
|
21
|
+
declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<HTMLDivElement>>;
|
|
22
|
+
export { DatePicker };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface DateRangePickerProps {
|
|
3
|
+
value?: string;
|
|
4
|
+
onChange?: (event: {
|
|
5
|
+
target: {
|
|
6
|
+
name?: string;
|
|
7
|
+
value: string;
|
|
8
|
+
};
|
|
9
|
+
}) => void;
|
|
10
|
+
name?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
required?: boolean;
|
|
13
|
+
label?: React.ReactNode;
|
|
14
|
+
error?: boolean;
|
|
15
|
+
helperText?: React.ReactNode;
|
|
16
|
+
minDate?: string;
|
|
17
|
+
maxDate?: string;
|
|
18
|
+
disableFuture?: boolean;
|
|
19
|
+
disablePast?: boolean;
|
|
20
|
+
}
|
|
21
|
+
declare const DateRangePicker: React.ForwardRefExoticComponent<DateRangePickerProps & React.RefAttributes<HTMLDivElement>>;
|
|
22
|
+
export { DateRangePicker };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
declare const DialogActions: import("
|
|
2
|
+
declare const DialogActions: import("@emotion/styled").StyledComponent<Omit<{
|
|
3
3
|
children?: React.ReactNode;
|
|
4
4
|
buttonFlex?: string | number | undefined;
|
|
5
5
|
orientation?: "horizontal" | "vertical" | "horizontal-reverse" | undefined;
|
|
6
6
|
sx?: import("@mui/joy/styles/types").SxProps | undefined;
|
|
7
7
|
} & import("@mui/joy").DialogActionsSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
8
8
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
9
|
-
}, "children" | "sx" | "orientation" | "buttonFlex" | keyof import("@mui/joy").DialogActionsSlotsAndSlotProps
|
|
9
|
+
}, "children" | "sx" | "orientation" | "buttonFlex" | keyof import("@mui/joy").DialogActionsSlotsAndSlotProps> & import("framer-motion").MotionProps, "ref"> & React.RefAttributes<HTMLElement | SVGElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/joy").Theme>, {}, {}>;
|
|
10
10
|
export { DialogActions };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
declare const DialogContent: import("
|
|
2
|
+
declare const DialogContent: import("@emotion/styled").StyledComponent<Omit<{
|
|
3
3
|
children?: React.ReactNode;
|
|
4
4
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
5
5
|
sx?: import("@mui/joy/styles/types").SxProps | undefined;
|
|
6
6
|
} & import("@mui/joy").DialogContentSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
7
7
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
8
|
-
}, "children" | "sx" | "orientation" | keyof import("@mui/joy").DialogContentSlotsAndSlotProps
|
|
8
|
+
}, "children" | "sx" | "orientation" | keyof import("@mui/joy").DialogContentSlotsAndSlotProps> & import("framer-motion").MotionProps, "ref"> & React.RefAttributes<HTMLElement | SVGElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/joy").Theme>, {}, {}>;
|
|
9
9
|
export { DialogContent };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
declare const DialogTitle: import("
|
|
2
|
+
declare const DialogTitle: import("@emotion/styled").StyledComponent<Omit<{
|
|
3
3
|
children?: React.ReactNode;
|
|
4
4
|
color?: import("@mui/types").OverridableStringUnion<import("@mui/joy").ColorPaletteProp, import("@mui/joy").DialogTitlePropsColorOverrides> | undefined;
|
|
5
5
|
level?: "inherit" | keyof import("@mui/joy").TypographySystem | undefined;
|
|
@@ -7,5 +7,5 @@ declare const DialogTitle: import("framer-motion").CustomDomComponent<{
|
|
|
7
7
|
variant?: import("@mui/types").OverridableStringUnion<import("@mui/joy").VariantProp, import("@mui/joy").DialogTitlePropsVariantOverrides> | undefined;
|
|
8
8
|
} & import("@mui/joy").DialogTitleSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
9
9
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
10
|
-
}, "children" | "color" | "variant" | "sx" | "level" | keyof import("@mui/joy").DialogTitleSlotsAndSlotProps
|
|
10
|
+
}, "children" | "color" | "variant" | "sx" | "level" | keyof import("@mui/joy").DialogTitleSlotsAndSlotProps> & import("framer-motion").MotionProps, "ref"> & React.RefAttributes<HTMLElement | SVGElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/joy").Theme>, {}, {}>;
|
|
11
11
|
export { DialogTitle };
|
|
@@ -10,5 +10,5 @@ declare const FormControl: import("framer-motion").CustomDomComponent<{
|
|
|
10
10
|
sx?: import("@mui/joy/styles/types").SxProps | undefined;
|
|
11
11
|
} & import("@mui/joy").FormControlSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
12
12
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
13
|
-
}, "children" | "color" | "sx" | "disabled" | "size" | "
|
|
13
|
+
}, "children" | "color" | "sx" | "disabled" | "size" | "error" | "orientation" | "required" | keyof import("@mui/joy").FormControlSlotsAndSlotProps>>;
|
|
14
14
|
export { FormControl };
|
|
@@ -1,8 +1,26 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { InputProps } from "@mui/joy";
|
|
3
|
-
import { MotionProps } from "framer-motion";
|
|
2
|
+
import { type InputProps } from "@mui/joy";
|
|
3
|
+
import { type MotionProps } from "framer-motion";
|
|
4
4
|
declare const Input: {
|
|
5
|
-
(props:
|
|
5
|
+
(props: {
|
|
6
|
+
label?: string | undefined;
|
|
7
|
+
helperText?: React.ReactNode;
|
|
8
|
+
error?: boolean | undefined;
|
|
9
|
+
} & {
|
|
10
|
+
component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
11
|
+
} & Pick<React.InputHTMLAttributes<HTMLInputElement>, "defaultValue" | "autoFocus" | "id" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "onKeyUp" | "onClick" | "disabled" | "required" | "type" | "autoComplete" | "readOnly" | "value" | "name" | "placeholder"> & {
|
|
12
|
+
className?: string | undefined;
|
|
13
|
+
color?: import("@mui/types").OverridableStringUnion<import("@mui/joy").ColorPaletteProp, import("@mui/joy").InputPropsColorOverrides> | undefined;
|
|
14
|
+
endDecorator?: React.ReactNode;
|
|
15
|
+
error?: boolean | undefined;
|
|
16
|
+
fullWidth?: boolean | undefined;
|
|
17
|
+
startDecorator?: React.ReactNode;
|
|
18
|
+
size?: import("@mui/types").OverridableStringUnion<"sm" | "md" | "lg", import("@mui/joy").InputPropsSizeOverrides> | undefined;
|
|
19
|
+
sx?: import("@mui/joy/styles/types").SxProps | undefined;
|
|
20
|
+
variant?: import("@mui/types").OverridableStringUnion<import("@mui/joy").VariantProp, import("@mui/joy").InputPropsVariantOverrides> | undefined;
|
|
21
|
+
} & import("@mui/joy").InputSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
22
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
23
|
+
}, "color" | "defaultValue" | "autoFocus" | "className" | "id" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "onKeyUp" | "onClick" | "variant" | "sx" | "disabled" | "size" | "error" | "required" | "type" | "autoComplete" | "readOnly" | "value" | "endDecorator" | "name" | "placeholder" | "startDecorator" | "component" | "fullWidth" | keyof import("@mui/joy").InputSlotsAndSlotProps> & MotionProps): React.JSX.Element;
|
|
6
24
|
displayName: string;
|
|
7
25
|
};
|
|
8
26
|
export { Input };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
declare const Modal: import("framer-motion").CustomDomComponent<Pick<import("@mui/base").ModalOwnProps, "children" | "container" | "open" | "
|
|
2
|
+
declare const Modal: import("framer-motion").CustomDomComponent<Pick<import("@mui/base").ModalOwnProps, "children" | "container" | "open" | "disablePortal" | "keepMounted" | "disableAutoFocus" | "disableEnforceFocus" | "disableRestoreFocus" | "disableEscapeKeyDown" | "disableScrollLock" | "hideBackdrop"> & {
|
|
3
3
|
onClose?: ((event: {}, reason: "escapeKeyDown" | "backdropClick" | "closeClick") => void) | undefined;
|
|
4
4
|
sx?: import("@mui/joy/styles/types").SxProps | undefined;
|
|
5
5
|
} & import("@mui/joy").ModalSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6
6
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
7
|
-
}, "children" | "container" | "sx" | "
|
|
7
|
+
}, "children" | "container" | "sx" | "onClose" | "open" | "disablePortal" | "keepMounted" | "disableAutoFocus" | "disableEnforceFocus" | "disableRestoreFocus" | "disableEscapeKeyDown" | "disableScrollLock" | "hideBackdrop" | keyof import("@mui/joy").ModalSlotsAndSlotProps>>;
|
|
8
8
|
export { Modal };
|
|
9
|
-
declare const ModalDialog: import("
|
|
9
|
+
declare const ModalDialog: import("@emotion/styled").StyledComponent<Omit<{
|
|
10
10
|
children?: React.ReactNode;
|
|
11
11
|
color?: import("@mui/types").OverridableStringUnion<import("@mui/joy").ColorPaletteProp, import("@mui/joy").ModalDialogPropsColorOverrides> | undefined;
|
|
12
12
|
invertedColors?: boolean | undefined;
|
|
@@ -19,7 +19,7 @@ declare const ModalDialog: import("framer-motion").CustomDomComponent<{
|
|
|
19
19
|
variant?: import("@mui/types").OverridableStringUnion<import("@mui/joy").VariantProp, import("@mui/joy").ModalDialogPropsVariantOverrides> | undefined;
|
|
20
20
|
} & import("@mui/joy").ModalDialogSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
21
21
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
22
|
-
}, "children" | "layout" | "color" | "maxWidth" | "minWidth" | "variant" | "sx" | "size" | "
|
|
22
|
+
}, "children" | "layout" | "color" | "maxWidth" | "minWidth" | "variant" | "sx" | "size" | "orientation" | "invertedColors" | keyof import("@mui/joy").ModalDialogSlotsAndSlotProps> & import("framer-motion").MotionProps, "ref"> & React.RefAttributes<HTMLElement | SVGElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/joy").Theme>, {}, {}>;
|
|
23
23
|
export { ModalDialog };
|
|
24
24
|
declare const ModalClose: import("framer-motion").CustomDomComponent<{
|
|
25
25
|
color?: import("@mui/types").OverridableStringUnion<import("@mui/joy").ColorPaletteProp, import("@mui/joy").ModalClosePropsColorOverrides> | undefined;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface MonthRangePickerProps {
|
|
3
|
+
value?: string;
|
|
4
|
+
onChange?: (event: {
|
|
5
|
+
target: {
|
|
6
|
+
name?: string;
|
|
7
|
+
value: string;
|
|
8
|
+
};
|
|
9
|
+
}) => void;
|
|
10
|
+
name?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
required?: boolean;
|
|
13
|
+
label?: React.ReactNode;
|
|
14
|
+
error?: boolean;
|
|
15
|
+
helperText?: React.ReactNode;
|
|
16
|
+
minDate?: string;
|
|
17
|
+
maxDate?: string;
|
|
18
|
+
disableFuture?: boolean;
|
|
19
|
+
disablePast?: boolean;
|
|
20
|
+
}
|
|
21
|
+
declare const MonthRangePicker: React.ForwardRefExoticComponent<MonthRangePickerProps & React.RefAttributes<HTMLDivElement>>;
|
|
22
|
+
export { MonthRangePicker };
|
|
@@ -14,7 +14,7 @@ declare const Radio: import("framer-motion").CustomDomComponent<import("@mui/bas
|
|
|
14
14
|
value?: unknown;
|
|
15
15
|
} & import("@mui/joy").RadioSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
16
16
|
ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
|
|
17
|
-
}, "label" | "color" | "overlay" | "className" | "variant" | "sx" | "size" | "
|
|
17
|
+
}, "label" | "color" | "overlay" | "className" | "variant" | "sx" | "size" | "value" | "name" | keyof import("@mui/base").UseSwitchParameters | "checkedIcon" | "disableIcon" | "uncheckedIcon" | keyof import("@mui/joy").RadioSlotsAndSlotProps>>;
|
|
18
18
|
export { Radio };
|
|
19
19
|
declare const RadioGroup: import("framer-motion").CustomDomComponent<{
|
|
20
20
|
className?: string | undefined;
|
|
@@ -32,5 +32,5 @@ declare const RadioGroup: import("framer-motion").CustomDomComponent<{
|
|
|
32
32
|
variant?: import("@mui/types").OverridableStringUnion<import("@mui/joy").VariantProp, import("@mui/joy").RadioPropsVariantOverrides> | undefined;
|
|
33
33
|
} & import("@mui/joy").RadioGroupSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
34
34
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
35
|
-
}, "color" | "overlay" | "defaultValue" | "className" | "onChange" | "variant" | "sx" | "size" | "
|
|
35
|
+
}, "color" | "overlay" | "defaultValue" | "className" | "onChange" | "variant" | "sx" | "size" | "orientation" | "value" | "name" | "component" | "disableIcon" | keyof import("@mui/joy").RadioGroupSlotsAndSlotProps>>;
|
|
36
36
|
export { RadioGroup };
|
|
@@ -1,17 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} & import("@mui/joy").SelectStaticProps & import("@mui/joy").SelectSlotsAndSlotProps<boolean> & {
|
|
5
|
-
defaultValue?: {} | {}[] | null | undefined;
|
|
6
|
-
multiple?: boolean | undefined;
|
|
7
|
-
getSerializedValue?: ((option: import("@mui/joy").SelectOption<{}> | import("@mui/joy").SelectOption<{}>[] | null) => string | number | readonly string[] | undefined) | undefined;
|
|
8
|
-
onChange?: ((event: React.MouseEvent<Element, MouseEvent> | React.KeyboardEvent<Element> | React.FocusEvent<Element, Element> | null, value: {} | {}[] | null) => void) | undefined;
|
|
9
|
-
renderValue?: ((option: import("@mui/joy").SelectOption<{}> | import("@mui/joy").SelectOption<{}>[] | null) => React.ReactNode) | undefined;
|
|
10
|
-
value?: {} | {}[] | null | undefined;
|
|
11
|
-
} & Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
12
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
|
|
13
|
-
}, "defaultValue" | "onChange" | "value" | "multiple" | keyof import("@mui/joy").SelectStaticProps | keyof import("@mui/joy").SelectSlotsAndSlotProps<Multiple> | "getSerializedValue" | "renderValue">>;
|
|
14
|
-
export { Select };
|
|
2
|
+
import { type SelectProps } from "@mui/joy";
|
|
3
|
+
import { type MotionProps } from "framer-motion";
|
|
15
4
|
declare const Option: import("framer-motion").CustomDomComponent<{
|
|
16
5
|
color?: import("@mui/types").OverridableStringUnion<import("@mui/joy").ColorPaletteProp, import("@mui/joy").OptionPropsColorOverrides> | undefined;
|
|
17
6
|
children?: React.ReactNode;
|
|
@@ -24,3 +13,12 @@ declare const Option: import("framer-motion").CustomDomComponent<{
|
|
|
24
13
|
ref?: ((instance: HTMLLIElement | null) => void) | React.RefObject<HTMLLIElement> | null | undefined;
|
|
25
14
|
}, "label" | "children" | "color" | "variant" | "sx" | "disabled" | "value" | keyof import("@mui/joy").OptionSlotsAndSlotProps>>;
|
|
26
15
|
export { Option };
|
|
16
|
+
declare function Select<OptionValue extends {}, Multiple extends boolean = false>(props: {
|
|
17
|
+
label?: string;
|
|
18
|
+
helperText?: string;
|
|
19
|
+
error?: boolean;
|
|
20
|
+
} & SelectProps<OptionValue, Multiple> & MotionProps): React.JSX.Element;
|
|
21
|
+
declare namespace Select {
|
|
22
|
+
var displayName: string;
|
|
23
|
+
}
|
|
24
|
+
export { Select };
|
|
@@ -8,5 +8,5 @@ declare const Stack: import("framer-motion").CustomDomComponent<{
|
|
|
8
8
|
sx?: import("@mui/joy/styles/types").SxProps | undefined;
|
|
9
9
|
} & import("@mui/joy").StackSlotsAndSlotProps & import("@mui/joy/styles/types").SystemProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
10
10
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
11
|
-
}, "children" | "direction" | "sx" | ("p" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint") | "
|
|
11
|
+
}, "children" | "direction" | "sx" | ("p" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint") | "divider" | "spacing" | "useFlexGap" | keyof import("@mui/joy").StackSlotsAndSlotProps>>;
|
|
12
12
|
export { Stack };
|
|
@@ -6,7 +6,7 @@ declare const Tabs: import("framer-motion").CustomDomComponent<Omit<import("@mui
|
|
|
6
6
|
variant?: import("@mui/types").OverridableStringUnion<import("@mui/joy").VariantProp, import("@mui/joy").TabsPropsVariantOverrides> | undefined;
|
|
7
7
|
} & import("@mui/joy").TabsSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
8
8
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
9
|
-
}, "children" | "color" | "direction" | "defaultValue" | "className" | "onChange" | "variant" | "sx" | "size" | "
|
|
9
|
+
}, "children" | "color" | "direction" | "defaultValue" | "className" | "onChange" | "variant" | "sx" | "size" | "orientation" | "value" | "selectionFollowsFocus" | keyof import("@mui/joy").TabsSlotsAndSlotProps>>;
|
|
10
10
|
export { Tabs };
|
|
11
11
|
declare const Tab: import("framer-motion").CustomDomComponent<{
|
|
12
12
|
action?: React.Ref<{
|
|
@@ -24,7 +24,7 @@ declare const Tab: import("framer-motion").CustomDomComponent<{
|
|
|
24
24
|
variant?: import("@mui/types").OverridableStringUnion<import("@mui/joy").VariantProp, import("@mui/joy").TabPropsVariantOverrides> | undefined;
|
|
25
25
|
} & import("@mui/joy").TabSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
26
26
|
ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
|
|
27
|
-
}, "color" | "onChange" | "variant" | "sx" | "disabled" | "
|
|
27
|
+
}, "color" | "onChange" | "variant" | "sx" | "disabled" | "orientation" | "value" | "action" | "disableIndicator" | "indicatorPlacement" | "indicatorInset" | keyof import("@mui/joy").TabSlotsAndSlotProps>>;
|
|
28
28
|
export { Tab };
|
|
29
29
|
declare const TabList: import("framer-motion").CustomDomComponent<{
|
|
30
30
|
color?: import("@mui/types").OverridableStringUnion<import("@mui/joy").ColorPaletteProp, import("@mui/joy").TabListPropsColorOverrides> | undefined;
|
|
@@ -2,7 +2,25 @@ import React from "react";
|
|
|
2
2
|
import { TextareaProps } from "@mui/joy";
|
|
3
3
|
import { MotionProps } from "framer-motion";
|
|
4
4
|
declare const Textarea: {
|
|
5
|
-
(props:
|
|
5
|
+
(props: {
|
|
6
|
+
label?: string | undefined;
|
|
7
|
+
error?: boolean | undefined;
|
|
8
|
+
helperText?: React.ReactNode;
|
|
9
|
+
} & {
|
|
10
|
+
component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
11
|
+
} & import("@mui/joy").TextareaSlotsAndSlotProps & Pick<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "defaultValue" | "autoFocus" | "id" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "onKeyUp" | "onClick" | "disabled" | "required" | "autoComplete" | "readOnly" | "value" | "name" | "placeholder"> & {
|
|
12
|
+
color?: import("@mui/types").OverridableStringUnion<import("@mui/joy").ColorPaletteProp, import("@mui/joy").TextareaPropsColorOverrides> | undefined;
|
|
13
|
+
endDecorator?: React.ReactNode;
|
|
14
|
+
error?: boolean | undefined;
|
|
15
|
+
maxRows?: string | number | undefined;
|
|
16
|
+
minRows?: string | number | undefined;
|
|
17
|
+
startDecorator?: React.ReactNode;
|
|
18
|
+
size?: import("@mui/types").OverridableStringUnion<"sm" | "md" | "lg", import("@mui/joy").TextareaPropsSizeOverrides> | undefined;
|
|
19
|
+
sx?: import("@mui/joy/styles/types").SxProps | undefined;
|
|
20
|
+
variant?: import("@mui/types").OverridableStringUnion<import("@mui/joy").VariantProp, import("@mui/joy").TextareaPropsVariantOverrides> | undefined;
|
|
21
|
+
} & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
22
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
23
|
+
}, "color" | "defaultValue" | "autoFocus" | "id" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "onKeyUp" | "onClick" | "variant" | "sx" | "disabled" | "size" | "error" | "required" | "autoComplete" | "readOnly" | "value" | "endDecorator" | "name" | "placeholder" | "startDecorator" | "component" | keyof import("@mui/joy").TextareaSlotsAndSlotProps | "maxRows" | "minRows"> & MotionProps): React.JSX.Element;
|
|
6
24
|
displayName: string;
|
|
7
25
|
};
|
|
8
26
|
export { Textarea };
|
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import { StyleOverrides, Theme } from "@mui/joy";
|
|
3
|
+
import { CalendarOwnerState, CalendarProps, CalendarSlot } from "../Calendar/types";
|
|
4
|
+
declare module "@mui/joy/styles" {
|
|
5
|
+
interface Components {
|
|
6
|
+
Calendar?: {
|
|
7
|
+
defaultProps?: Partial<CalendarProps>;
|
|
8
|
+
styleOverrides?: StyleOverrides<CalendarSlot, CalendarOwnerState, Theme>;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
}
|
|
2
12
|
declare function ThemeProvider(props: {
|
|
3
13
|
children?: React.ReactNode;
|
|
4
14
|
}): React.JSX.Element;
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
export { Accordion, AccordionDetails, Accordions, AccordionSummary } from
|
|
1
|
+
export { Accordion, AccordionDetails, Accordions, AccordionSummary, } from "./Accordions";
|
|
2
|
+
export { Autocomplete } from "./Autocomplete";
|
|
2
3
|
export { Box } from "./Box";
|
|
4
|
+
export { Breadcrumbs } from "./Breadcrumbs";
|
|
3
5
|
export { Button } from "./Button";
|
|
6
|
+
export { Calendar } from "./Calendar";
|
|
4
7
|
export { Checkbox } from "./Checkbox";
|
|
5
8
|
export { Container } from "./Container";
|
|
6
9
|
export { DataTable } from "./DataTable";
|
|
10
|
+
export { DatePicker } from "./DatePicker";
|
|
11
|
+
export { DateRangePicker } from "./DateRangePicker";
|
|
7
12
|
export { DialogActions } from "./DialogActions";
|
|
8
13
|
export { DialogContent } from "./DialogContent";
|
|
9
14
|
export { DialogTitle } from "./DialogTitle";
|
|
@@ -18,7 +23,8 @@ export { Grid } from "./Grid";
|
|
|
18
23
|
export { IconButton } from "./IconButton";
|
|
19
24
|
export { Input } from "./Input";
|
|
20
25
|
export { Menu, MenuButton, MenuItem } from "./Menu";
|
|
21
|
-
export { Modal, ModalClose, ModalDialog, ModalOverflow, ModalFrame } from "./Modal";
|
|
26
|
+
export { Modal, ModalClose, ModalDialog, ModalOverflow, ModalFrame, } from "./Modal";
|
|
27
|
+
export { MonthRangePicker } from "./MonthRangePicker";
|
|
22
28
|
export { Radio, RadioGroup } from "./Radio";
|
|
23
29
|
export { RadioList } from "./RadioList";
|
|
24
30
|
export { Select, Option } from "./Select";
|