@devtron-labs/devtron-fe-common-lib 1.14.2-beta-1 → 1.14.2-beta-3

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 (93) hide show
  1. package/dist/{@code-editor-D2FCACeW.js → @code-editor-BFAjlLLM.js} +10733 -11015
  2. package/dist/{@common-rjsf-4u0wap1S.js → @common-rjsf-BXCRwIYr.js} +2 -2
  3. package/dist/{@framer-motion-Dchiw-Rb.js → @framer-motion-eB9Rj-_8.js} +3 -3
  4. package/dist/{@react-dates-D5kydtW-.js → @react-dates-CJpoumtu.js} +1 -1
  5. package/dist/{@react-select-Cmser7OI.js → @react-select-CUbAbK6L.js} +6 -6
  6. package/dist/{@react-virtualized-sticky-tree-DMnFy9PE.js → @react-virtualized-sticky-tree-Ckb5S1RC.js} +1 -1
  7. package/dist/{@vendor-STJ9h0oI.js → @vendor-4cEd9dja.js} +15910 -14016
  8. package/dist/Common/Constants.d.ts +11 -4
  9. package/dist/Common/SegmentedControl/Segment.d.ts +1 -1
  10. package/dist/Common/SegmentedControl/types.d.ts +2 -3
  11. package/dist/Common/TippyCustomized.d.ts +1 -1
  12. package/dist/Common/Types.d.ts +6 -8
  13. package/dist/Shared/Components/ActionMenu/types.d.ts +4 -31
  14. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +2 -4
  15. package/dist/Shared/Components/Button/Button.component.d.ts +1 -1
  16. package/dist/Shared/Components/Button/constants.d.ts +0 -1
  17. package/dist/Shared/Components/Button/types.d.ts +1 -14
  18. package/dist/Shared/Components/Button/utils.d.ts +1 -1
  19. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryDiffView.d.ts +1 -1
  20. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/utils.d.ts +2 -1
  21. package/dist/Shared/Components/CICDHistory/service.d.ts +1 -7
  22. package/dist/Shared/Components/CICDHistory/types.d.ts +3 -18
  23. package/dist/Shared/Components/CodeEditor/CodeEditor.d.ts +1 -1
  24. package/dist/Shared/Components/CodeEditor/CodeEditorRenderer.d.ts +1 -1
  25. package/dist/Shared/Components/CodeEditor/Extensions/findAndReplace.d.ts +1 -2
  26. package/dist/Shared/Components/CodeEditor/types.d.ts +1 -14
  27. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.types.d.ts +18 -1
  28. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.utils.d.ts +2 -0
  29. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffRadioSelect.d.ts +7 -0
  30. package/dist/Shared/Components/DeploymentConfigDiff/index.d.ts +1 -0
  31. package/dist/Shared/Components/DiffViewer/DiffViewer.component.d.ts +41 -0
  32. package/dist/Shared/Components/DiffViewer/constants.d.ts +2 -0
  33. package/dist/Shared/Components/DiffViewer/index.d.ts +1 -0
  34. package/dist/Shared/Components/DiffViewer/types.d.ts +9 -0
  35. package/dist/Shared/Components/DynamicDataTable/DynamicDataTable.d.ts +1 -1
  36. package/dist/Shared/Components/DynamicDataTable/DynamicDataTableRow.d.ts +1 -1
  37. package/dist/Shared/Components/DynamicDataTable/types.d.ts +4 -8
  38. package/dist/Shared/Components/FeatureDescription/types.d.ts +1 -2
  39. package/dist/Shared/Components/FramerComponents/MotionDiv.d.ts +2 -0
  40. package/dist/Shared/Components/FramerComponents/index.d.ts +3 -2
  41. package/dist/Shared/Components/GenericInfoCard/index.d.ts +1 -3
  42. package/dist/Shared/Components/GenericInfoCard/types.d.ts +0 -13
  43. package/dist/Shared/Components/Header/types.d.ts +8 -8
  44. package/dist/Shared/Components/Header/utils.d.ts +2 -0
  45. package/dist/Shared/Components/Icon/Icon.d.ts +0 -6
  46. package/dist/Shared/Components/InfoIconTippy/InfoIconTippy.d.ts +1 -1
  47. package/dist/Shared/Components/KeyValueTable/KeyValueTable.component.d.ts +1 -1
  48. package/dist/Shared/Components/KeyValueTable/KeyValueTable.types.d.ts +1 -1
  49. package/dist/Shared/Components/LogoutCard.d.ts +10 -0
  50. package/dist/Shared/Components/ModalSidebarPanel/types.d.ts +1 -2
  51. package/dist/Shared/Components/NumbersCount/index.d.ts +0 -1
  52. package/dist/Shared/Components/Popover/Popover.component.d.ts +1 -1
  53. package/dist/Shared/Components/Popover/types.d.ts +8 -5
  54. package/dist/Shared/Components/Popover/usePopover.hook.d.ts +1 -1
  55. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +1 -1
  56. package/dist/Shared/Components/ThemeSwitcher/ThemeSwitcher.component.d.ts +1 -1
  57. package/dist/Shared/Components/ThemeSwitcher/index.d.ts +1 -0
  58. package/dist/Shared/Components/ThemeSwitcher/types.d.ts +1 -1
  59. package/dist/Shared/Components/index.d.ts +1 -3
  60. package/dist/Shared/Helpers.d.ts +0 -1
  61. package/dist/Shared/Providers/index.d.ts +1 -1
  62. package/dist/Shared/Providers/types.d.ts +0 -20
  63. package/dist/Shared/Services/app.types.d.ts +7 -2
  64. package/dist/Shared/constants.d.ts +2 -2
  65. package/dist/Shared/types.d.ts +7 -27
  66. package/dist/Shared/validations.d.ts +0 -1
  67. package/dist/assets/@code-editor.css +1 -1
  68. package/dist/assets/ic-arrow-square-out.3d1a0d41.svg +19 -0
  69. package/dist/index.js +782 -796
  70. package/package.json +4 -3
  71. package/dist/Shared/Components/DocLink/DocLink.d.ts +0 -2
  72. package/dist/Shared/Components/DocLink/constants.d.ts +0 -94
  73. package/dist/Shared/Components/DocLink/index.d.ts +0 -4
  74. package/dist/Shared/Components/DocLink/types.d.ts +0 -18
  75. package/dist/Shared/Components/DocLink/utils.d.ts +0 -2
  76. package/dist/Shared/Components/GenericInfoCard/GenericInfoCardListing.d.ts +0 -2
  77. package/dist/Shared/Components/GenericInfoCard/GenericInfoListSkeleton.d.ts +0 -2
  78. package/dist/Shared/Components/Header/ProfileMenu.d.ts +0 -2
  79. package/dist/Shared/Components/Switch/Switch.component.d.ts +0 -3
  80. package/dist/Shared/Components/Switch/constants.d.ts +0 -14
  81. package/dist/Shared/Components/Switch/index.d.ts +0 -2
  82. package/dist/Shared/Components/Switch/types.d.ts +0 -102
  83. package/dist/Shared/Components/Switch/utils.d.ts +0 -12
  84. package/dist/Shared/Components/SwitchThemeDialog/SwitchThemeDialog.component.d.ts +0 -3
  85. package/dist/Shared/Components/SwitchThemeDialog/index.d.ts +0 -2
  86. package/dist/Shared/Components/SwitchThemeDialog/types.d.ts +0 -35
  87. package/dist/assets/empty-create.661d9355.png +0 -0
  88. package/dist/assets/ic-app-template.82736707.svg +0 -23
  89. package/dist/assets/ic-devtron-app.a8b688d3.svg +0 -23
  90. package/dist/assets/ic-devtron-job.1b216232.svg +0 -10
  91. package/dist/assets/ic-email.78fed574.svg +0 -3
  92. package/dist/assets/ic-key-enter.59d23056.svg +0 -3
  93. package/dist/assets/ic-spray-can.624b202a.svg +0 -3
@@ -2,10 +2,19 @@ export declare const FALLBACK_REQUEST_TIMEOUT = 60000;
2
2
  export declare const Host: string;
3
3
  export declare const DOCUMENTATION_HOME_PAGE = "https://docs.devtron.ai";
4
4
  export declare const DEVTRON_HOME_PAGE = "https://devtron.ai/";
5
- export declare const DOCUMENTATION_VERSION = "/devtron/v0.7";
5
+ export declare const DOCUMENTATION_VERSION = "/v/v0.7";
6
6
  export declare const DISCORD_LINK = "https://discord.devtron.ai/";
7
7
  export declare const DEFAULT_JSON_SCHEMA_URI = "https://json-schema.org/draft/2020-12/schema";
8
- export declare const LICENSE_DASHBOARD_HOME_PAGE = "https://license.devtron.ai/dashboard";
8
+ export declare const DOCUMENTATION: {
9
+ APP_METRICS: string;
10
+ APP_TAGS: string;
11
+ APP_OVERVIEW_TAGS: string;
12
+ BLOB_STORAGE: string;
13
+ GLOBAL_CONFIG_BUILD_INFRA: string;
14
+ ENTERPRISE_LICENSE: string;
15
+ KUBE_CONFIG: string;
16
+ TENANT_INSTALLATION: string;
17
+ };
9
18
  export declare const PATTERNS: {
10
19
  STRING: RegExp;
11
20
  DECIMAL_NUMBERS: RegExp;
@@ -23,10 +32,8 @@ export declare const PATTERNS: {
23
32
  CONFIG_MAP_AND_SECRET_KEY: RegExp;
24
33
  CONFIGMAP_AND_SECRET_NAME: RegExp;
25
34
  ALPHANUMERIC_WITH_SPECIAL_CHAR_AND_SLASH: RegExp;
26
- EMAIL: RegExp;
27
35
  };
28
36
  export declare const URLS: {
29
- readonly LOGIN: "/login";
30
37
  readonly LOGIN_SSO: "/login/sso";
31
38
  readonly PERMISSION_GROUPS: "/global-config/auth/groups";
32
39
  readonly APP: "/app";
@@ -1,3 +1,3 @@
1
1
  import { SegmentProps } from './types';
2
- declare const Segment: ({ segment, isSelected, name, onChange, fullWidth, size, disabled }: SegmentProps) => JSX.Element;
2
+ declare const Segment: ({ segment, isSelected, name, selectedSegmentRef, onChange, fullWidth, size, disabled, }: SegmentProps) => JSX.Element;
3
3
  export default Segment;
@@ -1,3 +1,4 @@
1
+ import { RefObject } from 'react';
1
2
  import { TooltipProps } from '../Tooltip';
2
3
  import { IconsProps, SelectPickerOptionType } from '../../Shared/Components';
3
4
  import { ComponentSizeType } from '../../Shared/constants';
@@ -45,9 +46,6 @@ export type SegmentedControlProps = {
45
46
  * List of segments to be displayed
46
47
  */
47
48
  segments: SegmentType[];
48
- /**
49
- * Please make sure this is unique
50
- */
51
49
  name: string;
52
50
  size?: Extract<ComponentSizeType, ComponentSizeType.xs | ComponentSizeType.small | ComponentSizeType.medium>;
53
51
  fullWidth?: boolean;
@@ -68,5 +66,6 @@ export type SegmentedControlProps = {
68
66
  export interface SegmentProps extends Required<Pick<SegmentedControlProps, 'name' | 'onChange' | 'fullWidth' | 'size' | 'disabled'>> {
69
67
  isSelected: boolean;
70
68
  segment: SegmentType;
69
+ selectedSegmentRef: RefObject<HTMLDivElement> | undefined;
71
70
  }
72
71
  export {};
@@ -1,2 +1,2 @@
1
1
  import { TippyCustomizedProps } from './Types';
2
- export declare const TippyCustomized: <T extends boolean = false>(props: TippyCustomizedProps<T>) => JSX.Element;
2
+ export declare const TippyCustomized: (props: TippyCustomizedProps) => JSX.Element;
@@ -2,7 +2,7 @@ import { default as React, ReactNode, CSSProperties, ReactElement, MutableRefObj
2
2
  import { TippyProps } from '@tippyjs/react';
3
3
  import { UserGroupDTO } from '../Pages/GlobalConfigurations';
4
4
  import { ImageComment, ReleaseTag } from './ImageTags.Types';
5
- import { MandatoryPluginBaseStateType, RegistryType, RuntimePluginVariables, Severity, PolicyBlockInfo, TargetPlatformItemDTO, ButtonProps, ComponentLayoutType, StatusType, DocLinkProps, DeploymentStrategyType } from '../Shared';
5
+ import { MandatoryPluginBaseStateType, RegistryType, RuntimePluginVariables, Severity, PolicyBlockInfo, TargetPlatformItemDTO, ButtonProps, ComponentLayoutType, StatusType, DeploymentStrategyType } from '../Shared';
6
6
  import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, RefVariableType, SortingOrder, TaskErrorObj, VariableTypeFormat } from '.';
7
7
  /**
8
8
  * Generic response type object with support for overriding the result type
@@ -78,10 +78,7 @@ export interface CheckboxProps {
78
78
  error?: boolean;
79
79
  children?: ReactNode;
80
80
  }
81
- export interface TippyWithBaseDocLinkTypes<T extends boolean> extends Pick<DocLinkProps<T>, 'isExternalLink' | 'openInNewTab'> {
82
- documentationLink?: DocLinkProps<T>['docLinkKey'];
83
- }
84
- export type TippyCustomizedProps<T extends boolean> = Pick<TippyProps, 'appendTo'> & TippyWithBaseDocLinkTypes<T> & {
81
+ export interface TippyCustomizedProps extends Pick<TippyProps, 'appendTo'> {
85
82
  theme: TippyTheme;
86
83
  visible?: boolean;
87
84
  heading?: ReactNode | string;
@@ -106,13 +103,14 @@ export type TippyCustomizedProps<T extends boolean> = Pick<TippyProps, 'appendTo
106
103
  animation?: string;
107
104
  duration?: number;
108
105
  additionalContent?: ReactNode;
106
+ documentationLink?: string;
109
107
  documentationLinkText?: string;
110
108
  children: React.ReactElement<any>;
111
109
  disableClose?: boolean;
112
- };
113
- export interface InfoIconTippyProps<T extends boolean = false> extends Pick<TippyCustomizedProps<T>, 'heading' | 'infoText' | 'iconClass' | 'documentationLinkText' | 'additionalContent' | 'placement' | 'Icon' | 'headingInfo' | 'documentationLink' | 'isExternalLink' | 'openInNewTab'> {
110
+ }
111
+ export interface InfoIconTippyProps extends Pick<TippyCustomizedProps, 'heading' | 'infoText' | 'iconClass' | 'documentationLink' | 'documentationLinkText' | 'additionalContent' | 'placement' | 'Icon' | 'headingInfo'> {
114
112
  dataTestid?: string;
115
- children?: TippyCustomizedProps<T>['children'];
113
+ children?: TippyCustomizedProps['children'];
116
114
  iconClassName?: string;
117
115
  buttonPadding?: string;
118
116
  }
@@ -1,12 +1,8 @@
1
- import { LegacyRef, MouseEvent, ReactElement, Ref } from 'react';
1
+ import { LegacyRef, Ref } from 'react';
2
2
  import { LinkProps } from 'react-router-dom';
3
- import { OmitNever } from '../../types';
4
- import { ButtonProps } from '../Button';
5
3
  import { IconsProps } from '../Icon';
6
- import { NumbersCountProps } from '../NumbersCount';
7
4
  import { PopoverProps, UsePopoverProps } from '../Popover';
8
5
  import { SelectPickerOptionType, SelectPickerProps } from '../SelectPicker';
9
- import { DTSwitchProps } from '../Switch';
10
6
  type ConditionalActionMenuComponentType = {
11
7
  /**
12
8
  * @default 'button'
@@ -29,29 +25,6 @@ type ActionMenuItemIconType = Pick<IconsProps, 'name'> & {
29
25
  /** @default 'N800' */
30
26
  color?: IconsProps['color'];
31
27
  };
32
- type TrailingItemType = {
33
- type: 'icon';
34
- config: ActionMenuItemIconType;
35
- } | {
36
- type: 'text';
37
- config: {
38
- value: string;
39
- icon?: ActionMenuItemIconType;
40
- };
41
- } | {
42
- type: 'counter';
43
- config: {
44
- value: NumbersCountProps['count'];
45
- };
46
- } | {
47
- type: 'switch';
48
- config: Pick<DTSwitchProps, 'ariaLabel' | 'isChecked' | 'indeterminate' | 'isDisabled' | 'isLoading' | 'name' | 'onChange' | 'tooltipContent'>;
49
- } | {
50
- type: 'button';
51
- config: OmitNever<Omit<Extract<ButtonProps, {
52
- icon: ReactElement;
53
- }>, 'size' | 'variant'>>;
54
- };
55
28
  export type ActionMenuItemType<T extends string | number = string | number> = Omit<SelectPickerOptionType, 'label' | 'value' | 'endIcon' | 'startIcon'> & {
56
29
  /** A unique identifier for the action menu item. */
57
30
  id: T;
@@ -66,8 +39,8 @@ export type ActionMenuItemType<T extends string | number = string | number> = Om
66
39
  type?: 'neutral' | 'negative';
67
40
  /** Defines the icon to be displayed at the start of the menu item. */
68
41
  startIcon?: ActionMenuItemIconType;
69
- /** Defines the item to be displayed at the end of the menu item. */
70
- trailingItem?: TrailingItemType;
42
+ /** Defines the icon to be displayed at the end of the menu item. */
43
+ endIcon?: ActionMenuItemIconType;
71
44
  } & ConditionalActionMenuComponentType;
72
45
  export type ActionMenuOptionType<T extends string | number> = {
73
46
  /**
@@ -95,7 +68,7 @@ export type ActionMenuProps<T extends string | number = string | number> = UseAc
95
68
  * Callback function triggered when an item is clicked.
96
69
  * @param item - The selected item.
97
70
  */
98
- onClick: (item: ActionMenuItemType<T>, e: MouseEvent<HTMLAnchorElement> | MouseEvent<HTMLButtonElement>) => void;
71
+ onClick: (item: ActionMenuItemType<T>) => void;
99
72
  /**
100
73
  * Config for the footer at the bottom of action menu list. It is sticky by default
101
74
  */
@@ -10,9 +10,7 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
10
10
  filteredOptions: import('./types').ActionMenuOptionType<T>[];
11
11
  focusedIndex: number;
12
12
  itemsRef: import('react').MutableRefObject<RefObject<HTMLAnchorElement | HTMLButtonElement>[]>;
13
- triggerProps: import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
14
- bounds: Pick<DOMRect, "left" | "top" | "height" | "width">;
15
- };
13
+ triggerProps: import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
16
14
  overlayProps: import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
17
15
  popoverProps: {
18
16
  slot?: string;
@@ -273,5 +271,5 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
273
271
  closePopover: () => void;
274
272
  searchTerm: string;
275
273
  handleSearch: (e: ChangeEvent<HTMLInputElement>) => void;
276
- scrollableRef: import('react').MutableRefObject<any> | import('react').LegacyRef<any>;
274
+ scrollableRef: import('react').MutableRefObject<HTMLElement>;
277
275
  };
@@ -63,5 +63,5 @@ import { ButtonComponentType, ButtonProps } from './types';
63
63
  * <Button icon={<ICCube />} ariaLabel="Label" />
64
64
  * ```
65
65
  */
66
- declare const Button: <ComponentType extends ButtonComponentType>({ dataTestId, text, variant, size, style, fontWeight, startIcon, endIcon, disabled, isLoading, showTooltip, tooltipProps, icon, ariaLabel, showAriaLabelInTippy, fullWidth, isOpacityHoverChild, triggerAutoClickTimestamp, ...props }: ButtonProps<ComponentType>) => JSX.Element;
66
+ declare const Button: <ComponentType extends ButtonComponentType>({ dataTestId, text, variant, size, style, startIcon, endIcon, disabled, isLoading, showTooltip, tooltipProps, icon, ariaLabel, showAriaLabelInTippy, fullWidth, isOpacityHoverChild, triggerAutoClickTimestamp, ...props }: ButtonProps<ComponentType>) => JSX.Element;
67
67
  export default Button;
@@ -1,7 +1,6 @@
1
1
  import { ProgressingProps } from '../../../Common/Types';
2
2
  import { ButtonProps } from './types';
3
3
  export declare const BUTTON_SIZE_TO_CLASS_NAME_MAP: Record<ButtonProps['size'], string>;
4
- export declare const BUTTON_FONT_WEIGHT_TO_CLASS_NAME_MAP: Record<ButtonProps['fontWeight'], string>;
5
4
  export declare const ICON_BUTTON_SIZE_TO_CLASS_NAME_MAP: Record<ButtonProps['size'], string>;
6
5
  export declare const BUTTON_SIZE_TO_ICON_SIZE_MAP: Record<ButtonProps['size'], ProgressingProps['size']>;
7
6
  export declare const ICON_BUTTON_SIZE_TO_ICON_SIZE_MAP: Record<ButtonProps['size'], ProgressingProps['size']>;
@@ -116,13 +116,7 @@ export type ButtonProps<ComponentType extends ButtonComponentType = ButtonCompon
116
116
  /**
117
117
  * Props for tooltip
118
118
  */
119
- tooltipProps: Omit<Extract<TooltipProps, {
120
- alwaysShowTippyOnHover: boolean;
121
- }>, 'alwaysShowTippyOnHover'> | Omit<Extract<TooltipProps, {
122
- alwaysShowTippyOnHover?: boolean;
123
- }>, 'alwaysShowTippyOnHover'> | Omit<Extract<TooltipProps, {
124
- alwaysShowTippyOnHover?: never;
125
- }>, 'alwaysShowTippyOnHover'>;
119
+ tooltipProps: Omit<TooltipProps, 'alwaysShowTippyOnHover' | 'showOnTruncate' | 'shortcutKeyCombo'> | (Omit<TooltipProps, 'alwaysShowTippyOnHover' | 'showOnTruncate' | 'content'> & Required<Pick<TooltipProps, 'shortcutKeyCombo'>>);
126
120
  } | {
127
121
  showTooltip?: never;
128
122
  tooltipProps?: never;
@@ -142,12 +136,6 @@ export type ButtonProps<ComponentType extends ButtonComponentType = ButtonCompon
142
136
  * If provided, icon to be displayed at the end of the button
143
137
  */
144
138
  endIcon?: ReactElement;
145
- /**
146
- * Controls the font weight of the button text
147
- *
148
- * @default 'bold'
149
- */
150
- fontWeight?: 'bold' | 'normal';
151
139
  } | {
152
140
  /**
153
141
  * If provided, icon button is rendered
@@ -167,5 +155,4 @@ export type ButtonProps<ComponentType extends ButtonComponentType = ButtonCompon
167
155
  text?: never;
168
156
  startIcon?: never;
169
157
  endIcon?: never;
170
- fontWeight?: never;
171
158
  });
@@ -1,6 +1,6 @@
1
1
  import { ButtonProps } from './types';
2
2
  export declare const getButtonIconClassName: ({ size, icon }: Pick<ButtonProps, "size" | "icon">) => string;
3
3
  export declare const getButtonLoaderSize: ({ size, icon }: Pick<ButtonProps, "size" | "icon">) => number;
4
- export declare const getButtonDerivedClass: ({ size, variant, style, isLoading, icon, isAutoTriggerActive, fontWeight, }: Required<Pick<ButtonProps, "variant" | "size" | "style" | "isLoading" | "icon" | "fontWeight"> & {
4
+ export declare const getButtonDerivedClass: ({ size, variant, style, isLoading, icon, isAutoTriggerActive, }: Required<Pick<ButtonProps, "variant" | "size" | "style" | "isLoading" | "icon"> & {
5
5
  isAutoTriggerActive: boolean;
6
6
  }>) => string;
@@ -1,3 +1,3 @@
1
1
  import { DeploymentTemplateHistoryType } from '../types';
2
- declare const DeploymentHistoryDiffView: ({ currentConfiguration, baseTemplateConfiguration, previousConfigAvailable, rootClassName, }: DeploymentTemplateHistoryType) => JSX.Element;
2
+ declare const DeploymentHistoryDiffView: ({ currentConfiguration, baseTemplateConfiguration, previousConfigAvailable, rootClassName, codeEditorKey, }: DeploymentTemplateHistoryType) => JSX.Element;
3
3
  export default DeploymentHistoryDiffView;
@@ -1,5 +1,5 @@
1
1
  import { SelectPickerOptionType } from '@Shared/Components/SelectPicker';
2
- import { History } from '../types';
2
+ import { DeploymentHistorySingleValue, History } from '../types';
3
3
  import { DeploymentHistoryConfigDiffProps } from './types';
4
4
  export declare const getPipelineDeployments: (triggerHistory: DeploymentHistoryConfigDiffProps["triggerHistory"]) => History[];
5
5
  export declare const getPipelineDeploymentsWfrIds: ({ pipelineDeployments, wfrId, }: {
@@ -20,3 +20,4 @@ export declare const parseDeploymentHistoryDiffSearchParams: (compareWfrId: numb
20
20
  };
21
21
  export declare const isDeploymentHistoryConfigDiffNotFoundError: <T extends unknown>(res: PromiseSettledResult<T>) => boolean;
22
22
  export declare const getDeploymentHistoryConfigDiffError: <T extends unknown>(res: PromiseSettledResult<T>) => any;
23
+ export declare const renderDetailedValue: (parentClassName: string, singleValue: DeploymentHistorySingleValue, dataTestId: string) => JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { ResponseType } from '../../../Common';
2
- import { DeploymentConfigurationsRes, DeploymentHistoryDetail, DeploymentHistoryDetailRes, DeploymentHistoryResult, DeploymentHistorySingleValue, DeploymentStatusDetailsResponse, HistoryDiffSelectorRes, ModuleConfigResponse, TriggerDetailsResponseType, TriggerHistoryParamsType } from './types';
2
+ import { DeploymentHistoryDetail, DeploymentHistoryResult, DeploymentStatusDetailsResponse, ModuleConfigResponse, TriggerDetailsResponseType, TriggerHistoryParamsType } from './types';
3
3
  export declare function getTriggerDetails({ appId, envId, pipelineId, triggerId, fetchIdData, }: {
4
4
  appId: any;
5
5
  envId: any;
@@ -18,12 +18,6 @@ export declare function getManualSync(params: {
18
18
  appId: string;
19
19
  envId: string;
20
20
  }): Promise<ResponseType>;
21
- export declare const getDeploymentHistoryList: (appId: string, pipelineId: string, triggerId: string) => Promise<DeploymentConfigurationsRes>;
22
- export declare const getDeploymentHistoryDetail: (appId: string, pipelineId: string, id: string, historyComponent: string, historyComponentName: string) => Promise<DeploymentHistoryDetailRes>;
23
- export declare const prepareDeploymentTemplateData: (rawData: any) => Record<string, DeploymentHistorySingleValue>;
24
- export declare const preparePipelineConfigData: (rawData: any) => Record<string, DeploymentHistorySingleValue>;
25
- export declare const prepareConfigMapAndSecretData: (rawData: any, type: string, historyData: DeploymentHistoryDetail, skipDecode?: boolean) => Record<string, DeploymentHistorySingleValue>;
26
21
  export declare const prepareHistoryData: (rawData: any, historyComponent: string, skipDecode?: boolean) => DeploymentHistoryDetail;
27
- export declare const getDeploymentDiffSelector: (pipelineId: string, historyComponent: any, baseConfigurationId: any, historyComponentName: any) => Promise<HistoryDiffSelectorRes>;
28
22
  export declare const getTriggerHistory: ({ appId, envId, pagination, releaseId, showCurrentReleaseDeployments, }: TriggerHistoryParamsType) => Promise<Pick<DeploymentHistoryResult, "result">>;
29
23
  export declare const getModuleConfigured: (moduleName: string) => Promise<ModuleConfigResponse>;
@@ -1,6 +1,6 @@
1
1
  import { CSSProperties, MutableRefObject, ReactElement, ReactNode } from 'react';
2
2
  import { SupportedKeyboardKeysType } from '@Common/Hooks/UseRegisterShortcut/types';
3
- import { DeploymentAppTypes, FilterConditionsListType, ImageComment, OptionType, PaginationProps, PromotionApprovalMetadataType, ReleaseTag, ResponseType, UserApprovalMetadataType, useScrollable } from '../../../Common';
3
+ import { DeploymentAppTypes, FilterConditionsListType, ImageComment, OptionType, PaginationProps, PromotionApprovalMetadataType, ReleaseTag, ResponseType, TooltipProps, UserApprovalMetadataType, useScrollable } from '../../../Common';
4
4
  import { DeploymentStageType } from '../../constants';
5
5
  import { AggregationKeys, AppDetails, DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType, DeploymentStatusTimelineType, DeploymentStrategyType, GitTriggers, Node, NodeType, ResourceKindType, ResourceVersionType, TargetPlatformsDTO } from '../../types';
6
6
  import { TargetPlatformBadgeListProps } from '../TargetPlatforms';
@@ -408,14 +408,12 @@ export interface DeploymentStatusDetailRowType extends Pick<DeploymentStatusDeta
408
408
  hideVerticalConnector?: boolean;
409
409
  deploymentDetailedData: DeploymentStatusDetailsBreakdownDataType;
410
410
  }
411
- export interface DeploymentConfigurationsRes extends ResponseType {
412
- result?: DeploymentTemplateList[];
413
- }
414
411
  export interface DeploymentHistorySingleValue {
415
412
  displayName: string;
416
413
  value: string;
417
414
  variableSnapshot?: object;
418
415
  resolvedValue?: string;
416
+ tooltipContent?: TooltipProps['content'];
419
417
  }
420
418
  export interface DeploymentHistoryDetail {
421
419
  componentName?: string;
@@ -427,20 +425,7 @@ export interface DeploymentTemplateHistoryType {
427
425
  baseTemplateConfiguration: DeploymentHistoryDetail;
428
426
  previousConfigAvailable: boolean;
429
427
  rootClassName?: string;
430
- }
431
- export interface DeploymentHistoryDetailRes extends ResponseType {
432
- result?: DeploymentHistoryDetail;
433
- }
434
- export interface HistoryDiffSelectorList {
435
- id: number;
436
- deployedOn: string;
437
- deployedBy: string;
438
- deploymentStatus: string;
439
- wfrId?: number;
440
- runSource?: RunSourceType;
441
- }
442
- export interface HistoryDiffSelectorRes {
443
- result?: HistoryDiffSelectorList[];
428
+ codeEditorKey?: string;
444
429
  }
445
430
  export interface DeploymentHistorySidebarType {
446
431
  deploymentHistoryList: DeploymentTemplateList[];
@@ -1,6 +1,6 @@
1
1
  import { CodeEditorProps } from './types';
2
2
  declare const CodeEditor: {
3
- <DiffView extends boolean = false>({ theme, value: propValue, originalValue, modifiedValue, isOriginalModifiable, mode, noParsing, children, tabSize, height, shebang, onChange, onOriginalValueChange, onModifiedValueChange, placeholder, diffView, loading, customLoader, validatorSchema, schemaURI, cleanData, onBlur, onFocus, autoFocus, onSearchPanelOpen, onSearchBarAction, collapseUnchangedDiffView, ...resProps }: CodeEditorProps<DiffView>): JSX.Element;
3
+ <DiffView extends boolean = false>({ theme, value: propValue, originalValue, modifiedValue, isOriginalModifiable, mode, noParsing, children, tabSize, height, shebang, onChange, onOriginalValueChange, onModifiedValueChange, readOnly, placeholder, diffView, loading, customLoader, validatorSchema, schemaURI, cleanData, onBlur, onFocus, autoFocus, disableSearch, }: CodeEditorProps<DiffView>): JSX.Element;
4
4
  Clipboard: () => JSX.Element;
5
5
  Header: ({ children, className, hideDefaultSplitHeader }: import('./types').CodeEditorHeaderProps) => JSX.Element;
6
6
  Warning: ({ className, text, children }: import('./types').CodeEditorStatusBarProps) => JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { CodeEditorRendererProps } from './types';
2
- export declare const CodeEditorRenderer: ({ codemirrorMergeKey, theme, loading, customLoader, height, codeEditorTheme, readOnly, handleLhsOnChange, originalViewExtensions, handleOnChange, modifiedViewExtensions, codeMirrorParentDivRef, shebang, placeholder, onFocus, onBlur, extensions, autoFocus, diffMinimapExtensions, collapseUnchanged, disableMinimap, }: CodeEditorRendererProps) => JSX.Element;
2
+ export declare const CodeEditorRenderer: ({ codemirrorMergeKey, theme, loading, customLoader, height, codeEditorTheme, readOnly, handleLhsOnChange, originalViewExtensions, handleOnChange, modifiedViewExtensions, codeMirrorParentDivRef, shebang, placeholder, onFocus, onBlur, extensions, autoFocus, diffMinimapExtensions, }: CodeEditorRendererProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { EditorView, Panel } from '@uiw/react-codemirror';
2
- import { CodeEditorProps } from '../types';
3
- export declare const getCodeEditorFindReplace: (onSearchBarAction: CodeEditorProps["onSearchBarAction"]) => (view: EditorView) => Panel;
2
+ export declare const codeEditorFindReplace: (view: EditorView) => Panel;
@@ -29,12 +29,6 @@ type CodeEditorDiffBaseProps = {
29
29
  originalValue?: ReactCodeMirrorProps['value'];
30
30
  modifiedValue?: ReactCodeMirrorProps['value'];
31
31
  isOriginalModifiable?: boolean;
32
- /**
33
- * When true, renders a diff view in readOnly mode with collapsed unchanged diffs.
34
- * This disables the minimap, code-editor search functionality, and language linting.
35
- * @default false
36
- */
37
- collapseUnchangedDiffView?: boolean;
38
32
  };
39
33
  type CodeEditorPropsBasedOnDiffView<DiffView extends boolean> = DiffView extends true ? CodeEditorDiffBaseProps & Never<CodeEditorBaseProps> : CodeEditorBaseProps & Never<CodeEditorDiffBaseProps>;
40
34
  export type CodeEditorProps<DiffView extends boolean = false> = {
@@ -58,11 +52,6 @@ export type CodeEditorProps<DiffView extends boolean = false> = {
58
52
  disableSearch?: boolean;
59
53
  diffView?: DiffView;
60
54
  theme?: AppThemeType;
61
- onSearchPanelOpen?: () => void;
62
- /**
63
- * This method is triggered when user types something in the search/replace bar or applies a search or replace action.
64
- */
65
- onSearchBarAction?: () => void;
66
55
  } & CodeEditorPropsBasedOnDiffView<DiffView>;
67
56
  export interface GetCodeEditorHeightReturnType {
68
57
  codeEditorParentClassName: string;
@@ -74,7 +63,7 @@ export type HoverTexts = {
74
63
  typeInfo: string;
75
64
  };
76
65
  export type FindReplaceQuery = Partial<Pick<SearchQuery, 'search' | 'wholeWord' | 'regexp' | 'replace' | 'caseSensitive'>>;
77
- export interface FindReplaceProps extends Pick<CodeEditorProps, 'onSearchBarAction'> {
66
+ export interface FindReplaceProps {
78
67
  view: EditorView;
79
68
  /** Default value for Search Query state. */
80
69
  defaultQuery: SearchQuery;
@@ -105,8 +94,6 @@ export type CodeEditorRendererProps = Required<Pick<CodeEditorProps, 'theme' | '
105
94
  modifiedViewExtensions: ReactCodeMirrorProps['extensions'];
106
95
  extensions: ReactCodeMirrorProps['extensions'];
107
96
  diffMinimapExtensions: ReactCodeMirrorProps['extensions'];
108
- collapseUnchanged?: boolean;
109
- disableMinimap?: boolean;
110
97
  };
111
98
  export interface DiffMinimapProps extends Pick<CodeEditorRendererProps, 'theme'> {
112
99
  view: MergeView;
@@ -1,10 +1,11 @@
1
1
  import { SortingOrder } from '../../../Common/Constants';
2
+ import { RadioGroupItemProps, RadioGroupProps } from '../../../Common/Types';
2
3
  import { AppEnvDeploymentConfigDTO, ConfigMapSecretDataConfigDatumDTO, DeploymentTemplateDTO, EnvResourceType, TemplateListDTO } from '../../Services';
3
4
  import { ManifestTemplateDTO } from '../../../Pages/Applications';
4
5
  import { DeploymentHistoryDetail } from '../CICDHistory';
5
6
  import { CollapseProps } from '../Collapse';
6
7
  import { CollapsibleListConfig, CollapsibleListItem } from '../CollapsibleList';
7
- import { SelectPickerProps } from '../SelectPicker';
8
+ import { SelectPickerOptionType, SelectPickerProps } from '../SelectPicker';
8
9
  export declare enum DeploymentConfigDiffState {
9
10
  NO_DIFF = "noDiff",
10
11
  HAS_DIFF = "hasDiff",
@@ -26,6 +27,15 @@ export interface DeploymentConfigListItem {
26
27
  singleView?: boolean;
27
28
  groupHeader?: string;
28
29
  }
30
+ interface DeploymentConfigDiffRadioConfig extends Pick<RadioGroupProps, 'name' | 'onChange'> {
31
+ title: string;
32
+ options: (Pick<RadioGroupItemProps, 'disabled'> & Pick<SelectPickerOptionType<string>, 'label' | 'value' | 'description' | 'tooltipProps'>)[];
33
+ groupValue: string;
34
+ }
35
+ export interface DeploymentConfigDiffRadioSelectConfig {
36
+ triggerElementTitle: string;
37
+ radioGroupConfig: DeploymentConfigDiffRadioConfig[];
38
+ }
29
39
  export type DeploymentConfigDiffSelectPickerProps = {
30
40
  type: 'string';
31
41
  id: string;
@@ -36,6 +46,12 @@ export type DeploymentConfigDiffSelectPickerProps = {
36
46
  id: string;
37
47
  text?: never;
38
48
  selectPickerProps: SelectPickerProps;
49
+ } | {
50
+ type: 'radio-group';
51
+ id: string;
52
+ text?: never;
53
+ radioSelectConfig: DeploymentConfigDiffRadioSelectConfig;
54
+ selectPickerProps?: never;
39
55
  };
40
56
  export interface DeploymentConfigDiffNavigationItem extends Pick<CollapsibleListItem<'navLink'>, 'href' | 'title' | 'onClick'> {
41
57
  Icon?: React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
@@ -115,3 +131,4 @@ export type AppEnvDeploymentConfigListParams<IsManifestView> = (IsManifestView e
115
131
  isManifestView?: IsManifestView;
116
132
  convertVariables?: boolean;
117
133
  };
134
+ export {};
@@ -1,5 +1,6 @@
1
1
  import { AppEnvDeploymentConfigListParams, DeploymentConfigDiffProps } from '..';
2
2
  import { ConfigMapSecretDataConfigDatumDTO, DeploymentTemplateDTO, TemplateListDTO } from '../../Services/app.types';
3
+ import { DiffViewerProps } from '../DiffViewer/types';
3
4
  export declare const getDeploymentTemplateData: (data: DeploymentTemplateDTO) => any;
4
5
  /**
5
6
  * Retrieves the draft data from the given configuration data object.
@@ -37,3 +38,4 @@ export declare const getDefaultVersionAndPreviousDeploymentOptions: (data: Templ
37
38
  previousDeployments: TemplateListDTO[];
38
39
  defaultVersions: TemplateListDTO[];
39
40
  };
41
+ export declare const renderDiffViewNoDifferenceState: (lhsValue: string, rhsValue: string) => DiffViewerProps["codeFoldMessageRenderer"];
@@ -0,0 +1,7 @@
1
+ import { UsePopoverProps } from '../Popover';
2
+ import { DeploymentConfigDiffRadioSelectConfig } from './DeploymentConfigDiff.types';
3
+ declare const DeploymentConfigDiffRadioSelect: ({ radioSelectConfig, position, }: {
4
+ radioSelectConfig: DeploymentConfigDiffRadioSelectConfig;
5
+ position?: UsePopoverProps["position"];
6
+ }) => JSX.Element;
7
+ export default DeploymentConfigDiffRadioSelect;
@@ -2,3 +2,4 @@ export * from './DeploymentConfigDiff.component';
2
2
  export * from './DeploymentConfigDiff.constants';
3
3
  export * from './DeploymentConfigDiff.types';
4
4
  export * from './DeploymentConfigDiff.utils';
5
+ export { default as DeploymentConfigDiffRadioSelect } from './DeploymentConfigDiffRadioSelect';
@@ -0,0 +1,41 @@
1
+ import { DiffViewerProps } from './types';
2
+ /**
3
+ * Component for showing diff between two string or object.
4
+ *
5
+ * Note: Pass down the object as stringified for optimized performance.
6
+ *
7
+ * @example Usage
8
+ *
9
+ * ```tsx
10
+ * <DiffViewer
11
+ * oldValue={oldValue}
12
+ * newValue={newValue}
13
+ * />
14
+ * ```
15
+ *
16
+ * @example With left/right title for lhs/rhs
17
+ *
18
+ * ```tsx
19
+ * <DiffViewer
20
+ * oldValue={oldValue}
21
+ * newValue={newValue}
22
+ * leftTitle="Title for LHS"
23
+ * rightTitle={
24
+ * <span>Title for RHS</span>
25
+ * }
26
+ * />
27
+ * ```
28
+ *
29
+ * @example With custom message for folded code
30
+ * Note: the entire section would be clickable
31
+ *
32
+ * ```tsx
33
+ * <DiffViewer
34
+ * oldValue={oldValue}
35
+ * newValue={newValue}
36
+ * codeFoldMessageRenderer={(totalFoldedLines, leftStartLineNumber, rightStartLineNumber) => <span>Custom text</span>}
37
+ * />
38
+ * ```
39
+ */
40
+ declare const DiffViewer: ({ oldValue, newValue, leftTitle, rightTitle, ...props }: DiffViewerProps) => JSX.Element;
41
+ export default DiffViewer;
@@ -0,0 +1,2 @@
1
+ import { ReactDiffViewerProps } from 'react-diff-viewer-continued';
2
+ export declare const diffViewerStyles: ReactDiffViewerProps['styles'];
@@ -0,0 +1 @@
1
+ export { default as DiffViewer } from './DiffViewer.component';
@@ -0,0 +1,9 @@
1
+ import { ReactNode } from 'react';
2
+ import { ReactDiffViewerProps } from 'react-diff-viewer-continued';
3
+ export interface DiffViewerProps extends Pick<ReactDiffViewerProps, 'oldValue' | 'newValue' | 'codeFoldMessageRenderer'> {
4
+ leftTitle?: ReactDiffViewerProps['leftTitle'] | ReactNode;
5
+ rightTitle?: ReactDiffViewerProps['rightTitle'] | ReactNode;
6
+ }
7
+ export interface DiffViewTitleWrapperProps {
8
+ title: DiffViewerProps['leftTitle'];
9
+ }
@@ -1,2 +1,2 @@
1
1
  import { DynamicDataTableProps } from './types';
2
- export declare const DynamicDataTable: <K extends string, CustomStateType = Record<string, unknown>>({ headers, ...props }: DynamicDataTableProps<K, CustomStateType>) => JSX.Element;
2
+ export declare const DynamicDataTable: <K extends string, CustomStateType = Record<string, unknown>>({ headers, onRowAdd, ...props }: DynamicDataTableProps<K, CustomStateType>) => JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { DynamicDataTableRowProps } from './types';
2
- export declare const DynamicDataTableRow: <K extends string, CustomStateType = Record<string, unknown>>({ rows, headers, readOnly, isDeletionNotAllowed, cellError, actionButtonConfig, onRowEdit, onRowDelete, leadingCellIcon, trailingCellIcon, buttonCellWrapComponent, focusableFieldKey, shouldAutoFocusOnMount, }: DynamicDataTableRowProps<K, CustomStateType>) => JSX.Element;
2
+ export declare const DynamicDataTableRow: <K extends string, CustomStateType = Record<string, unknown>>({ rows, headers, readOnly, isDeletionNotAllowed, cellError, actionButtonConfig, onRowEdit, onRowDelete, leadingCellIcon, trailingCellIcon, buttonCellWrapComponent, focusableFieldKey, isAddRowButtonClicked, setIsAddRowButtonClicked, }: DynamicDataTableRowProps<K, CustomStateType>) => JSX.Element;
@@ -1,4 +1,4 @@
1
- import { DetailedHTMLProps, ReactElement, ReactNode } from 'react';
1
+ import { DetailedHTMLProps, Dispatch, ReactElement, ReactNode, SetStateAction } from 'react';
2
2
  import { ResizableTagTextAreaProps } from '../../../Common/CustomTagSelector';
3
3
  import { UseStateFiltersReturnType } from '../../../Common/Hooks';
4
4
  import { TooltipProps } from '@Common/Tooltip/types';
@@ -166,15 +166,11 @@ export type DynamicDataTableProps<K extends string, CustomStateType = Record<str
166
166
  * @default 'first column key'
167
167
  */
168
168
  focusableFieldKey?: K;
169
- /**
170
- * When true, the table will automatically focus the first focusable cell
171
- * or cell key denoted by `focusableFieldKey` when the component mounts.
172
- * @default false
173
- */
174
- shouldAutoFocusOnMount?: boolean;
175
169
  };
176
170
  export interface DynamicDataTableHeaderProps<K extends string, CustomStateType = Record<string, unknown>> extends Pick<DynamicDataTableProps<K, CustomStateType>, 'headers' | 'rows' | 'headerComponent' | 'sortingConfig' | 'addBtnTooltip' | 'onRowAdd' | 'readOnly' | 'isAdditionNotAllowed' | 'isDeletionNotAllowed' | 'actionButtonConfig'> {
177
171
  }
178
- export interface DynamicDataTableRowProps<K extends string, CustomStateType = Record<string, unknown>> extends Pick<DynamicDataTableProps<K, CustomStateType>, 'rows' | 'headers' | 'isAdditionNotAllowed' | 'isDeletionNotAllowed' | 'readOnly' | 'onRowEdit' | 'onRowDelete' | 'actionButtonConfig' | 'cellError' | 'leadingCellIcon' | 'trailingCellIcon' | 'buttonCellWrapComponent' | 'focusableFieldKey' | 'shouldAutoFocusOnMount'> {
172
+ export interface DynamicDataTableRowProps<K extends string, CustomStateType = Record<string, unknown>> extends Pick<DynamicDataTableProps<K, CustomStateType>, 'rows' | 'headers' | 'isAdditionNotAllowed' | 'isDeletionNotAllowed' | 'readOnly' | 'onRowEdit' | 'onRowDelete' | 'actionButtonConfig' | 'cellError' | 'leadingCellIcon' | 'trailingCellIcon' | 'buttonCellWrapComponent' | 'focusableFieldKey'> {
173
+ isAddRowButtonClicked: boolean;
174
+ setIsAddRowButtonClicked: Dispatch<SetStateAction<boolean>>;
179
175
  }
180
176
  export {};
@@ -1,10 +1,9 @@
1
1
  import { default as React, ReactNode } from 'react';
2
2
  import { ImageType } from '../../../Common';
3
3
  import { Breadcrumb } from '../../../Common/BreadCrumb/Types';
4
- import { DocLinkProps } from '../DocLink';
5
4
  interface BaseFeatureDescriptionModalProps {
6
5
  renderDescriptionContent?: () => ReactNode;
7
- docLink?: DocLinkProps['docLinkKey'];
6
+ docLink?: string;
8
7
  imageVariant?: ImageType;
9
8
  SVGImage?: React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
10
9
  imageStyles?: React.CSSProperties;
@@ -0,0 +1,2 @@
1
+ import { HTMLMotionProps } from 'framer-motion';
2
+ export declare const MotionDiv: (props: HTMLMotionProps<"div">) => JSX.Element;
@@ -1,2 +1,3 @@
1
- import { animate, AnimatePresence, motion, useMotionTemplate, useMotionValue } from 'framer-motion';
2
- export { animate, AnimatePresence, motion, useMotionTemplate, useMotionValue };
1
+ import { AnimatePresence, motion } from 'framer-motion';
2
+ export * from './MotionDiv';
3
+ export { AnimatePresence, motion };
@@ -1,4 +1,2 @@
1
1
  export { default as GenericInfoCard } from './GenericInfoCard.component';
2
- export * from './GenericInfoCardListing';
3
- export { GenericInfoListSkeleton } from './GenericInfoListSkeleton';
4
- export { GenericInfoCardBorderVariant, type GenericInfoCardListingProps, type GenericInfoCardProps } from './types';
2
+ export { GenericInfoCardBorderVariant, type GenericInfoCardProps } from './types';