master-components-react-ts 2.5.0 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/MainButton/MainButton.d.ts +2 -2
- package/dist/components/MainButton/MainButton.types.d.ts +1 -0
- package/dist/components/Table/Table.d.ts +1 -1
- package/dist/components/Table/Table.types.d.ts +2 -0
- package/dist/components/Table/mockDevExpressApi.d.ts +1 -0
- package/dist/index.js +1278 -1275
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MainButtonProps } from './MainButton.types';
|
|
2
2
|
declare const MainButton: {
|
|
3
|
-
({ label, size, leftSlot, rightSlot, buttonSlot, type, colorType, buttonType, withFocus, onlyIcon, customFocus, disabled, loading, spaceBetween, buttonStyle, mainButtonContentStyle, mainButtonLabelStyle, leftSlotStyle, rightSlotStyle, onClick, }: MainButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
propKeys: readonly ["label", "size", "leftSlot", "rightSlot", "buttonSlot", "type", "colorType", "buttonType", "withFocus", "onlyIcon", "customFocus", "disabled", "loading", "spaceBetween", "buttonStyle", "mainButtonContentStyle", "mainButtonLabelStyle", "leftSlotStyle", "rightSlotStyle", "onClick"];
|
|
3
|
+
({ label, size, leftSlot, rightSlot, buttonSlot, type, colorType, buttonType, withFocus, onlyIcon, customFocus, disabled, loading, spaceBetween, customLoader, buttonStyle, mainButtonContentStyle, mainButtonLabelStyle, leftSlotStyle, rightSlotStyle, onClick, }: MainButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
propKeys: readonly ["label", "size", "leftSlot", "rightSlot", "buttonSlot", "type", "colorType", "buttonType", "withFocus", "onlyIcon", "customFocus", "disabled", "loading", "spaceBetween", "customLoader", "buttonStyle", "mainButtonContentStyle", "mainButtonLabelStyle", "leftSlotStyle", "rightSlotStyle", "onClick"];
|
|
5
5
|
displayName: string;
|
|
6
6
|
description: string;
|
|
7
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TableProps } from './Table.types';
|
|
2
2
|
declare const Table: {
|
|
3
|
-
({ uniqueKey, columns, data, onRowClick, onHeaderClick, sort, selectedRows, onSelectionChange, withSelectAll, actionButtonText, actionButtonIcon, onActionButtonClick, actionButtons, withColumnConfiguration, headerSlot, onColumnOrderChange, onColumnVisibilityChange, withActions, currentPage, totalPages, onPageChange, showPagination, rowsPerPage, rowsPerPageOptions, onRowsPerPageChange, totalItems, startItem, endItem, onRowEdit, onRowDelete, rowActions, }: TableProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
({ uniqueKey, columns, data, onRowClick, onHeaderClick, sort, selectedRows, onSelectionChange, withSelectAll, actionButtonText, actionButtonIcon, onActionButtonClick, actionButtons, withColumnConfiguration, headerSlot, onColumnOrderChange, onColumnVisibilityChange, withActions, currentPage, totalPages, onPageChange, showPagination, rowsPerPage, rowsPerPageOptions, onRowsPerPageChange, totalItems, startItem, endItem, rowTooltipProps, onRowEdit, onRowDelete, rowActions, }: TableProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
propKeys: readonly ["uniqueKey", "columns", "data", "onRowClick", "onHeaderClick", "sort", "selectedRows", "onSelectionChange", "withSelectAll", "actionButtonText", "actionButtonIcon", "onActionButtonClick", "actionButtons", "withColumnConfiguration", "headerSlot", "onColumnOrderChange", "onColumnVisibilityChange", "currentPage", "totalPages", "onPageChange", "showPagination", "rowsPerPage", "rowsPerPageOptions", "onRowsPerPageChange", "totalItems", "startItem", "endItem", "onRowEdit", "onRowDelete", "rowActions"];
|
|
5
5
|
displayName: string;
|
|
6
6
|
description: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TooltipProps } from '../Tooltip/Tooltip.types';
|
|
1
2
|
export type ColumnType = {
|
|
2
3
|
key?: string;
|
|
3
4
|
label?: string;
|
|
@@ -51,6 +52,7 @@ export interface TableProps {
|
|
|
51
52
|
totalItems?: number;
|
|
52
53
|
startItem?: number;
|
|
53
54
|
endItem?: number;
|
|
55
|
+
rowTooltipProps?: TooltipProps;
|
|
54
56
|
onRowEdit?: (row: any, rowIndex: number) => void;
|
|
55
57
|
onRowDelete?: (row: any, rowIndex: number) => void;
|
|
56
58
|
rowActions?: RowActionType[];
|