@hybr1d-tech/charizard 0.7.31 → 0.7.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
@@ -1507,7 +1507,7 @@ declare interface LayoutTabsProps {
1507
1507
  onValueChange?: (value: string) => void;
1508
1508
  }
1509
1509
 
1510
- export declare function Loader({ containerStyle, loaderStyle, variant }: LoaderProps): JSX_2.Element;
1510
+ export declare function Loader({ containerStyle, loaderStyle, variant, size, }: LoaderProps): JSX_2.Element;
1511
1511
 
1512
1512
  export declare enum LOADER_VARIANT {
1513
1513
  RING = "ring",
@@ -1523,6 +1523,7 @@ export declare enum LOADER_VARIANT {
1523
1523
  export declare type LoaderProps = {
1524
1524
  containerStyle?: React_2.CSSProperties;
1525
1525
  loaderStyle?: React_2.CSSProperties;
1526
+ size?: number;
1526
1527
  variant?: LOADER_VARIANT;
1527
1528
  };
1528
1529
 
@@ -1769,9 +1770,6 @@ export declare function Popover({ children, placement, popoverProps, closeOnScro
1769
1770
 
1770
1771
  export declare function PopoverCloseButton({ children, api, styles, className }: PopoverCloseButtonProps): JSX_2.Element;
1771
1772
 
1772
- /**
1773
- * @author Pratik Awaik <pratik@hybr1d.io>
1774
- */
1775
1773
  declare interface PopoverCloseButtonProps {
1776
1774
  /**
1777
1775
  * The content of the close button.
@@ -1791,7 +1789,7 @@ declare interface PopoverCloseButtonProps {
1791
1789
  className?: string;
1792
1790
  }
1793
1791
 
1794
- export declare function PopoverContent({ children, api, bg, styles, className, positionerStyles, }: PopoverContentProps): JSX_2.Element;
1792
+ export declare function PopoverContent({ children, api, bg, styles, className, positionerStyles, showArrow, }: PopoverContentProps): JSX_2.Element;
1795
1793
 
1796
1794
  declare interface PopoverContentProps {
1797
1795
  /**
@@ -1818,13 +1816,11 @@ declare interface PopoverContentProps {
1818
1816
  * The styles to apply to Popover positioner
1819
1817
  */
1820
1818
  positionerStyles?: React_2.CSSProperties;
1819
+ showArrow?: boolean;
1821
1820
  }
1822
1821
 
1823
1822
  export declare function PopoverDescription({ children, api, styles, className }: PopoverDescriptionProps): JSX_2.Element;
1824
1823
 
1825
- /**
1826
- * @author Pratik Awaik <pratik@hybr1d.io>
1827
- */
1828
1824
  declare interface PopoverDescriptionProps {
1829
1825
  /**
1830
1826
  * The content of the PopoverDescription.
@@ -1844,7 +1840,7 @@ declare interface PopoverDescriptionProps {
1844
1840
  className?: string;
1845
1841
  }
1846
1842
 
1847
- declare type PopoverProps = {
1843
+ declare interface PopoverProps {
1848
1844
  /**
1849
1845
  * Content of the trigger
1850
1846
  */
@@ -1865,13 +1861,10 @@ declare type PopoverProps = {
1865
1861
  * when using closeOnScroll, its necessary to pass containerRef to track scroll movement of the container you want to close the popover with respect to.
1866
1862
  */
1867
1863
  containerRef?: React_2.RefObject<HTMLElement>;
1868
- };
1864
+ }
1869
1865
 
1870
1866
  export declare function PopoverTitle({ children, api, styles, className }: PopoverTitleProps): JSX_2.Element;
1871
1867
 
1872
- /**
1873
- * @author Pratik Awaik <pratik@hybr1d.io>
1874
- */
1875
1868
  declare interface PopoverTitleProps {
1876
1869
  /**
1877
1870
  * The content of the PopoverTitle.
@@ -1893,9 +1886,6 @@ declare interface PopoverTitleProps {
1893
1886
 
1894
1887
  export declare function PopoverTrigger({ children, api, openOnHover, styles, className, }: PopoverTriggerProps): JSX_2.Element;
1895
1888
 
1896
- /**
1897
- * @author Pratik Awaik <pratik@hybr1d.io>
1898
- */
1899
1889
  declare interface PopoverTriggerProps {
1900
1890
  /**
1901
1891
  * The content of the PopoverTrigger.
@@ -1984,7 +1974,7 @@ declare type ProgressProps = {
1984
1974
  onSkipClick?: () => void;
1985
1975
  };
1986
1976
 
1987
- export declare function RadioGroup({ items, radioHeading, defaultValue, onChange, required, errorMsg, optionsContainerStyles, disabled, showSkeleton, }: RadioGroupProps): JSX_2.Element;
1977
+ export declare function RadioGroup({ items, radioHeading, defaultValue, onChange, required, errorMsg, optionsContainerStyles, disabled, showSkeleton, handleClickManually, }: RadioGroupProps): JSX_2.Element;
1988
1978
 
1989
1979
  declare interface RadioGroupProps {
1990
1980
  /**
@@ -2027,6 +2017,7 @@ declare interface RadioGroupProps {
2027
2017
  optionsContainerStyles?: React_2.CSSProperties;
2028
2018
  disabled?: boolean;
2029
2019
  showSkeleton?: boolean;
2020
+ handleClickManually?: boolean;
2030
2021
  }
2031
2022
 
2032
2023
  export declare function Search({ id, search, setSearch, placeholder, clearIconClearFn, customStyles, disabled, }: SearchProps): JSX_2.Element;
@@ -2372,7 +2363,7 @@ declare type SwitchProps = {
2372
2363
 
2373
2364
  export declare const Tab: default_2.FC<TabProps>;
2374
2365
 
2375
- export declare function Table({ data, loaderConfig, columns, filterConfig, sortConfig, rowSelectionConfig, actionsConfig, searchConfig, totalText, selectorConfig, paginationConfig, emptyStateConfig, headerText, infiniteScrollConfig, }: TableProps): JSX_2.Element;
2366
+ export declare function Table({ data, loaderConfig, columns, filterConfig, sortConfig, rowSelectionConfig, actionsConfig, searchConfig, totalText, paginationConfig, emptyStateConfig, tableStyleConfig, customColumnConfig, exportConfig, }: TableProps): JSX_2.Element;
2376
2367
 
2377
2368
  declare type TableCustomColumns = {
2378
2369
  checked_state: Array<{
@@ -2396,13 +2387,9 @@ declare type TableFilters = {
2396
2387
  drawer?: FilterOptions_2[];
2397
2388
  };
2398
2389
 
2399
- export declare function TablePagination({ paginationConfig }: TablePaginationProps): JSX_2.Element | null;
2400
-
2401
- declare interface TablePaginationProps {
2402
- paginationConfig: TableV3Props['paginationConfig'];
2403
- }
2390
+ export declare function TableLegacy({ data, loaderConfig, columns, filterConfig, sortConfig, rowSelectionConfig, actionsConfig, searchConfig, totalText, selectorConfig, paginationConfig, emptyStateConfig, headerText, infiniteScrollConfig, }: TableLegacyProps): JSX_2.Element;
2404
2391
 
2405
- export declare interface TableProps {
2392
+ export declare interface TableLegacyProps {
2406
2393
  data: any;
2407
2394
  columns: any;
2408
2395
  /**
@@ -2514,17 +2501,13 @@ export declare interface TableProps {
2514
2501
  headerText?: string;
2515
2502
  }
2516
2503
 
2517
- export declare function TableUserCell({ user, onClick, showCopy }: TableUserCellProps): JSX.Element | null;
2504
+ export declare function TablePagination({ paginationConfig }: TablePaginationProps): JSX_2.Element | null;
2518
2505
 
2519
- declare interface TableUserCellProps {
2520
- user: any;
2521
- onClick: any;
2522
- showCopy?: boolean;
2506
+ declare interface TablePaginationProps {
2507
+ paginationConfig: TableProps['paginationConfig'];
2523
2508
  }
2524
2509
 
2525
- export declare function TableV3({ data, loaderConfig, columns, filterConfig, sortConfig, rowSelectionConfig, actionsConfig, searchConfig, totalText, paginationConfig, emptyStateConfig, tableStyleConfig, customColumnConfig, exportConfig, }: TableV3Props): JSX_2.Element;
2526
-
2527
- export declare interface TableV3Props {
2510
+ export declare interface TableProps {
2528
2511
  data: any;
2529
2512
  columns: any;
2530
2513
  /**
@@ -2640,6 +2623,14 @@ export declare interface TableV3Props {
2640
2623
  };
2641
2624
  }
2642
2625
 
2626
+ export declare function TableUserCell({ user, onClick, showCopy }: TableUserCellProps): JSX.Element | null;
2627
+
2628
+ declare interface TableUserCellProps {
2629
+ user: any;
2630
+ onClick: any;
2631
+ showCopy?: boolean;
2632
+ }
2633
+
2643
2634
  export declare interface TabProps {
2644
2635
  title: string;
2645
2636
  eventKey: string;
@@ -2875,7 +2866,7 @@ declare interface UploadProps {
2875
2866
  disabled?: boolean;
2876
2867
  getUploadDoc: (arg: any) => void;
2877
2868
  setIsUploading?: (arg: any) => void;
2878
- customComponent?: React_2.ReactChild;
2869
+ customComponent?: React_2.ReactNode;
2879
2870
  fileUploadLimit?: number;
2880
2871
  isMultiple?: boolean;
2881
2872
  singleFileClassName?: string;