@devtron-labs/devtron-fe-common-lib 1.14.1-pre-3 → 1.14.1-pre-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.
- package/dist/{@code-editor-CRu2zup5.js → @code-editor-BerlFPcZ.js} +14575 -14679
- package/dist/{@common-rjsf-CdWy2S0B.js → @common-rjsf-LvBnybtX.js} +7 -7
- package/dist/{@framer-motion-u7P-WzAO.js → @framer-motion-BBrovRGX.js} +1 -1
- package/dist/{@react-dates-B9MPAm_X.js → @react-dates-BN55ZZis.js} +1 -1
- package/dist/{@react-select-BjvVd-sE.js → @react-select-Be-sUPBr.js} +6 -6
- package/dist/{@react-virtualized-sticky-tree-B8m_4lZW.js → @react-virtualized-sticky-tree-C1LT8GyU.js} +1 -1
- package/dist/{@vendor-BtL2Znh4.js → @vendor-DpX3lhti.js} +13633 -15527
- package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
- package/dist/Common/RJSF/Form.d.ts +1 -1
- package/dist/Common/Types.d.ts +6 -8
- package/dist/Common/index.d.ts +0 -1
- package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +11 -11
- package/dist/Shared/Components/CodeEditor/CodeEditor.d.ts +1 -1
- package/dist/Shared/Components/CodeEditor/CodeEditorRenderer.d.ts +1 -1
- package/dist/Shared/Components/CodeEditor/types.d.ts +8 -0
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.utils.d.ts +0 -2
- package/dist/Shared/{DocLink → Components/DocLink}/DocLink.d.ts +1 -1
- package/dist/Shared/{DocLink → Components/DocLink}/constants.d.ts +6 -4
- package/dist/Shared/{DocLink → Components/DocLink}/index.d.ts +1 -0
- package/dist/Shared/Components/DocLink/types.d.ts +18 -0
- package/dist/Shared/Components/FeatureDescription/FeatureDescriptionModal.d.ts +1 -1
- package/dist/Shared/Components/FeatureDescription/FeatureTitleWithInfo.d.ts +1 -1
- package/dist/Shared/Components/FeatureDescription/types.d.ts +3 -5
- package/dist/Shared/Components/FramerComponents/index.d.ts +2 -3
- package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
- package/dist/Shared/Components/Header/types.d.ts +5 -10
- package/dist/Shared/Components/InfoIconTippy/InfoIconTippy.d.ts +1 -1
- package/dist/Shared/Components/ModalSidebarPanel/ModalSidebarPanel.component.d.ts +1 -1
- package/dist/Shared/Components/ModalSidebarPanel/types.d.ts +3 -4
- package/dist/Shared/Components/Popover/utils.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +1 -1
- package/dist/Shared/Components/index.d.ts +1 -1
- package/dist/Shared/Providers/index.d.ts +1 -1
- package/dist/Shared/Providers/types.d.ts +16 -0
- package/dist/Shared/types.d.ts +5 -0
- package/dist/assets/@code-editor.css +1 -1
- package/dist/index.js +654 -653
- package/package.json +1 -2
- package/dist/Shared/Components/DiffViewer/DiffViewer.component.d.ts +0 -41
- package/dist/Shared/Components/DiffViewer/constants.d.ts +0 -2
- package/dist/Shared/Components/DiffViewer/index.d.ts +0 -1
- package/dist/Shared/Components/DiffViewer/types.d.ts +0 -9
- package/dist/Shared/Components/FramerComponents/MotionDiv.d.ts +0 -2
- package/dist/Shared/DocLink/types.d.ts +0 -11
- /package/dist/Shared/{DocLink → Components/DocLink}/utils.d.ts +0 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@devtron-labs/devtron-fe-common-lib",
|
3
|
-
"version": "1.14.1-pre-
|
3
|
+
"version": "1.14.1-pre-5",
|
4
4
|
"description": "Supporting common component library",
|
5
5
|
"type": "module",
|
6
6
|
"main": "dist/index.js",
|
@@ -122,7 +122,6 @@
|
|
122
122
|
"qrcode.react": "^4.2.0",
|
123
123
|
"react-canvas-confetti": "^2.0.7",
|
124
124
|
"react-dates": "^21.8.0",
|
125
|
-
"react-diff-viewer-continued": "^3.4.0",
|
126
125
|
"react-draggable": "^4.4.5",
|
127
126
|
"react-international-phone": "^4.5.0",
|
128
127
|
"react-virtualized-sticky-tree": "^3.0.0-beta18",
|
@@ -1,41 +0,0 @@
|
|
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;
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default as DiffViewer } from './DiffViewer.component';
|
@@ -1,9 +0,0 @@
|
|
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,11 +0,0 @@
|
|
1
|
-
import { ButtonComponentType, ButtonProps } from '../Components';
|
2
|
-
import { DOCUMENTATION } from './constants';
|
3
|
-
export type BaseDocLink<T extends boolean> = {
|
4
|
-
isExternalLink?: T;
|
5
|
-
isEnterprise?: boolean;
|
6
|
-
docLinkKey: T extends true ? string : keyof typeof DOCUMENTATION;
|
7
|
-
};
|
8
|
-
export type DocLinkProps<T extends boolean> = Pick<ButtonProps<ButtonComponentType.anchor>, 'onClick' | 'dataTestId' | 'size' | 'variant'> & BaseDocLink<T> & {
|
9
|
-
text?: string;
|
10
|
-
showExternalIcon?: boolean;
|
11
|
-
};
|
File without changes
|