asma-core-ui 1.9.5 → 1.9.7
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/Readme.md +2 -2
- package/dist/asma-core-ui.es.js +21 -21
- package/dist/src/components/custom/widget/widget-title/StyledWidgetTitle.d.ts +5 -2
- package/dist/src/components/data-display/badge/StyledBadge.d.ts +5 -1
- package/dist/src/components/data-display/chip/StyledChip.d.ts +4 -1
- package/dist/src/components/data-display/icons/delete-outline-icon/DeleteOutlineIcon.d.ts +3 -0
- package/dist/src/components/data-display/icons/delete-outline-icon/index.d.ts +1 -0
- package/dist/src/components/data-display/icons/drag-horizontal-icon/DragHorizontalIcon.d.ts +3 -0
- package/dist/src/components/data-display/icons/drag-horizontal-icon/index.d.ts +1 -0
- package/dist/src/components/data-display/icons/file-pdf-icon/FilePdfIcon.d.ts +3 -0
- package/dist/src/components/data-display/icons/file-pdf-icon/index.d.ts +1 -0
- package/dist/src/components/data-display/icons/index.d.ts +3 -0
- package/dist/src/components/data-display/tooltip/StyledTooltip.d.ts +4 -1
- package/dist/src/components/data-display/typography/StyledTypography.d.ts +4 -1
- package/dist/src/components/data-grid/StyledDataGrid.d.ts +1 -1
- package/dist/src/components/data-grid/StyledGridActionsCellItem.d.ts +3 -1
- package/dist/src/components/data-grid/types.d.ts +1 -0
- package/dist/src/components/feedback/alert/StyledAlert.d.ts +3 -1
- package/dist/src/components/feedback/alert/StyledAlertTitle.d.ts +3 -1
- package/dist/src/components/feedback/dialog/StyledDialog.d.ts +4 -2
- package/dist/src/components/feedback/dialog/StyledDialogActions.d.ts +3 -1
- package/dist/src/components/feedback/dialog/StyledDialogContent.d.ts +3 -1
- package/dist/src/components/feedback/dialog/StyledDialogTitle.d.ts +4 -1
- package/dist/src/components/feedback/snack-bar/StyledAlertSnackbar.d.ts +1 -0
- package/dist/src/components/feedback/snack-bar/StyledSnackbar.d.ts +3 -1
- package/dist/src/components/feedback/snack-bar/index.d.ts +1 -0
- package/dist/src/components/feedback/snack-bar/processInfoSnackbar.d.ts +1 -0
- package/dist/src/components/inputs/button/StyledButton.d.ts +2 -2
- package/dist/src/components/inputs/checkbox/StyledCheckbox.d.ts +3 -1
- package/dist/src/components/inputs/checkbox/StyledCheckbox.stories.d.ts +5 -1
- package/dist/src/components/inputs/date-picker/StyledCalendarPicker.d.ts +6 -0
- package/dist/src/components/inputs/date-picker/StyledDatePicker.d.ts +37 -0
- package/dist/src/components/inputs/date-picker/index.d.ts +1 -0
- package/dist/src/components/inputs/input/StyledInput.d.ts +4 -13
- package/dist/src/components/inputs/input-field/StyledInputField.d.ts +12 -0
- package/dist/src/components/inputs/input-field/index.d.ts +2 -0
- package/dist/src/components/inputs/radio-button/StyledRadio.d.ts +4 -0
- package/dist/src/components/inputs/radio-button/StyledRadioGroup.d.ts +4 -0
- package/dist/src/components/inputs/radio-button/index.d.ts +2 -0
- package/dist/src/components/inputs/rich-input/RichInput.d.ts +1 -0
- package/dist/src/components/inputs/select/StyledSelect.d.ts +11 -3
- package/dist/src/components/inputs/select/StyledSelectItem.d.ts +31 -1
- package/dist/src/components/inputs/select-autocomplete/StyledSelectAutocomplete.d.ts +11 -0
- package/dist/src/components/inputs/select-autocomplete/index.d.ts +1 -0
- package/dist/src/components/inputs/slider/StyledSlider.d.ts +4 -1
- package/dist/src/components/inputs/switch/StyledSwitch.d.ts +3 -1
- package/dist/src/components/inputs/textarea/StyledTextarea.d.ts +5 -3
- package/dist/src/components/inputs/time-picker/StyledTimePicker.d.ts +10 -0
- package/dist/src/components/inputs/time-picker/components/TimePickerBody.d.ts +7 -0
- package/dist/src/components/inputs/time-picker/components/TimePickerColumn.d.ts +8 -0
- package/dist/src/components/inputs/time-picker/index.d.ts +1 -0
- package/dist/src/components/layout/container/StyledContainer.d.ts +5 -0
- package/dist/src/components/layout/container/index.d.ts +1 -0
- package/dist/src/components/miscellaneous/StyledFormControl.d.ts +5 -1
- package/dist/src/components/miscellaneous/StyledFormControlLabel.d.ts +3 -1
- package/dist/src/components/miscellaneous/StyledFormGroup.d.ts +3 -1
- package/dist/src/components/miscellaneous/StyledFormHelperText.d.ts +4 -1
- package/dist/src/components/miscellaneous/StyledFormLabel.d.ts +6 -1
- package/dist/src/components/miscellaneous/StyledInputLabel.d.ts +4 -1
- package/dist/src/components/miscellaneous/StyledStack.d.ts +4 -1
- package/dist/src/components/navigation/drawer/StyledDrawer.d.ts +5 -0
- package/dist/src/components/navigation/drawer/index.d.ts +1 -0
- package/dist/src/components/navigation/link/StyledLink.d.ts +2 -2
- package/dist/src/components/navigation/menu/StyledMenu.d.ts +3 -1
- package/dist/src/components/navigation/menu/StyledMenuItem.d.ts +31 -1
- package/dist/src/components/navigation/menu/StyledMenuList.d.ts +20 -1
- package/dist/src/components/navigation/menu/index.d.ts +1 -0
- package/dist/src/components/navigation/tabs/StyledTab.d.ts +5 -0
- package/dist/src/components/navigation/tabs/StyledTabs.d.ts +6 -0
- package/dist/src/components/navigation/tabs/index.d.ts +2 -0
- package/dist/src/components/surfaces/accordion/StyledAccordion.d.ts +6 -1
- package/dist/src/components/surfaces/accordion/StyledAccordionDetails.d.ts +3 -1
- package/dist/src/components/surfaces/accordion/StyledAccordionSummary.d.ts +27 -1
- package/dist/src/components/table/StyledTable.d.ts +3 -26
- package/dist/src/components/table/components/columns/action-column/actionColumn.d.ts +19 -0
- package/dist/src/components/table/components/columns/action-column/components/HeaderActionMenu.d.ts +5 -0
- package/dist/src/components/table/components/columns/action-column/components/RowActionMenu.d.ts +12 -0
- package/dist/src/components/table/components/columns/widthStabilizer.d.ts +6 -0
- package/dist/src/components/table/index.d.ts +1 -0
- package/dist/src/components/table/types.d.ts +55 -2
- package/dist/src/components/utils/popover/StyledPopover.d.ts +3 -1
- package/dist/src/index.d.ts +7 -1
- package/dist/style.css +2 -2
- package/package.json +4 -1
- /package/dist/src/{components/table/useToggleMenuVisibility.d.ts → hooks/useToggleMenuVisibility.hook.d.ts} +0 -0
|
@@ -1,2 +1,32 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { type MenuItemProps } from '@mui/material';
|
|
2
|
-
export declare const StyledMenuItem: (props:
|
|
3
|
+
export declare const StyledMenuItem: ({ dataTest, ...props }: {
|
|
4
|
+
autoFocus?: boolean | undefined;
|
|
5
|
+
classes?: Partial<import("@mui/material").MenuItemClasses> | undefined;
|
|
6
|
+
dense?: boolean | undefined;
|
|
7
|
+
disabled?: boolean | undefined;
|
|
8
|
+
disableGutters?: boolean | undefined;
|
|
9
|
+
divider?: boolean | undefined;
|
|
10
|
+
selected?: boolean | undefined;
|
|
11
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
12
|
+
} & Omit<{
|
|
13
|
+
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
14
|
+
centerRipple?: boolean | undefined;
|
|
15
|
+
children?: import("react").ReactNode;
|
|
16
|
+
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
17
|
+
disabled?: boolean | undefined;
|
|
18
|
+
disableRipple?: boolean | undefined;
|
|
19
|
+
disableTouchRipple?: boolean | undefined;
|
|
20
|
+
focusRipple?: boolean | undefined;
|
|
21
|
+
focusVisibleClassName?: string | undefined;
|
|
22
|
+
LinkComponent?: import("react").ElementType<any> | undefined;
|
|
23
|
+
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
24
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
25
|
+
tabIndex?: number | undefined;
|
|
26
|
+
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
27
|
+
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
28
|
+
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
29
|
+
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
30
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "children" | "autoFocus" | "tabIndex" | "disabled" | "action" | "selected" | "dense" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableGutters" | "divider"> & {
|
|
31
|
+
dataTest?: string | undefined;
|
|
32
|
+
}) => JSX.Element;
|
|
@@ -1,2 +1,21 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { type MenuListProps } from '@mui/material';
|
|
2
|
-
export declare const StyledMenuList: (props:
|
|
3
|
+
export declare const StyledMenuList: ({ dataTest, ...props }: {
|
|
4
|
+
autoFocus?: boolean | undefined;
|
|
5
|
+
autoFocusItem?: boolean | undefined;
|
|
6
|
+
children?: import("react").ReactNode;
|
|
7
|
+
disabledItemsFocusable?: boolean | undefined;
|
|
8
|
+
disableListWrap?: boolean | undefined;
|
|
9
|
+
variant?: "menu" | "selectedMenu" | undefined;
|
|
10
|
+
} & {
|
|
11
|
+
children?: import("react").ReactNode;
|
|
12
|
+
classes?: Partial<import("@mui/material").ListClasses> | undefined;
|
|
13
|
+
dense?: boolean | undefined;
|
|
14
|
+
disablePadding?: boolean | undefined;
|
|
15
|
+
subheader?: import("react").ReactNode;
|
|
16
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
17
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & {
|
|
18
|
+
ref?: ((instance: HTMLUListElement | null) => void) | import("react").RefObject<HTMLUListElement> | null | undefined;
|
|
19
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "variant" | "children" | "autoFocus" | "dense" | "disabledItemsFocusable" | "disableListWrap" | "autoFocusItem" | "disablePadding" | "subheader"> & {
|
|
20
|
+
dataTest?: string | undefined;
|
|
21
|
+
}) => JSX.Element;
|
|
@@ -1,2 +1,7 @@
|
|
|
1
1
|
import { type AccordionProps } from '@mui/material';
|
|
2
|
-
export
|
|
2
|
+
export interface StyledAccordionProps extends AccordionProps {
|
|
3
|
+
dataTest?: string;
|
|
4
|
+
}
|
|
5
|
+
export declare const StyledAccordion: ({ dataTest, ...props }: StyledAccordionProps & {
|
|
6
|
+
dataTest?: string | undefined;
|
|
7
|
+
}) => JSX.Element;
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
import { type AccordionDetailsProps } from '@mui/material';
|
|
2
|
-
export declare const StyledAccordionDetails: (props: AccordionDetailsProps
|
|
2
|
+
export declare const StyledAccordionDetails: ({ dataTest, ...props }: AccordionDetailsProps & {
|
|
3
|
+
dataTest?: string | undefined;
|
|
4
|
+
}) => JSX.Element;
|
|
@@ -1,2 +1,28 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { type AccordionSummaryProps } from '@mui/material';
|
|
2
|
-
export declare const StyledAccordionSummary: (props:
|
|
3
|
+
export declare const StyledAccordionSummary: ({ dataTest, ...props }: {
|
|
4
|
+
children?: import("react").ReactNode;
|
|
5
|
+
classes?: Partial<import("@mui/material").AccordionSummaryClasses> | undefined;
|
|
6
|
+
expandIcon?: import("react").ReactNode;
|
|
7
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
8
|
+
} & Omit<{
|
|
9
|
+
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
10
|
+
centerRipple?: boolean | undefined;
|
|
11
|
+
children?: import("react").ReactNode;
|
|
12
|
+
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
13
|
+
disabled?: boolean | undefined;
|
|
14
|
+
disableRipple?: boolean | undefined;
|
|
15
|
+
disableTouchRipple?: boolean | undefined;
|
|
16
|
+
focusRipple?: boolean | undefined;
|
|
17
|
+
focusVisibleClassName?: string | undefined;
|
|
18
|
+
LinkComponent?: import("react").ElementType<any> | undefined;
|
|
19
|
+
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
20
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
21
|
+
tabIndex?: number | undefined;
|
|
22
|
+
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
23
|
+
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
24
|
+
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
25
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
26
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "children" | "tabIndex" | "disabled" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "expandIcon"> & {
|
|
27
|
+
dataTest?: string | undefined;
|
|
28
|
+
}) => JSX.Element;
|
|
@@ -1,28 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export interface StyledTableProps<TData, TCustomData> extends Omit<TableOptions<TData>, 'getCoreRowModel' | 'getExpandedRowModel' | 'getFilteredRowModel' | 'getSortedRowModel'> {
|
|
4
|
-
actions?: (row: Row<TData>) => {
|
|
5
|
-
label: string;
|
|
6
|
-
className?: string;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
hide?: boolean;
|
|
9
|
-
onClick?: (row: Row<TData>) => void;
|
|
10
|
-
}[];
|
|
11
|
-
customSubRowData?: Map<string, TCustomData[]>;
|
|
12
|
-
disableHeaderPin?: boolean;
|
|
13
|
-
loading?: boolean;
|
|
14
|
-
noRowsOverlay?: ReactElement;
|
|
15
|
-
tableInstanceRef?: React.MutableRefObject<Table<TData> | null>;
|
|
16
|
-
className?: string;
|
|
17
|
-
rowHeight?: number;
|
|
18
|
-
tdClassName?: string;
|
|
19
|
-
thClassName?: string;
|
|
20
|
-
getRowClassName?: (row: Row<TData>) => string;
|
|
21
|
-
onRowClick?: (e: MouseEvent<HTMLTableRowElement, globalThis.MouseEvent>, row: Row<TData>) => void;
|
|
22
|
-
renderSubRows?: (props: {
|
|
23
|
-
rows: TCustomData[];
|
|
24
|
-
}) => ReactElement;
|
|
25
|
-
}
|
|
1
|
+
import type { StyledTableProps } from './types';
|
|
2
|
+
export declare const SELECT_COLUMN_ID = "select";
|
|
26
3
|
export declare const StyledTable: <TData extends {
|
|
27
4
|
id: string | number;
|
|
28
|
-
}, TCustomData = Record<string, unknown>>({ actions, columns, data, customSubRowData, initialState, enableRowSelection,
|
|
5
|
+
}, TCustomData = Record<string, unknown>>({ actions, autoSize, columns, data, customSubRowData, initialState, enableRowSelection, headerPin, loading, noRowsOverlay, tableInstanceRef, className, rowHeight, tdClassName, thClassName, getRowClassName, onRowClick, renderSubRows, dataTest, ...rest }: StyledTableProps<TData, TCustomData>) => JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type CellContext, type HeaderContext, type Row } from '@tanstack/react-table';
|
|
2
|
+
export declare function generateActionsColumn<TData>(options: {
|
|
3
|
+
headerPin: boolean;
|
|
4
|
+
actions?: (row: Row<TData>) => {
|
|
5
|
+
label: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
hide?: boolean;
|
|
9
|
+
onClick?: (row: Row<TData>) => void;
|
|
10
|
+
}[];
|
|
11
|
+
}): {
|
|
12
|
+
id: string;
|
|
13
|
+
enableHiding: boolean;
|
|
14
|
+
enableSorting: boolean;
|
|
15
|
+
accessorFn: (row: TData) => TData;
|
|
16
|
+
header: (props: HeaderContext<TData, TData>) => JSX.Element | null;
|
|
17
|
+
cell: (row: CellContext<TData, TData>) => JSX.Element | null;
|
|
18
|
+
size: number;
|
|
19
|
+
};
|
package/dist/src/components/table/components/columns/action-column/components/RowActionMenu.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { CellContext, Row } from '@tanstack/react-table';
|
|
3
|
+
export declare function RowActionMenu<TData>({ tableData, actions, }: {
|
|
4
|
+
tableData: CellContext<TData, TData>;
|
|
5
|
+
actions: (row: Row<TData>) => {
|
|
6
|
+
label: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
hide?: boolean;
|
|
10
|
+
onClick?: (row: Row<TData>) => void;
|
|
11
|
+
}[];
|
|
12
|
+
}): JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { CellContext, ColumnMeta, HeaderContext, Row } from '@tanstack/react-table';
|
|
1
|
+
import type { CellContext, ColumnMeta, HeaderContext, Row, TableOptions, Table } from '@tanstack/react-table';
|
|
2
2
|
import type { AccessorFn, ColumnDefTemplate } from '@tanstack/react-table';
|
|
3
3
|
import type { ColumnPinningColumnDef, ColumnSizingColumnDef, FiltersColumnDef, GroupingColumnDef, RowData, SortingColumnDef, VisibilityColumnDef } from '@tanstack/react-table';
|
|
4
|
-
import type { MouseEvent } from 'react';
|
|
4
|
+
import type { MouseEvent, ReactElement } from 'react';
|
|
5
5
|
declare module '@tanstack/react-table' {
|
|
6
6
|
interface ColumnDefExtensions<TData extends RowData, TValue = unknown> extends VisibilityColumnDef, ColumnPinningColumnDef, FiltersColumnDef<TData>, SortingColumnDef<TData>, GroupingColumnDef<TData, TValue>, ColumnSizingColumnDef {
|
|
7
7
|
className?: string;
|
|
@@ -16,3 +16,56 @@ declare module '@tanstack/react-table' {
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
export type TableRowClickHandler<TData extends RowData> = (e: MouseEvent<HTMLTableRowElement, globalThis.MouseEvent>, row: Row<TData>) => void;
|
|
19
|
+
export interface StyledTableProps<TData, TCustomData> extends Omit<TableOptions<TData>, 'getCoreRowModel' | 'getExpandedRowModel' | 'getFilteredRowModel' | 'getSortedRowModel'> {
|
|
20
|
+
actions?: (row: Row<TData>) => {
|
|
21
|
+
label: string;
|
|
22
|
+
className?: string;
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
hide?: boolean;
|
|
25
|
+
onClick?: (row: Row<TData>) => void;
|
|
26
|
+
}[];
|
|
27
|
+
autoSize?: boolean;
|
|
28
|
+
customSubRowData?: Map<string, TCustomData[]>;
|
|
29
|
+
headerPin?: boolean;
|
|
30
|
+
loading?: boolean;
|
|
31
|
+
noRowsOverlay?: ReactElement;
|
|
32
|
+
tableInstanceRef?: React.MutableRefObject<Table<TData> | null>;
|
|
33
|
+
className?: string;
|
|
34
|
+
rowHeight?: number;
|
|
35
|
+
tdClassName?: string;
|
|
36
|
+
thClassName?: string;
|
|
37
|
+
getRowClassName?: (row: Row<TData>) => string;
|
|
38
|
+
onRowClick?: (e: MouseEvent<HTMLTableRowElement, globalThis.MouseEvent>, row: Row<TData>) => void;
|
|
39
|
+
renderSubRows?: (props: {
|
|
40
|
+
rows: TCustomData[];
|
|
41
|
+
row: TData;
|
|
42
|
+
}) => ReactElement;
|
|
43
|
+
getRowSelectionIds?: (ids: string[]) => void;
|
|
44
|
+
}
|
|
45
|
+
export interface StyledTableProps<TData, TCustomData> extends Omit<TableOptions<TData>, 'getCoreRowModel' | 'getExpandedRowModel' | 'getFilteredRowModel' | 'getSortedRowModel'> {
|
|
46
|
+
actions?: (row: Row<TData>) => {
|
|
47
|
+
label: string;
|
|
48
|
+
className?: string;
|
|
49
|
+
disabled?: boolean;
|
|
50
|
+
hide?: boolean;
|
|
51
|
+
onClick?: (row: Row<TData>) => void;
|
|
52
|
+
}[];
|
|
53
|
+
autoSize?: boolean;
|
|
54
|
+
customSubRowData?: Map<string, TCustomData[]>;
|
|
55
|
+
headerPin?: boolean;
|
|
56
|
+
loading?: boolean;
|
|
57
|
+
noRowsOverlay?: ReactElement;
|
|
58
|
+
tableInstanceRef?: React.MutableRefObject<Table<TData> | null>;
|
|
59
|
+
className?: string;
|
|
60
|
+
rowHeight?: number;
|
|
61
|
+
tdClassName?: string;
|
|
62
|
+
thClassName?: string;
|
|
63
|
+
getRowClassName?: (row: Row<TData>) => string;
|
|
64
|
+
onRowClick?: (e: MouseEvent<HTMLTableRowElement, globalThis.MouseEvent>, row: Row<TData>) => void;
|
|
65
|
+
renderSubRows?: (props: {
|
|
66
|
+
rows: TCustomData[];
|
|
67
|
+
row: TData;
|
|
68
|
+
}) => ReactElement;
|
|
69
|
+
getRowSelectionIds?: (ids: string[]) => void;
|
|
70
|
+
dataTest?: string;
|
|
71
|
+
}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -13,12 +13,15 @@ export * from './components/feedback/snack-bar';
|
|
|
13
13
|
export * from './components/inputs/button';
|
|
14
14
|
export * from './components/inputs/checkbox';
|
|
15
15
|
export * from './components/inputs/input';
|
|
16
|
-
export * from './components/inputs/input';
|
|
16
|
+
export * from './components/inputs/input-field';
|
|
17
17
|
export * from './components/inputs/textarea';
|
|
18
18
|
export * from './components/inputs/rich-input';
|
|
19
19
|
export * from './components/inputs/select';
|
|
20
|
+
export * from './components/inputs/select-autocomplete';
|
|
20
21
|
export * from './components/inputs/slider';
|
|
21
22
|
export * from './components/inputs/switch';
|
|
23
|
+
export * from './components/inputs/radio-button';
|
|
24
|
+
export * from './components/inputs/date-picker';
|
|
22
25
|
export * from './components/miscellaneous/StyledFormControl';
|
|
23
26
|
export * from './components/miscellaneous/StyledFormControlLabel';
|
|
24
27
|
export * from './components/miscellaneous/StyledFormHelperText';
|
|
@@ -26,8 +29,11 @@ export * from './components/miscellaneous/StyledFormLabel';
|
|
|
26
29
|
export * from './components/miscellaneous/StyledInputLabel';
|
|
27
30
|
export * from './components/miscellaneous/StyledStack';
|
|
28
31
|
export * from './components/miscellaneous/StyledFormGroup';
|
|
32
|
+
export * from './components/navigation/drawer';
|
|
29
33
|
export * from './components/navigation/menu';
|
|
30
34
|
export * from './components/navigation/link';
|
|
35
|
+
export * from './components/navigation/tabs';
|
|
36
|
+
export * from './components/layout/container';
|
|
31
37
|
export * from './components/surfaces/accordion';
|
|
32
38
|
export * from './components/table';
|
|
33
39
|
export * from './components/utils/popover';
|