master-components-react-ts 2.8.9 → 2.9.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/dist/assets/Icons/IconChevron.d.ts +7 -0
- package/dist/assets/Icons/IconPlus.d.ts +1 -0
- package/dist/components/ColourPicker/ColourPicker.d.ts +8 -0
- package/dist/components/ColourPicker/ColourPicker.types.d.ts +14 -0
- package/dist/components/Table/Table.d.ts +1 -1
- package/dist/components/Table/Table.types.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3081 -2453
- package/package.json +1 -1
|
@@ -2,5 +2,6 @@ interface IconAddPlusProps {
|
|
|
2
2
|
size?: string;
|
|
3
3
|
color?: string;
|
|
4
4
|
}
|
|
5
|
+
export declare const IconPlus: ({ color }: IconAddPlusProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
export declare const IconAddPlus: ({ size, color }: IconAddPlusProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ColourPickerProps } from './ColourPicker.types';
|
|
2
|
+
declare const ColourPicker: {
|
|
3
|
+
({ value, onChange, savedColours, defaultSavedColours, onSavedColoursChange, maxSaveColors, disabled, triggerSlot, defaultOpen, open, onOpenChange, }: ColourPickerProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
propKeys: readonly ["value", "onChange", "savedColours", "defaultSavedColours", "onSavedColoursChange", "maxSaveColors", "disabled", "triggerSlot", "defaultOpen", "open", "onOpenChange"];
|
|
5
|
+
displayName: string;
|
|
6
|
+
description: string;
|
|
7
|
+
};
|
|
8
|
+
export default ColourPicker;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface ColourPickerProps {
|
|
3
|
+
value: string;
|
|
4
|
+
onChange: (value: string) => void;
|
|
5
|
+
savedColours?: string[];
|
|
6
|
+
defaultSavedColours?: string[];
|
|
7
|
+
onSavedColoursChange?: (colours: string[]) => void;
|
|
8
|
+
maxSaveColors?: number;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
triggerSlot?: ReactNode;
|
|
11
|
+
defaultOpen?: boolean;
|
|
12
|
+
open?: boolean;
|
|
13
|
+
onOpenChange?: (open: boolean) => void;
|
|
14
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TableProps } from './Table.types';
|
|
2
2
|
declare const Table: {
|
|
3
|
-
({ uniqueKey, columns, data, onRowClick, onHeaderClick, withSortIcons, sort, selectedRows, onSelectionChange, withSelectAll, actionButtonText, actionButtonIcon, onActionButtonClick, actionButtons, withColumnConfiguration, headerSlot, onColumnOrderChange, onColumnVisibilityChange, withActions, currentPage, totalPages, onPageChange, showPagination, paginationType, maxVisiblePages, rowsPerPage, rowsPerPageOptions, onRowsPerPageChange, totalItems, startItem, endItem, onRowEdit, onRowDelete, rowActions, paginationFooterStyle, }: TableProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
({ uniqueKey, columns, data, onRowClick, onHeaderClick, withSortIcons, sort, selectedRows, onSelectionChange, withSelectAll, actionButtonText, actionButtonIcon, onActionButtonClick, actionButtons, withColumnConfiguration, headerSlot, onColumnOrderChange, onColumnVisibilityChange, withActions, currentPage, totalPages, onPageChange, showPagination, paginationType, maxVisiblePages, rowsPerPage, rowsPerPageOptions, onRowsPerPageChange, totalItems, startItem, endItem, onRowEdit, onRowDelete, rowActions, childrenKey, paginationFooterStyle, }: 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;
|
package/dist/index.d.ts
CHANGED
|
@@ -27,3 +27,4 @@ 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
29
|
export { default as DropdownPill } from './components/DropdownPill/DropdownPill';
|
|
30
|
+
export { default as ColourPicker } from './components/ColourPicker/ColourPicker';
|