pillardash-ui-react 0.1.91 → 0.1.93

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
@@ -1,5 +1,6 @@
1
1
  import React$1, { FC, ReactNode, InputHTMLAttributes, TextareaHTMLAttributes } from 'react';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
+ import { LucideIcon } from 'lucide-react';
3
4
 
4
5
  interface ButtonProps {
5
6
  /** The content of the button */
@@ -136,6 +137,7 @@ interface FileUploadProps {
136
137
  showProgress?: boolean;
137
138
  className?: string;
138
139
  id?: string;
140
+ replaceMode?: boolean;
139
141
  }
140
142
  declare const FileUpload: React$1.FC<FileUploadProps>;
141
143
 
@@ -383,6 +385,7 @@ interface TableProps<T> {
383
385
  showPagination?: boolean;
384
386
  onRowClick?: (item: T) => void;
385
387
  useCardLayout?: boolean;
388
+ emptyState?: ReactNode;
386
389
  }
387
390
  interface Column<T> {
388
391
  title: ReactNode;
@@ -402,7 +405,7 @@ type TableDropdownProps = {
402
405
  actions: {
403
406
  label: string;
404
407
  onClick: () => void;
405
- icon?: React$1.ReactNode;
408
+ icon?: React$1.ReactNode | LucideIcon;
406
409
  disabled?: boolean;
407
410
  variant?: "default" | "danger";
408
411
  }[];
@@ -411,7 +414,7 @@ type TableDropdownProps = {
411
414
  dropdownClassName?: string;
412
415
  };
413
416
 
414
- declare function Table<T>({ data, columns, itemsPerPage, onViewChange, totalItems, currentPage, onPageChange, loading, showPagination, onRowClick, useCardLayout, }: TableProps<T>): react_jsx_runtime.JSX.Element;
417
+ declare function Table<T>({ data, columns, itemsPerPage, onViewChange, totalItems, currentPage, onPageChange, loading, showPagination, onRowClick, useCardLayout, emptyState, }: TableProps<T>): react_jsx_runtime.JSX.Element;
415
418
 
416
419
  declare function Pagination({ currentPage, totalPages, totalItems, itemsPerPage, onPageChange, onViewChange, loading, }: PaginationProps): react_jsx_runtime.JSX.Element;
417
420