master-components-react-ts 2.4.22 → 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/DropdownPill/DropdownPill.d.ts +8 -0
- package/dist/components/DropdownPill/DropdownPill.types.d.ts +11 -0
- 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.d.ts +1 -0
- package/dist/index.js +1493 -1447
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DropdownPillProps } from './DropdownPill.types';
|
|
2
|
+
declare const DropdownPill: {
|
|
3
|
+
({ text, dropdownSlot, leftSlot, rightSlot, selected, selectedType, dropdownPillStyle, dropdownPillTextStyle, onClick, }: DropdownPillProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
propKeys: readonly ["text", "dropdownSlot", "leftSlot", "rightSlot", "selected", "selectedType", "dropdownPillStyle", "dropdownPillTextStyle", "onClick"];
|
|
5
|
+
displayName: string;
|
|
6
|
+
description: string;
|
|
7
|
+
};
|
|
8
|
+
export default DropdownPill;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface DropdownPillProps {
|
|
2
|
+
text: string;
|
|
3
|
+
dropdownSlot?: React.ReactNode;
|
|
4
|
+
leftSlot?: React.ReactNode;
|
|
5
|
+
rightSlot?: React.ReactNode;
|
|
6
|
+
selected?: boolean;
|
|
7
|
+
selectedType?: 'default' | 'alt';
|
|
8
|
+
dropdownPillStyle?: React.CSSProperties;
|
|
9
|
+
dropdownPillTextStyle?: React.CSSProperties;
|
|
10
|
+
onClick?: () => void;
|
|
11
|
+
}
|
|
@@ -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[];
|
package/dist/index.d.ts
CHANGED
|
@@ -26,3 +26,4 @@ export type { FilterOptionsTypes } from './components/FilterWithTags/FilterWithT
|
|
|
26
26
|
export { default as Table } from './components/Table/Table';
|
|
27
27
|
export type { ColumnType, SortType, RowActionType, ActionButtonType } from './components/Table/Table.types';
|
|
28
28
|
export { default as FileUploader } from './components/FileUploader/FileUploader';
|
|
29
|
+
export { default as DropdownPill } from './components/DropdownPill/DropdownPill';
|