@6thbridge/hexa 0.0.75 → 0.0.76

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.mts CHANGED
@@ -399,22 +399,20 @@ declare const Status: ({ status, variant, className, }: {
399
399
  className?: string;
400
400
  }) => react_jsx_runtime.JSX.Element;
401
401
 
402
- type PaginationProps = {
403
- currentPage?: number;
404
- totalPages?: number;
405
- onPageChange?: (page: number) => void;
406
- totalItems?: number;
407
- itemsPerPage?: number;
408
- id?: string;
402
+ type RowAction = {
403
+ icon: React__default.ReactNode;
404
+ label: React__default.ReactNode;
405
+ onClick: (rowIds: string[]) => void;
406
+ className?: string;
407
+ variant?: ButtonVariant;
408
+ disabled?: boolean;
409
+ showCount?: boolean;
410
+ };
411
+ type TableBulkRowActionsProps = {
412
+ tableBulkActions: RowAction[];
413
+ selectedRows: string[];
414
+ isMobile?: boolean;
409
415
  };
410
- /**
411
- * Pagination component for displaying pagination controls.
412
- * @param {number} currentPage - The current page number.
413
- * @param {number} totalPages - The total number of pages.
414
- * @param {function} onPageChange - Callback function to handle page change.
415
- * @param {number | undefined} itemsPerPage - The number of items per page.
416
- */
417
- declare const Pagination: ({ currentPage, totalPages, onPageChange, itemsPerPage, totalItems, id, }: PaginationProps) => react_jsx_runtime.JSX.Element;
418
416
 
419
417
  type SelectOption = {
420
418
  value: string;
@@ -447,20 +445,22 @@ type FilterContentProps = {
447
445
  };
448
446
  type FilterListOptions = FilterListItem[];
449
447
 
450
- type RowAction = {
451
- icon: React__default.ReactNode;
452
- label: React__default.ReactNode;
453
- onClick: (rowIds: string[]) => void;
454
- className?: string;
455
- variant?: ButtonVariant;
456
- disabled?: boolean;
457
- showCount?: boolean;
458
- };
459
- type TableBulkRowActionsProps = {
460
- tableBulkActions: RowAction[];
461
- selectedRows: string[];
462
- isMobile?: boolean;
448
+ type PaginationProps = {
449
+ currentPage?: number;
450
+ totalPages?: number;
451
+ onPageChange?: (page: number) => void;
452
+ totalItems?: number;
453
+ itemsPerPage?: number;
454
+ id?: string;
463
455
  };
456
+ /**
457
+ * Pagination component for displaying pagination controls.
458
+ * @param {number} currentPage - The current page number.
459
+ * @param {number} totalPages - The total number of pages.
460
+ * @param {function} onPageChange - Callback function to handle page change.
461
+ * @param {number | undefined} itemsPerPage - The number of items per page.
462
+ */
463
+ declare const Pagination: ({ currentPage, totalPages, onPageChange, itemsPerPage, totalItems, id, }: PaginationProps) => react_jsx_runtime.JSX.Element;
464
464
 
465
465
  type TableSearchProps = {
466
466
  enabled: boolean;
@@ -472,6 +472,7 @@ type TableDownloadProps = {
472
472
  buttonId?: string;
473
473
  onDownload?: () => void;
474
474
  buttonText?: string;
475
+ isDownloading?: boolean;
475
476
  };
476
477
  type TablePaginationProps = {
477
478
  enabled: boolean;
package/dist/index.d.ts CHANGED
@@ -399,22 +399,20 @@ declare const Status: ({ status, variant, className, }: {
399
399
  className?: string;
400
400
  }) => react_jsx_runtime.JSX.Element;
401
401
 
402
- type PaginationProps = {
403
- currentPage?: number;
404
- totalPages?: number;
405
- onPageChange?: (page: number) => void;
406
- totalItems?: number;
407
- itemsPerPage?: number;
408
- id?: string;
402
+ type RowAction = {
403
+ icon: React__default.ReactNode;
404
+ label: React__default.ReactNode;
405
+ onClick: (rowIds: string[]) => void;
406
+ className?: string;
407
+ variant?: ButtonVariant;
408
+ disabled?: boolean;
409
+ showCount?: boolean;
410
+ };
411
+ type TableBulkRowActionsProps = {
412
+ tableBulkActions: RowAction[];
413
+ selectedRows: string[];
414
+ isMobile?: boolean;
409
415
  };
410
- /**
411
- * Pagination component for displaying pagination controls.
412
- * @param {number} currentPage - The current page number.
413
- * @param {number} totalPages - The total number of pages.
414
- * @param {function} onPageChange - Callback function to handle page change.
415
- * @param {number | undefined} itemsPerPage - The number of items per page.
416
- */
417
- declare const Pagination: ({ currentPage, totalPages, onPageChange, itemsPerPage, totalItems, id, }: PaginationProps) => react_jsx_runtime.JSX.Element;
418
416
 
419
417
  type SelectOption = {
420
418
  value: string;
@@ -447,20 +445,22 @@ type FilterContentProps = {
447
445
  };
448
446
  type FilterListOptions = FilterListItem[];
449
447
 
450
- type RowAction = {
451
- icon: React__default.ReactNode;
452
- label: React__default.ReactNode;
453
- onClick: (rowIds: string[]) => void;
454
- className?: string;
455
- variant?: ButtonVariant;
456
- disabled?: boolean;
457
- showCount?: boolean;
458
- };
459
- type TableBulkRowActionsProps = {
460
- tableBulkActions: RowAction[];
461
- selectedRows: string[];
462
- isMobile?: boolean;
448
+ type PaginationProps = {
449
+ currentPage?: number;
450
+ totalPages?: number;
451
+ onPageChange?: (page: number) => void;
452
+ totalItems?: number;
453
+ itemsPerPage?: number;
454
+ id?: string;
463
455
  };
456
+ /**
457
+ * Pagination component for displaying pagination controls.
458
+ * @param {number} currentPage - The current page number.
459
+ * @param {number} totalPages - The total number of pages.
460
+ * @param {function} onPageChange - Callback function to handle page change.
461
+ * @param {number | undefined} itemsPerPage - The number of items per page.
462
+ */
463
+ declare const Pagination: ({ currentPage, totalPages, onPageChange, itemsPerPage, totalItems, id, }: PaginationProps) => react_jsx_runtime.JSX.Element;
464
464
 
465
465
  type TableSearchProps = {
466
466
  enabled: boolean;
@@ -472,6 +472,7 @@ type TableDownloadProps = {
472
472
  buttonId?: string;
473
473
  onDownload?: () => void;
474
474
  buttonText?: string;
475
+ isDownloading?: boolean;
475
476
  };
476
477
  type TablePaginationProps = {
477
478
  enabled: boolean;