@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtron-labs/devtron-fe-common-lib",
3
- "version": "0.0.65-beta-5",
3
+ "version": "0.0.66",
4
4
  "description": "Supporting common component library",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -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,3 +0,0 @@
1
- import { GenericSectionErrorStateProps } from './types';
2
- declare const GenericSectionErrorState: ({ reload, withBorder }: GenericSectionErrorStateProps) => JSX.Element;
3
- export default GenericSectionErrorState;
@@ -1 +0,0 @@
1
- export { default as GenericSectionErrorState } from './GenericSectionErrorState.component';
@@ -1,4 +0,0 @@
1
- export interface GenericSectionErrorStateProps {
2
- reload: () => void;
3
- withBorder?: boolean;
4
- }