@inceptionbg/iui 2.0.15 → 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.
- package/dist/NoAccessPage-BmizYfw0.js +2 -0
- package/dist/{NoAccessPage-DBq5IzIf.js.map → NoAccessPage-BmizYfw0.js.map} +1 -1
- package/dist/NotFoundPage-Cv544vAr.js +2 -0
- package/dist/{NotFoundPage-DM-I96ar.js.map → NotFoundPage-Cv544vAr.js.map} +1 -1
- package/dist/index.d.ts +6 -3
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/iui.css +1 -1
- package/package.json +2 -3
- package/src/components/Dialog/Dialog.tsx +3 -3
- package/src/components/Header/Components/UserMenu.tsx +15 -14
- package/src/components/Inputs/TextInput.tsx +1 -0
- package/src/components/List/ListItem.tsx +1 -1
- package/src/components/Menu/Menu.tsx +3 -0
- package/src/components/Pullover/Pullover.tsx +26 -32
- package/src/components/Table/Table.tsx +18 -29
- package/src/components/Table/components/columns/ColumnsList.tsx +59 -0
- package/src/components/Table/components/columns/TableColumnsEdit.tsx +116 -0
- package/src/components/Table/components/edit/TableEditRow.tsx +13 -19
- package/src/components/Table/components/header/TableHeaderRow.tsx +1 -1
- package/src/components/Table/contexts/TableContext.tsx +1 -9
- package/src/components/Table/hooks/localHooks/useLocalTableColumns.tsx +21 -24
- package/src/components/Table/hooks/useTableColumns.ts +16 -8
- package/src/components/Tabs/Tabs.tsx +1 -0
- package/src/index.ts +1 -1
- package/src/styles/components/_badge.scss +1 -1
- package/src/styles/components/_header.scss +4 -7
- package/src/styles/components/_list.scss +1 -1
- package/src/styles/components/_table.scss +49 -38
- package/src/styles/variables/_variables.scss +9 -0
- package/src/types/IHeader.ts +1 -1
- package/src/types/ITable.ts +1 -0
- package/dist/NoAccessPage-DBq5IzIf.js +0 -2
- 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 '
|
|
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
|
-
|
|
468
|
+
inviteCount?: number;
|
|
468
469
|
controls: {
|
|
469
470
|
myAccountControl: IPopupControl;
|
|
470
471
|
changeOrgControl: IPopupControl;
|
|
@@ -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;
|