@devtron-labs/devtron-fe-common-lib 0.0.6-beta-13 → 0.0.6-beta-14

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.6-beta-13",
3
+ "version": "0.0.6-beta-14",
4
4
  "description": "Supporting common component library",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -28,14 +28,14 @@
28
28
  "@types/react": "17.0.39",
29
29
  "@types/react-dom": "17.0.13",
30
30
  "@types/react-router-dom": "^5.3.3",
31
- "rollup": "^3.7.3",
31
+ "rollup": "^3.10.0",
32
32
  "rollup-plugin-delete": "^2.0.0",
33
33
  "@svgr/rollup": "6.5.1",
34
34
  "@rollup/plugin-url": "8.0.1",
35
35
  "typescript": "^4.9.4",
36
36
  "react-toastify": "^8.2.0",
37
37
  "@tippyjs/react": "^4.2.0",
38
- "@sentry/browser": "^7.3.1"
38
+ "@sentry/browser": "^7.31.1"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "react": "^17.0.2",
@@ -43,6 +43,7 @@
43
43
  "react-router-dom": "^5.3.0"
44
44
  },
45
45
  "dependencies": {
46
- "sass": "^1.56.2"
46
+ "sass": "^1.56.2",
47
+ "tslib": "^2.4.1"
47
48
  }
48
49
  }
package/rollup.config.js CHANGED
@@ -5,7 +5,7 @@ import postcss from 'rollup-plugin-postcss'
5
5
  import { babel } from '@rollup/plugin-babel'
6
6
  import del from 'rollup-plugin-delete'
7
7
  import pkg from './package.json'
8
- import svgr from '@svgr/rollup';
8
+ import svgr from '@svgr/rollup'
9
9
  import url from '@rollup/plugin-url'
10
10
 
11
11
  export default {
@@ -23,7 +23,7 @@ export default {
23
23
  }),
24
24
  del({ targets: ['dist/*'] }),
25
25
  url(),
26
- svgr()
26
+ svgr(),
27
27
  ],
28
28
  external: Object.keys(pkg.peerDependencies || {}),
29
29
  }
@@ -2,8 +2,15 @@ import React from 'react'
2
2
  import PropagateTagInfo from './PropagateTagInfo'
3
3
  import { ReactComponent as Add } from '../../Assets/Icon/ic-add.svg'
4
4
  import TagDetails from './TagDetails'
5
+ import { TagType } from '../Types'
5
6
 
6
- export default function TagLabelSelect({ labelTags, setLabelTags }) {
7
+ export const TagLabelSelect = ({
8
+ labelTags,
9
+ setLabelTags,
10
+ }: {
11
+ labelTags: TagType[]
12
+ setLabelTags: (tagList: TagType[]) => void
13
+ }) => {
7
14
  const setTagData = (index, tagValue): void => {
8
15
  const _tags = [...labelTags]
9
16
  _tags[index] = tagValue
@@ -1,4 +1,4 @@
1
- export * from './ConfirmationDialog'
1
+ export { default as ConfirmationDialog } from './ConfirmationDialog'
2
2
  export * from './DeleteDialog'
3
3
  export * from './DialogForm'
4
- export * from './ForceDeleteDialog'
4
+ export { default as ForceDeleteDialog } from './ForceDeleteDialog'
@@ -16,6 +16,6 @@ export * from './Modals/VisibleModal2'
16
16
  export { BreadCrumb, useBreadcrumb } from './BreadCrumb/BreadCrumb'
17
17
  export { default as BreadcrumbStore } from './BreadCrumb/BreadcrumbStore'
18
18
  export * from './RadioGroup'
19
- export * from './PopupMenu'
19
+ export { default as PopupMenu } from './PopupMenu'
20
20
  export * from './TippyCustomized'
21
21
  export * from './CustomTagSelector'
package/tsconfig.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "target": "es6",
3
+ "target": "es5",
4
4
  "downlevelIteration": true,
5
5
  "lib": [
6
6
  "dom",