@devtron-labs/devtron-fe-common-lib 0.0.66-beta-3 → 0.0.66-beta-5

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 (25) hide show
  1. package/dist/Common/Constants.d.ts +8 -0
  2. package/dist/Common/Types.d.ts +0 -2
  3. package/dist/Pages/GlobalConfigurations/Authorization/index.d.ts +2 -1
  4. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupTableRow.d.ts +7 -0
  5. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupsTable.component.d.ts +3 -0
  6. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/index.d.ts +1 -0
  7. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/types.d.ts +31 -0
  8. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/index.d.ts +1 -0
  9. package/dist/Pages/GlobalConfigurations/Authorization/shared/index.d.ts +1 -0
  10. package/dist/Pages/GlobalConfigurations/Authorization/types.d.ts +27 -0
  11. package/dist/Pages/GlobalConfigurations/BuildInfra/utils.d.ts +2 -0
  12. package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +3 -0
  13. package/dist/Shared/Components/GenericSectionErrorState/index.d.ts +1 -0
  14. package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +12 -0
  15. package/dist/Shared/Components/ReactSelect/utils.d.ts +3 -0
  16. package/dist/Shared/Components/index.d.ts +1 -1
  17. package/dist/Shared/index.d.ts +0 -1
  18. package/dist/assets/index.css +1 -1
  19. package/dist/index.js +5452 -5410
  20. package/package.json +1 -1
  21. package/dist/Shared/Components/KeyValueList/KeyValueList.d.ts +0 -3
  22. package/dist/Shared/Components/KeyValueList/constants.d.ts +0 -5
  23. package/dist/Shared/Components/KeyValueList/index.d.ts +0 -2
  24. package/dist/Shared/Components/KeyValueList/types.d.ts +0 -48
  25. package/dist/Shared/types.d.ts +0 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtron-labs/devtron-fe-common-lib",
3
- "version": "0.0.66-beta-3",
3
+ "version": "0.0.66-beta-5",
4
4
  "description": "Supporting common component library",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,3 +0,0 @@
1
- import { KeyValueListProps } from './types';
2
- declare const KeyValueList: ({ keyValueList, handleKeyValueChange, isDisabled, disabledInfo, addButtonText, keyPlaceholder, valuePlaceholder, }: KeyValueListProps) => JSX.Element;
3
- export default KeyValueList;
@@ -1,5 +0,0 @@
1
- export declare const TEXT_MESSAGES: {
2
- ADD_BUTTON_TEXT: string;
3
- DEFAULT_KEY_PLACEHOLDER: string;
4
- DEFAULT_VALUE_PLACEHOLDER: string;
5
- };
@@ -1,2 +0,0 @@
1
- export { default as KeyValueList } from './KeyValueList';
2
- export * from './types';
@@ -1,48 +0,0 @@
1
- export declare enum KeyValueListActionType {
2
- ADD = "ADD_KEY_VALUE",
3
- DELETE = "DELETE_KEY_VALUE",
4
- UPDATE_KEY = "UPDATE",
5
- UPDATE_VALUE = "UPDATE_VALUE"
6
- }
7
- export type KeyValueListType = {
8
- key: string;
9
- value: string;
10
- };
11
- export interface KeyValueHandlerDataType {
12
- /**
13
- * Used to identify the key-value pair.
14
- * Optional - only for ADD action else it is mandatory
15
- */
16
- index?: number;
17
- value?: string;
18
- }
19
- export interface HandleKeyValueChangeType {
20
- action: KeyValueListActionType;
21
- data?: KeyValueHandlerDataType;
22
- }
23
- export interface KeyValueListProps {
24
- keyValueList: KeyValueListType[];
25
- handleKeyValueChange: ({ action, data }: HandleKeyValueChangeType) => void;
26
- /**
27
- * Would disable adding/deleting/updating parameters
28
- */
29
- isDisabled?: boolean;
30
- disabledInfo?: string;
31
- /**
32
- * @default - Add Parameter
33
- */
34
- addButtonText?: string;
35
- /**
36
- * @default - Enter Key
37
- */
38
- keyPlaceholder?: string;
39
- /**
40
- * @default - Enter Value
41
- */
42
- valuePlaceholder?: string;
43
- }
44
- export interface KeyValueItemProps extends Omit<KeyValueListProps, 'addButtonText' | 'keyValueList' | 'disabledInfo'> {
45
- itemKey: string;
46
- itemValue: string;
47
- index: number;
48
- }
@@ -1,10 +0,0 @@
1
- export interface RuntimeParamsAPIResponseType {
2
- envVariables: Record<string, string>;
3
- }
4
- export interface RuntimeParamsTriggerPayloadType {
5
- runtimeParams: RuntimeParamsAPIResponseType;
6
- }
7
- export declare enum CIMaterialSidebarType {
8
- CODE_SOURCE = "Code Source",
9
- PARAMETERS = "Parameters"
10
- }