@inceptionbg/iui 2.0.55 → 2.0.56

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
@@ -324,8 +324,17 @@ type ITableDataAction = {
324
324
  hasAccess: boolean;
325
325
  disabled?: boolean;
326
326
  };
327
+ type ITableDataIconAction = {
328
+ id: string;
329
+ icon: IconDefinition;
330
+ onClick: () => void;
331
+ tooltip?: string;
332
+ hasAccess: boolean;
333
+ disabled?: boolean;
334
+ };
327
335
  interface ITableDataActions<T = unknown> {
328
336
  hasEditAccess?: boolean;
337
+ additionalIconActions?: (item: T) => ITableDataIconAction[];
329
338
  actions?: (item: T) => ITableDataAction[];
330
339
  }
331
340
  interface ITableFilterData {
@@ -573,7 +582,7 @@ interface CreatableSelectProps extends BaseSelectProps {
573
582
  interface ITab {
574
583
  value: string;
575
584
  label: string;
576
- icon?: any;
585
+ icon?: IconDefinition;
577
586
  component: ReactNode;
578
587
  disabled?: boolean;
579
588
  hidden?: boolean;
@@ -1305,7 +1314,7 @@ declare const PageLayout: FC<IPageLayoutProps>;
1305
1314
  declare const useIsMenuOpen: () => {
1306
1315
  isOpen: boolean;
1307
1316
  onOpen: () => void;
1308
- onClose: () => NodeJS.Timeout;
1317
+ onClose: () => number;
1309
1318
  };
1310
1319
 
1311
1320
  declare const useOnEsc: (onEsc: () => void, disabled?: boolean) => void;