@inceptionbg/iui 2.0.14 → 2.0.16

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.
Files changed (35) hide show
  1. package/dist/NoAccessPage-BmizYfw0.js +2 -0
  2. package/dist/{NoAccessPage-DBq5IzIf.js.map → NoAccessPage-BmizYfw0.js.map} +1 -1
  3. package/dist/NotFoundPage-Cv544vAr.js +2 -0
  4. package/dist/{NotFoundPage-DM-I96ar.js.map → NotFoundPage-Cv544vAr.js.map} +1 -1
  5. package/dist/index.d.ts +7 -4
  6. package/dist/index.js +1 -1
  7. package/dist/index.js.map +1 -1
  8. package/dist/iui.css +1 -1
  9. package/package.json +2 -3
  10. package/src/components/Dialog/Dialog.tsx +3 -3
  11. package/src/components/Dialog/components/DialogFooter.tsx +18 -16
  12. package/src/components/Header/Components/UserMenu.tsx +15 -14
  13. package/src/components/Inputs/TextInput.tsx +1 -0
  14. package/src/components/List/ListItem.tsx +1 -1
  15. package/src/components/Menu/Menu.tsx +3 -0
  16. package/src/components/Pullover/Pullover.tsx +22 -22
  17. package/src/components/Table/Table.tsx +18 -29
  18. package/src/components/Table/components/columns/ColumnsList.tsx +59 -0
  19. package/src/components/Table/components/columns/TableColumnsEdit.tsx +116 -0
  20. package/src/components/Table/components/edit/TableEditRow.tsx +13 -19
  21. package/src/components/Table/components/header/TableHeaderRow.tsx +1 -1
  22. package/src/components/Table/contexts/TableContext.tsx +1 -9
  23. package/src/components/Table/hooks/localHooks/useLocalTableColumns.tsx +21 -24
  24. package/src/components/Table/hooks/useTableColumns.ts +16 -8
  25. package/src/components/Tabs/Tabs.tsx +1 -0
  26. package/src/index.ts +1 -1
  27. package/src/styles/components/_badge.scss +1 -1
  28. package/src/styles/components/_header.scss +4 -7
  29. package/src/styles/components/_list.scss +1 -1
  30. package/src/styles/components/_table.scss +49 -38
  31. package/src/styles/variables/_variables.scss +9 -0
  32. package/src/types/IHeader.ts +1 -1
  33. package/src/types/ITable.ts +1 -0
  34. package/dist/NoAccessPage-DBq5IzIf.js +0 -2
  35. package/dist/NotFoundPage-DM-I96ar.js +0 -2
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ export { IconDefinition } from '@fortawesome/fontawesome-svg-core';
4
4
  export { default as clsx } from 'clsx';
5
5
  import dayjs from 'dayjs';
6
6
  export { default as dayjs } from 'dayjs';
7
- export { DragDropContext, Draggable, Droppable } from 'react-beautiful-dnd';
7
+ export { DragDropContext, Draggable, Droppable } from '@hello-pangea/dnd';
8
8
  import * as react_toastify from 'react-toastify';
9
9
  export { ToastContainer } from 'react-toastify';
10
10
  import * as react from 'react';
@@ -95,6 +95,7 @@ interface IPopupControl {
95
95
  }
96
96
 
97
97
  interface ITable<T = unknown> {
98
+ id?: string;
98
99
  columnData: ITableColumnsData;
99
100
  data: ITableDataItem[];
100
101
  dataActions?: ITableDataActions;
@@ -464,7 +465,7 @@ type IHeaderUserMenuProps = {
464
465
  userName?: string;
465
466
  organizationName?: string;
466
467
  menuItems: IMenuItem[];
467
- showBadge?: boolean;
468
+ inviteCount?: number;
468
469
  controls: {
469
470
  myAccountControl: IPopupControl;
470
471
  changeOrgControl: IPopupControl;
@@ -652,7 +653,7 @@ interface Props$e {
652
653
  declare const FastLinksWidget: FC<Props$e>;
653
654
 
654
655
  interface IDialogFooterActions {
655
- confirmButton: {
656
+ confirmButton?: {
656
657
  label?: string;
657
658
  icon?: IconDefinition;
658
659
  onClick?: () => void;
@@ -941,6 +942,7 @@ interface Props$8 {
941
942
  declare const ProgressBar: FC<Props$8>;
942
943
 
943
944
  interface Props$7 {
945
+ id?: string;
944
946
  isOpen: boolean;
945
947
  onClose: () => void;
946
948
  renderButton: (ref: RefObject<any>) => ReactNode;
@@ -1039,8 +1041,9 @@ declare const Table: FC<ITable>;
1039
1041
  interface ITableColumnsProps {
1040
1042
  defaultColumns: ITableColumn[];
1041
1043
  templateColumns?: ITableColumn[];
1044
+ enableEdit?: boolean;
1042
1045
  }
1043
- declare const useTableColumns: ({ defaultColumns, templateColumns, }: ITableColumnsProps) => ITableColumnsData;
1046
+ declare const useTableColumns: ({ defaultColumns, templateColumns, enableEdit, }: ITableColumnsProps) => ITableColumnsData;
1044
1047
 
1045
1048
  interface BaseItemProps$1<T> {
1046
1049
  id: keyof T;