@devtron-labs/devtron-fe-common-lib 0.0.91-beta-7 → 0.0.92-beta-1

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 (42) hide show
  1. package/dist/Common/RJSF/common/FieldRow.d.ts +1 -4
  2. package/dist/Common/RJSF/common/types.d.ts +1 -1
  3. package/dist/Common/RJSF/constants.d.ts +4 -1
  4. package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.d.ts +1 -1
  5. package/dist/Common/RJSF/templates/TitleField.d.ts +1 -1
  6. package/dist/Common/RJSF/templates/index.d.ts +0 -1
  7. package/dist/Common/RJSF/utils.d.ts +3 -1
  8. package/dist/Common/SortableTableHeaderCell/SortableTableHeaderCell.d.ts +1 -1
  9. package/dist/Common/SortableTableHeaderCell/types.d.ts +0 -5
  10. package/dist/Pages/GlobalConfigurations/BuildInfra/utils.d.ts +0 -2
  11. package/dist/Shared/Components/ReactSelect/utils.d.ts +0 -4
  12. package/dist/Shared/Components/index.d.ts +0 -1
  13. package/dist/Shared/index.d.ts +0 -1
  14. package/dist/Shared/types.d.ts +4 -46
  15. package/dist/assets/index.css +1 -1
  16. package/dist/{cssMode-10711ca4.js → cssMode-c12fc82c.js} +1 -1
  17. package/dist/{freemarker2-3c28550c.js → freemarker2-13bcce02.js} +1 -1
  18. package/dist/{handlebars-fc9c420f.js → handlebars-9d5b4ddd.js} +1 -1
  19. package/dist/{html-60370346.js → html-a33e70ef.js} +1 -1
  20. package/dist/{htmlMode-efbf16cc.js → htmlMode-dccacf10.js} +1 -1
  21. package/dist/{index-3b564bac.js → index-ddb64f30.js} +16385 -16449
  22. package/dist/index.js +401 -403
  23. package/dist/{javascript-78808417.js → javascript-aaaf29e8.js} +1 -1
  24. package/dist/{jsonMode-900328af.js → jsonMode-da2c663f.js} +1 -1
  25. package/dist/{liquid-f1a7cb7a.js → liquid-c0e3c2ae.js} +1 -1
  26. package/dist/{mdx-1e65c26b.js → mdx-85529d5b.js} +1 -1
  27. package/dist/{python-5b4a2603.js → python-c77c170d.js} +1 -1
  28. package/dist/{razor-9ad07b04.js → razor-ca39ff37.js} +1 -1
  29. package/dist/{tsMode-2484b2ad.js → tsMode-139e075c.js} +1 -1
  30. package/dist/{typescript-f3fd327c.js → typescript-cab8c9fe.js} +1 -1
  31. package/dist/{xml-34b27f33.js → xml-8627e817.js} +1 -1
  32. package/dist/{yaml-ce48b3d4.js → yaml-71329abe.js} +1 -1
  33. package/package.json +1 -1
  34. package/dist/Common/RJSF/templates/Description.d.ts +0 -3
  35. package/dist/Shared/API/APIQueuing.d.ts +0 -11
  36. package/dist/Shared/API/index.d.ts +0 -1
  37. package/dist/Shared/Components/EnvironmentSelector/EnvironmentSelector.component.d.ts +0 -4
  38. package/dist/Shared/Components/EnvironmentSelector/constants.d.ts +0 -5
  39. package/dist/Shared/Components/EnvironmentSelector/index.d.ts +0 -1
  40. package/dist/Shared/Components/EnvironmentSelector/service.d.ts +0 -3
  41. package/dist/Shared/Components/EnvironmentSelector/types.d.ts +0 -27
  42. package/dist/Shared/Components/EnvironmentSelector/utils.d.ts +0 -6
@@ -1,6 +1,3 @@
1
- import { DO_NOT_SHOW_LABEL } from '../constants';
2
1
  import { FieldRowProps } from './types';
3
2
 
4
- export declare const FieldRowWithLabel: ({ showLabel, label, required, children, id, shouldAlignCenter, }: Omit<FieldRowProps, "label"> & {
5
- label: FieldRowProps['label'] | typeof DO_NOT_SHOW_LABEL;
6
- }) => JSX.Element;
3
+ export declare const FieldRowWithLabel: ({ showLabel, label, required, children, id, rawDescription, shouldAlignCenter, }: FieldRowProps) => JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import { FieldTemplateProps } from '@rjsf/utils';
2
2
 
3
- export interface FieldRowProps extends Pick<FieldTemplateProps, 'children' | 'label' | 'required' | 'id'> {
3
+ export interface FieldRowProps extends Pick<FieldTemplateProps, 'children' | 'label' | 'required' | 'id' | 'rawDescription'> {
4
4
  showLabel?: boolean;
5
5
  /**
6
6
  * @default true
@@ -4,4 +4,7 @@ export declare const PLACEHOLDERS: {
4
4
  OBJECT_KEY: string;
5
5
  };
6
6
  export declare const DEFAULT_FIELD_TITLE = "Key not available";
7
- export declare const DO_NOT_SHOW_LABEL: unique symbol;
7
+ export declare const ADD_BUTTON_WIDTH: {
8
+ MAX_WIDTH_VALUE: number;
9
+ MAX_WIDTH_CLASSNAME: string;
10
+ };
@@ -1,3 +1,3 @@
1
1
  import { IconButtonProps } from '@rjsf/utils';
2
2
 
3
- export declare const AddButton: ({ icon, iconType, registry, uiSchema, ...props }: IconButtonProps) => JSX.Element;
3
+ export declare const AddButton: ({ label, icon, iconType, registry, uiSchema, ...props }: IconButtonProps & Partial<Record<'label', string>>) => JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { TitleFieldProps } from '@rjsf/utils';
2
2
 
3
- export declare const TitleField: ({ id, title, required }: TitleFieldProps) => JSX.Element;
3
+ export declare const TitleField: ({ id, title, required, description }: TitleFieldProps & Partial<Record<'description', string>>) => JSX.Element;
@@ -2,7 +2,6 @@ export { ArrayFieldTemplate } from './ArrayFieldTemplate';
2
2
  export { ArrayFieldItemTemplate } from './ArrayFieldItemTemplate';
3
3
  export { BaseInput as BaseInputTemplate } from './BaseInput';
4
4
  export * from './ButtonTemplates';
5
- export { Description as DescriptionFieldTemplate } from './Description';
6
5
  export { Field as FieldTemplate } from './Field';
7
6
  export { FieldErrorTemplate } from './FieldErrorTemplate';
8
7
  export { ObjectFieldTemplate } from './ObjectFieldTemplate';
@@ -1,3 +1,4 @@
1
+ import { default as Tippy } from '@tippyjs/react';
1
2
  import { TranslatableString } from '@rjsf/utils';
2
3
 
3
4
  /**
@@ -12,7 +13,7 @@ export declare const getCommonSelectStyle: (styleOverrides?: {}) => {
12
13
  valueContainer: (base: any, state: any) => any;
13
14
  loadingMessage: (base: any) => any;
14
15
  noOptionsMessage: (base: any) => any;
15
- multiValue: (base: any, state: any) => any;
16
+ multiValue: (base: any) => any;
16
17
  };
17
18
  /**
18
19
  * Returns the redirection props for a url
@@ -24,3 +25,4 @@ export declare const getRedirectionProps: (url: string) => import('react').Ancho
24
25
  * Infers the type for json schema from value type
25
26
  */
26
27
  export declare const getInferredTypeFromValueType: (value: any) => "string" | "number" | "boolean" | "object" | "array" | "null";
28
+ export declare const getTippyWrapperWithContent: (content: any, placement?: React.ComponentProps<typeof Tippy>['placement']) => (children: any) => JSX.Element;
@@ -14,5 +14,5 @@ import { SortableTableHeaderCellProps } from './types';
14
14
  * />
15
15
  * ```
16
16
  */
17
- declare const SortableTableHeaderCell: ({ isSorted, triggerSorting, sortOrder, title, disabled, isSortable, }: SortableTableHeaderCellProps) => JSX.Element;
17
+ declare const SortableTableHeaderCell: ({ isSorted, triggerSorting, sortOrder, title, disabled, }: SortableTableHeaderCellProps) => JSX.Element;
18
18
  export default SortableTableHeaderCell;
@@ -23,9 +23,4 @@ export interface SortableTableHeaderCellProps {
23
23
  * If true, the cell is disabled
24
24
  */
25
25
  disabled: boolean;
26
- /**
27
- * If false, the cell acts like normal table header cell
28
- * @default true
29
- */
30
- isSortable?: boolean;
31
26
  }
@@ -12,6 +12,4 @@ export declare const unitSelectorStyles: () => {
12
12
  loadingMessage: (base: any) => any;
13
13
  noOptionsMessage: (base: any) => any;
14
14
  placeholder: (base: any) => any;
15
- group: (base: any) => any;
16
- groupHeading: (base: any) => any;
17
15
  };
@@ -8,8 +8,6 @@ export declare const getCommonSelectStyle: (styleOverrides?: {}) => {
8
8
  loadingMessage: (base: any) => any;
9
9
  noOptionsMessage: (base: any) => any;
10
10
  placeholder: (base: any) => any;
11
- group: (base: any) => any;
12
- groupHeading: (base: any) => any;
13
11
  };
14
12
  export declare const getCustomOptionSelectionStyle: (styleOverrides?: {}) => (base: any, state: any) => any;
15
13
  export declare const SelectOption: (props: any) => JSX.Element;
@@ -25,6 +23,4 @@ export declare const commonSelectStyles: {
25
23
  loadingMessage: (base: any) => any;
26
24
  noOptionsMessage: (base: any) => any;
27
25
  placeholder: (base: any) => any;
28
- group: (base: any) => any;
29
- groupHeading: (base: any) => any;
30
26
  };
@@ -17,7 +17,6 @@ export * from './Header';
17
17
  export * from './AnnouncementBanner';
18
18
  export * from './ButtonWithLoader';
19
19
  export * from './ButtonWithSelector';
20
- export * from './EnvironmentSelector';
21
20
  export * from './ModalSidebarPanel';
22
21
  export * from './ImageWithFallback';
23
22
  export * from './FeatureDescription';
@@ -7,4 +7,3 @@ export * from './constants';
7
7
  export * from './Services';
8
8
  export * from './Store';
9
9
  export * from './Hooks';
10
- export * from './API';
@@ -1,5 +1,5 @@
1
1
  import { EnvironmentTypeEnum, PatchOperationType } from './constants';
2
- import { OptionType, CommonNodeAttr, ResponseType, UserApprovalConfigType, VulnerabilityType, DeploymentAppTypes, ServerErrors } from '../Common';
2
+ import { OptionType, CommonNodeAttr, ResponseType, UserApprovalConfigType, VulnerabilityType, DeploymentAppTypes } from '../Common';
3
3
 
4
4
  export declare enum EnvType {
5
5
  CHART = "helm_charts",
@@ -418,35 +418,6 @@ export declare enum AggregationKeys {
418
418
  Namespaces = "Namespaces"
419
419
  }
420
420
  export type AggregationKeysType = keyof typeof AggregationKeys;
421
- export interface AppInfoListType {
422
- application: string;
423
- appStatus: string;
424
- deploymentStatus: string;
425
- lastDeployed: string;
426
- lastDeployedImage?: string;
427
- lastDeployedBy?: string;
428
- appId: number;
429
- envId: number;
430
- pipelineId?: number;
431
- commits?: string[];
432
- ciArtifactId?: number;
433
- }
434
- export interface EnvListMinDTO {
435
- id: number;
436
- active: boolean;
437
- allowedDeploymentTypes: DeploymentAppTypes[] | null;
438
- appCount: number;
439
- cluster_id: number;
440
- cluster_name: string;
441
- default: boolean;
442
- description: string;
443
- environmentIdentifier: string;
444
- environment_name: string;
445
- isClusterCdActive: boolean;
446
- isDigestEnforcedForEnv: boolean;
447
- isVirtualEnvironment: boolean;
448
- namespace: string;
449
- }
450
421
  export interface EnvironmentType {
451
422
  /**
452
423
  * Unique identifier for the environment
@@ -483,24 +454,11 @@ export declare enum DependencyType {
483
454
  DOWNSTREAM = "downstream",
484
455
  LEVEL = "level"
485
456
  }
457
+ export interface scrollableInterface {
458
+ autoBottomScroll: boolean;
459
+ }
486
460
  export declare enum PromiseAllStatusType {
487
461
  FULFILLED = "fulfilled",
488
462
  REJECTED = "rejected"
489
463
  }
490
- export type ApiQueuingWithBatchResponseItem<T> = {
491
- status: PromiseAllStatusType.FULFILLED;
492
- value: T;
493
- } | {
494
- status: PromiseAllStatusType.REJECTED;
495
- reason: ServerErrors;
496
- };
497
- export interface BatchConfigType {
498
- lastIndex: number;
499
- results: any[];
500
- concurrentCount: number;
501
- completedCalls: number;
502
- }
503
- export interface scrollableInterface {
504
- autoBottomScroll: boolean;
505
- }
506
464
  export {};