pillardash-ui-react 0.1.31 → 0.1.33

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/index.d.ts CHANGED
@@ -193,6 +193,7 @@ interface ConfirmationPopupProps {
193
193
  overlayClassName?: string;
194
194
  maxWidth?: "sm" | "md" | "lg";
195
195
  }
196
+ declare const ConfirmationAlert: React$1.FC<ConfirmationPopupProps>;
196
197
 
197
198
  type ModalSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'full';
198
199
  type ModalPosition = 'left' | 'right' | 'center';
@@ -231,6 +232,7 @@ interface TableProps<T> {
231
232
  onPageChange?: (page: number) => void;
232
233
  loading?: boolean;
233
234
  showPagination?: boolean;
235
+ onRowClick?: (item: T) => void;
234
236
  }
235
237
  interface Column<T> {
236
238
  title: string;
@@ -259,7 +261,7 @@ type TableDropdownProps = {
259
261
  dropdownClassName?: string;
260
262
  };
261
263
 
262
- declare function Table<T>({ data, columns, itemsPerPage, onViewChange, totalItems, currentPage, onPageChange, loading, showPagination, }: TableProps<T>): react_jsx_runtime.JSX.Element;
264
+ declare function Table<T>({ data, columns, itemsPerPage, onViewChange, totalItems, currentPage, onPageChange, loading, showPagination, onRowClick, }: TableProps<T>): react_jsx_runtime.JSX.Element;
263
265
 
264
266
  declare function Pagination({ currentPage, totalPages, totalItems, itemsPerPage, onPageChange, onViewChange, loading, }: PaginationProps): react_jsx_runtime.JSX.Element;
265
267
 
@@ -386,5 +388,5 @@ declare const SKELETON_PATTERNS: {
386
388
  };
387
389
  };
388
390
 
389
- export { AlertContext, AlertProvider, Button, Card, CheckBox, EmptyStateCard, ExportButton, ExportFormatEnum, FileUpload, Input, Modal, ModalExample, Pagination, SKELETON_LOADER_VERSION, SKELETON_PATTERNS, SKELETON_PRESETS, Search, Select, SelectButton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonImage, SkeletonList, SkeletonLoader, SkeletonLoaderExample, SkeletonProfile, SkeletonTable, SkeletonText, Table, TableDropdown, TableSkeleton, TextEditor, alert, useAlert };
391
+ export { AlertContext, AlertProvider, Button, Card, CheckBox, ConfirmationAlert, EmptyStateCard, ExportButton, ExportFormatEnum, FileUpload, Input, Modal, ModalExample, Pagination, SKELETON_LOADER_VERSION, SKELETON_PATTERNS, SKELETON_PRESETS, Search, Select, SelectButton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonImage, SkeletonList, SkeletonLoader, SkeletonLoaderExample, SkeletonProfile, SkeletonTable, SkeletonText, Table, TableDropdown, TableSkeleton, TextEditor, alert, useAlert };
390
392
  export type { AlertContextProps, AlertItem, AlertProps, AlertType, ButtonProps, CheckBoxProps, Column, ConfirmationPopupProps, ConfirmationType, EmptyStateProps, FileUploadProps, InputProps, ModalProps, PaginationProps, SearchProps, SelectButtonOption, SelectButtonProps, SelectOption, SelectProps, SkeletonAnimation, SkeletonLoaderModule, SkeletonLoaderProps, SkeletonSize, SkeletonVariant, TableDropdownProps, TableProps, TextEditorProps };