@devtron-labs/devtron-fe-common-lib 0.0.79-beta-1 → 0.0.79

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.79-beta-1",
3
+ "version": "0.0.79",
4
4
  "description": "Supporting common component library",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -68,9 +68,7 @@
68
68
  "vite": "^4.5.3",
69
69
  "vite-plugin-dts": "^3.5.1",
70
70
  "vite-plugin-lib-inject-css": "^1.2.0",
71
- "vite-plugin-svgr": "^2.4.0",
72
- "react-mde": "^11.5.0"
73
-
71
+ "vite-plugin-svgr": "^2.4.0"
74
72
  },
75
73
  "peerDependencies": {
76
74
  "@rjsf/core": "^5.13.3",
@@ -81,13 +79,9 @@
81
79
  "react-router": "^5.3.0",
82
80
  "react-router-dom": "^5.3.0",
83
81
  "react-draggable": "^4.4.5",
84
- "marked": "4.3.0",
85
- "dompurify": "^3.0.2",
86
82
  "react-ga4": "^1.4.1",
87
83
  "@typeform/embed-react": "2.20.0",
88
- "yaml": "^2.4.1",
89
- "react-mde": "^11.5.0"
90
-
84
+ "yaml": "^2.4.1"
91
85
  },
92
86
  "dependencies": {
93
87
  "react-monaco-editor": "^0.54.0",
@@ -1,4 +0,0 @@
1
- import { GenericDescriptionProps } from './types';
2
-
3
- declare const GenericDescription: ({ text, updatedBy, updatedOn, isDescriptionPreview, tabIndex, updateDescription, title, minEditorHeight, }: GenericDescriptionProps) => JSX.Element;
4
- export default GenericDescription;
@@ -1,2 +0,0 @@
1
- export declare const DESCRIPTION_EMPTY_ERROR_MSG = "Readme cannot be empty. Please add some information or cancel the changes.";
2
- export declare const DESCRIPTION_UNSAVED_CHANGES_MSG = "Are you sure you want to discard your changes?";
@@ -1,2 +0,0 @@
1
- export { default as GenericDescription } from './GenericDescription';
2
- export * from './types';
@@ -1,14 +0,0 @@
1
- export interface GenericDescriptionProps {
2
- text?: string;
3
- updatedBy?: string;
4
- updatedOn?: string;
5
- isDescriptionPreview: boolean;
6
- updateDescription: (string: any) => Promise<void>;
7
- title: string;
8
- tabIndex?: number;
9
- minEditorHeight?: number;
10
- }
11
- export declare enum MDEditorSelectedTabType {
12
- WRITE = "write",
13
- PREVIEW = "preview"
14
- }
@@ -1,4 +0,0 @@
1
- import { MarkDownProps } from './Types';
2
-
3
- declare const MarkDown: ({ setExpandableIcon, markdown, className, breaks, disableEscapedText, ...props }: MarkDownProps) => JSX.Element;
4
- export default MarkDown;
@@ -1,7 +0,0 @@
1
- export interface MarkDownProps {
2
- setExpandableIcon?: (showExpandedIcon: boolean) => void;
3
- markdown: string;
4
- className?: string;
5
- breaks?: boolean;
6
- disableEscapedText?: boolean;
7
- }
@@ -1,28 +0,0 @@
1
- export declare const DEFAULT_MARKDOWN_EDITOR_PREVIEW_MESSAGE = "\n<br>\nNothing to preview\n";
2
- export declare const MARKDOWN_EDITOR_COMMANDS: string[][];
3
- export declare enum MARKDOWN_EDITOR_COMMAND_TITLE {
4
- HEADER = "header",
5
- BOLD = "bold",
6
- ITALIC = "italic",
7
- STRIKETHROUGH = "strikethrough",
8
- LINK = "link",
9
- QUOTE = "quote",
10
- CODE = "code",
11
- IMAGE = "image",
12
- UNORDERED_LIST = "unordered-list",
13
- ORDERED_LIST = "ordered-list",
14
- CHECKED_LIST = "checked-list"
15
- }
16
- export declare const MARKDOWN_EDITOR_COMMAND_ICON_TIPPY_CONTENT: {
17
- header: string;
18
- bold: string;
19
- italic: string;
20
- strikethrough: string;
21
- link: string;
22
- quote: string;
23
- code: string;
24
- image: string;
25
- "unordered-list": string;
26
- "ordered-list": string;
27
- "checked-list": string;
28
- };
@@ -1 +0,0 @@
1
- export { default as MarkDown } from './MarkDown';