@hybr1d-tech/charizard 0.7.13 → 0.7.15

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
@@ -654,18 +654,6 @@ declare interface EmptyStateProps {
654
654
  customSvgClassName?: string;
655
655
  }
656
656
 
657
- declare interface FileType {
658
- details: {
659
- ext: string;
660
- key: string;
661
- type: string;
662
- file_name: string;
663
- icon?: string;
664
- };
665
- doc_link: string;
666
- file_name: string;
667
- }
668
-
669
657
  /**
670
658
  * @param filters comes from an api, must follow the type definition strictly
671
659
  * @param isLoading is fetching from api
@@ -1432,29 +1420,21 @@ declare interface InputV2Props extends React.InputHTMLAttributes<HTMLInputElemen
1432
1420
 
1433
1421
  declare interface ITask {
1434
1422
  module_id: string;
1435
- module_reference: string;
1436
1423
  module_name: string;
1437
- form_link: string | null;
1438
- external_link: string | null;
1439
- static_module: boolean;
1424
+ module_reference: string;
1440
1425
  icon_url: string;
1426
+ static_module: boolean;
1427
+ external_link: any;
1428
+ form_link: string | null;
1441
1429
  name: string;
1442
1430
  date: string;
1443
- details: ITaskDetails[];
1431
+ details: Array<{
1432
+ key: string;
1433
+ value: any;
1434
+ }>;
1444
1435
  status: string;
1445
- }
1446
-
1447
- declare interface ITaskDetails {
1448
- key: string;
1449
- value: string | ITaskObjectValue | FileType[] | null;
1450
- }
1451
-
1452
- declare interface ITaskObjectValue {
1453
- first_name: string;
1454
- middle_name: string | null;
1455
- last_name: string | null;
1456
- profile_img_url: string;
1457
- work_email: string;
1436
+ type: string;
1437
+ task_details_id: string | null;
1458
1438
  }
1459
1439
 
1460
1440
  /**
@@ -2689,7 +2669,7 @@ declare interface TagProps {
2689
2669
  customStyles?: React.CSSProperties;
2690
2670
  }
2691
2671
 
2692
- export declare function TaskCards({ headers, data, isLoading, isError, emptyText, menuItems, paginationConfig, }: TaskCardsProps): JSX_2.Element;
2672
+ export declare function TaskCards({ headers, data, isLoading, isError, emptyText, paginationConfig, }: TaskCardsProps): JSX_2.Element;
2693
2673
 
2694
2674
  export declare interface TaskCardsProps {
2695
2675
  headers: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hybr1d-tech/charizard",
3
- "version": "0.7.13",
3
+ "version": "0.7.15",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"