1mpacto-react-ui 0.0.69 → 0.0.71

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.
@@ -4,5 +4,5 @@ import { ITable, IVirtualizationHead, IVirtualizationTable, ITableConfig } from
4
4
  export declare const ConfigTable: () => ITableConfig;
5
5
  export declare const VirtualizationHead: React.ForwardRefExoticComponent<Omit<IVirtualizationHead, "ref"> & React.RefAttributes<HTMLTableSectionElement>>;
6
6
  export declare const VirtualizationTable: ({ style, context, ...props }: IVirtualizationTable) => import("react/jsx-runtime").JSX.Element;
7
- declare const Table: <T>({ tableInstance, classNameWrapperTable, classNameTable, collapseAll, handlerRowClick, privillageRowClick, virtualization, virtualizationProps, headerId, tbodyTrId, maxHeight, idCalculateHeight, kind, componentSortASC, componentSortDESC, scrollTop, }: ITable<T>) => import("react/jsx-runtime").JSX.Element;
7
+ declare const Table: <T>({ tableInstance, classNameWrapperTable, classNameTable, collapseAll, handlerRowClick, privillageRowClick, virtualization, virtualizationProps, headerId, tbodyTrId, maxHeight, idCalculateHeight, kind, componentSortASC, componentSortDESC, scrollTop, emptyPlaceholder, }: ITable<T>) => import("react/jsx-runtime").JSX.Element;
8
8
  export default Table;
@@ -1,4 +1,4 @@
1
1
  import { ITabs } from '../../interfaces/components/Tabs';
2
2
 
3
- declare const Tabs: ({ id, value, keyValueTab, tabsList, className, classNameContainer, classNameButton, variant, size, borderRadius, disabled, onChange, }: ITabs) => import("react/jsx-runtime").JSX.Element;
3
+ declare const Tabs: ({ id, value, keyValueTab, tabsList, className, classNameContainer, classNameButton, variant, size, borderRadius, disabled, animation, onChange, }: ITabs) => import("react/jsx-runtime").JSX.Element;
4
4
  export default Tabs;
@@ -3,10 +3,12 @@ declare const useCountdown: (options: {
3
3
  intervalMs: number;
4
4
  running: boolean;
5
5
  adjustTimesTime?: number;
6
+ callbackDone?: () => void;
6
7
  }) => {
7
8
  count: number;
8
9
  startCountdown: () => void;
9
10
  stopCountdown: () => void;
10
- resetCountdown: () => void;
11
+ resetCountdown: (value?: Date | number) => void;
12
+ setCallbackDone: (val: () => void) => void;
11
13
  };
12
14
  export default useCountdown;
@@ -20,6 +20,7 @@ export interface ITable<T = unknown> {
20
20
  componentSortASC?: Element | React.ReactNode | React.ReactNode[];
21
21
  componentSortDESC?: Element | React.ReactNode | React.ReactNode[];
22
22
  scrollTop?: boolean;
23
+ emptyPlaceholder?: Element | React.ReactNode | React.ReactNode[];
23
24
  }
24
25
  export interface INonVirtualization<T = unknown> {
25
26
  tableInstance: ITableTanstack<T>;
@@ -34,6 +35,7 @@ export interface INonVirtualization<T = unknown> {
34
35
  componentSortASC: Element | React.ReactNode | React.ReactNode[];
35
36
  componentSortDESC: Element | React.ReactNode | React.ReactNode[];
36
37
  classNamePointer: string;
38
+ emptyPlaceholder?: Element | React.ReactNode | React.ReactNode[];
37
39
  }
38
40
  export interface IVirtualizationProps extends Omit<ITableVirtualization, 'typeHight' | 'itemContent' | 'fixedHeaderContent'> {
39
41
  typeHight?: 'min-max' | 'container';
@@ -52,6 +54,7 @@ export interface IVirtualization<T = unknown> {
52
54
  componentSortASC: Element | React.ReactNode | React.ReactNode[];
53
55
  componentSortDESC: Element | React.ReactNode | React.ReactNode[];
54
56
  classNamePointer: string;
57
+ emptyPlaceholder?: Element | React.ReactNode | React.ReactNode[];
55
58
  }
56
59
  export interface IVirtualizationHead extends React.HTMLAttributes<HTMLTableSectionElement> {
57
60
  context?: {
@@ -20,6 +20,7 @@ export interface ITabs {
20
20
  size?: TSizeTabs;
21
21
  borderRadius?: IBorderRadius;
22
22
  disabled?: boolean;
23
+ animation?: boolean;
23
24
  onChange?: (v: ITabsList) => void;
24
25
  }
25
26
  export interface IStyleTabs {
@@ -5,4 +5,6 @@ export interface ITruncateComponent extends React.HTMLAttributes<HTMLDivElement>
5
5
  moreElement: (count: number) => React.ReactNode | (() => React.ReactNode[]);
6
6
  style?: React.CSSProperties;
7
7
  className?: string;
8
+ gap?: number;
9
+ gapStyle?: string;
8
10
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "1mpacto-react-ui",
3
3
  "private": false,
4
- "version": "0.0.69",
4
+ "version": "0.0.71",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "copy:toastify-css": "cp ./node_modules/react-toastify/dist/ReactToastify.css ./dist/assets/toast.css",