@devtron-labs/devtron-fe-common-lib 0.0.65-beta-5 → 0.0.66
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/Common/Constants.d.ts +0 -8
- package/dist/Common/Types.d.ts +3 -0
- package/dist/Pages/GlobalConfigurations/Authorization/index.d.ts +1 -2
- package/dist/Pages/GlobalConfigurations/Authorization/types.d.ts +0 -18
- package/dist/Pages/GlobalConfigurations/BuildInfra/utils.d.ts +0 -2
- package/dist/Shared/Components/ReactSelect/utils.d.ts +0 -3
- package/dist/Shared/Components/index.d.ts +0 -1
- package/dist/assets/index.css +1 -1
- package/dist/index.js +4522 -4646
- package/package.json +1 -1
- package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupsTable.component.d.ts +0 -3
- package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/index.d.ts +0 -1
- package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/types.d.ts +0 -27
- package/dist/Pages/GlobalConfigurations/Authorization/shared/components/index.d.ts +0 -1
- package/dist/Pages/GlobalConfigurations/Authorization/shared/index.d.ts +0 -1
- package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +0 -3
- package/dist/Shared/Components/GenericSectionErrorState/index.d.ts +0 -1
- package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +0 -4
package/package.json
CHANGED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { UserRoleGroupsTableProps } from './types';
|
|
2
|
-
declare const UserRoleGroupsTable: ({ roleGroups, showStatus, handleDelete, statusComponent: StatusComponent, statusHeaderComponent: StatusHeaderComponent, handleStatusUpdate, disableStatusComponent, }: UserRoleGroupsTableProps) => JSX.Element;
|
|
3
|
-
export default UserRoleGroupsTable;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as UserRoleGroupsTable } from './UserRoleGroupsTable.component';
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { UserRoleGroup } from '../../../types';
|
|
3
|
-
export type UserRoleGroupsTableProps = {
|
|
4
|
-
roleGroups: UserRoleGroup[];
|
|
5
|
-
showStatus?: boolean;
|
|
6
|
-
/**
|
|
7
|
-
* Delete button is shown only if handleDelete is passed
|
|
8
|
-
*/
|
|
9
|
-
handleDelete?: (id: number) => void;
|
|
10
|
-
} & ({
|
|
11
|
-
showStatus?: false;
|
|
12
|
-
statusComponent?: never;
|
|
13
|
-
statusHeaderComponent?: never;
|
|
14
|
-
handleStatusUpdate?: never;
|
|
15
|
-
disableStatusComponent?: never;
|
|
16
|
-
} | {
|
|
17
|
-
/**
|
|
18
|
-
* Component for rendering the status
|
|
19
|
-
*/
|
|
20
|
-
statusComponent: FC<Record<string, any>>;
|
|
21
|
-
/**
|
|
22
|
-
* Component for rendering the status header
|
|
23
|
-
*/
|
|
24
|
-
statusHeaderComponent: FC;
|
|
25
|
-
handleStatusUpdate: (id: UserRoleGroup['id'], updatedStatus: UserRoleGroup['status'], updatedTimeToLive: UserRoleGroup['timeToLive']) => void;
|
|
26
|
-
disableStatusComponent?: boolean;
|
|
27
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './UserRoleGroupsTable';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './components';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as GenericSectionErrorState } from './GenericSectionErrorState.component';
|