@devtron-labs/devtron-fe-common-lib 1.15.0-beta-5 → 1.15.0-beta-7

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 (45) hide show
  1. package/dist/{@code-editor-B7lvJw7e.js → @code-editor-DWa6E82u.js} +5728 -5766
  2. package/dist/{@common-rjsf-CO4Ot-Iz.js → @common-rjsf-DduQfQ0p.js} +222 -230
  3. package/dist/{@framer-motion-C5Xvz7Lq.js → @framer-motion-Dchiw-Rb.js} +1 -1
  4. package/dist/{@react-dates-B6q1sdbJ.js → @react-dates-D5kydtW-.js} +14 -14
  5. package/dist/{@react-select-LSvqtVJj.js → @react-select-Cmser7OI.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-BpJty95h.js → @react-virtualized-sticky-tree-DMnFy9PE.js} +1 -1
  7. package/dist/{@vendor-DC3JvJ9U.js → @vendor-STJ9h0oI.js} +9657 -9667
  8. package/dist/Common/Dialogs/Types.d.ts +0 -17
  9. package/dist/Common/Dialogs/index.d.ts +0 -1
  10. package/dist/Common/RJSF/widgets/Checkbox.d.ts +1 -1
  11. package/dist/Common/Types.d.ts +1 -43
  12. package/dist/Common/index.d.ts +0 -2
  13. package/dist/Pages/ResourceBrowser/types.d.ts +0 -5
  14. package/dist/Shared/Components/DocLink/types.d.ts +1 -0
  15. package/dist/Shared/Components/DocLink/utils.d.ts +1 -1
  16. package/dist/Shared/Components/Icon/Icon.d.ts +4 -4
  17. package/dist/Shared/Components/Switch/Switch.component.d.ts +1 -1
  18. package/dist/Shared/Components/Switch/types.d.ts +11 -2
  19. package/dist/Shared/Components/Switch/utils.d.ts +2 -2
  20. package/dist/Shared/Components/SwitchThemeDialog/SwitchThemeDialog.component.d.ts +3 -0
  21. package/dist/Shared/Components/SwitchThemeDialog/index.d.ts +2 -0
  22. package/dist/Shared/Components/SwitchThemeDialog/types.d.ts +35 -0
  23. package/dist/Shared/Components/ToggleResolveScopedVariables/ToggleResolveScopedVariables.component.d.ts +1 -1
  24. package/dist/Shared/Components/ToggleResolveScopedVariables/types.d.ts +1 -1
  25. package/dist/Shared/Components/index.d.ts +1 -0
  26. package/dist/Shared/Providers/types.d.ts +28 -10
  27. package/dist/Shared/types.d.ts +0 -1
  28. package/dist/assets/@code-editor.css +1 -1
  29. package/dist/assets/ic-add.2d785695.svg +3 -0
  30. package/dist/assets/ic-asterisk.ab224e72.svg +3 -0
  31. package/dist/assets/ic-folder-color.7cf84356.svg +6 -0
  32. package/dist/assets/ic-memory.82ba7e9b.svg +3 -0
  33. package/dist/assets/{ic-minus.aac464f7.svg → ic-minus.416da21b.svg} +1 -1
  34. package/dist/assets/ic-world-globe.877fa6a0.svg +3 -0
  35. package/dist/index.js +763 -765
  36. package/package.json +3 -3
  37. package/dist/Common/Dialogs/ConfirmationDialog.d.ts +0 -11
  38. package/dist/Common/InfoColorBar/InfoColourbar.d.ts +0 -6
  39. package/dist/Common/Toggle/Toggle.d.ts +0 -18
  40. package/dist/assets/ic-add.18a93616.svg +0 -19
  41. package/dist/assets/ic-cloud-upload.6f45f51c.svg +0 -3
  42. package/dist/assets/ic-link-broken.555fa4e1.svg +0 -3
  43. package/dist/assets/ic-link.52effffd.svg +0 -3
  44. package/dist/assets/ic-memory.bf999de5.svg +0 -3
  45. package/dist/assets/ic-swap.38b2ac9e.svg +0 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtron-labs/devtron-fe-common-lib",
3
- "version": "1.15.0-beta-5",
3
+ "version": "1.15.0-beta-7",
4
4
  "description": "Supporting common component library",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -72,7 +72,7 @@
72
72
  "sharp": "^0.33.5",
73
73
  "svgo": "^3.3.2",
74
74
  "typescript": "5.5.4",
75
- "vite": "5.4.17",
75
+ "vite": "5.4.19",
76
76
  "vite-plugin-dts": "4.0.3",
77
77
  "vite-plugin-image-optimizer": "^1.1.8",
78
78
  "vite-plugin-lib-inject-css": "2.1.1",
@@ -135,7 +135,7 @@
135
135
  "react-dom": "^17.0.2"
136
136
  },
137
137
  "vite-plugin-svgr": {
138
- "vite": "5.4.17"
138
+ "vite": "5.4.19"
139
139
  },
140
140
  "react-virtualized-sticky-tree": {
141
141
  "react": "^17.0.2",
@@ -1,11 +0,0 @@
1
- import { ConfirmationDialogBodyType, ConfirmationDialogButtonGroupType, ConfirmationDialogIconType, ConfirmationDialogType } from './Types';
2
- /**
3
- * @deprecated use confirmation modal instead
4
- */
5
- declare const ConfirmationDialog: {
6
- ({ className, children, close }: ConfirmationDialogType): JSX.Element;
7
- Icon: ({ src, className }: ConfirmationDialogIconType) => JSX.Element;
8
- Body: ({ title, subtitle, children }: ConfirmationDialogBodyType) => JSX.Element;
9
- ButtonGroup: ({ children }: ConfirmationDialogButtonGroupType) => JSX.Element;
10
- };
11
- export default ConfirmationDialog;
@@ -1,6 +0,0 @@
1
- import { InfoColourBarType } from '../Types';
2
- /**
3
- * @deprecated Use InfoBlock instead
4
- */
5
- declare const InfoColourBar: ({ message, classname, Icon, iconClass, iconSize, renderActionButton, linkText, redirectLink, linkOnClick, linkClass, internalLink, styles, hideIcon, textConfig, }: InfoColourBarType) => JSX.Element;
6
- export default InfoColourBar;
@@ -1,18 +0,0 @@
1
- import { CHECKBOX_VALUE } from '../Types';
2
- declare const Toggle: ({ selected, onSelect, color, rootClassName, disabled, dataTestId, Icon, iconClass, throttleOnChange, shouldToggleValueOnLabelClick, isLoading, value, isControlled, ...props }: {
3
- [x: string]: any;
4
- selected?: boolean;
5
- onSelect?: any;
6
- color?: string;
7
- rootClassName?: string;
8
- disabled?: boolean;
9
- dataTestId?: string;
10
- Icon?: any;
11
- iconClass?: string;
12
- throttleOnChange?: boolean;
13
- shouldToggleValueOnLabelClick?: boolean;
14
- isLoading?: boolean;
15
- value?: CHECKBOX_VALUE;
16
- isControlled?: boolean;
17
- }) => JSX.Element;
18
- export default Toggle;
@@ -1,19 +0,0 @@
1
- <!--
2
- - Copyright (c) 2024. Devtron Inc.
3
- -
4
- - Licensed under the Apache License, Version 2.0 (the "License");
5
- - you may not use this file except in compliance with the License.
6
- - You may obtain a copy of the License at
7
- -
8
- - http://www.apache.org/licenses/LICENSE-2.0
9
- -
10
- - Unless required by applicable law or agreed to in writing, software
11
- - distributed under the License is distributed on an "AS IS" BASIS,
12
- - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- - See the License for the specific language governing permissions and
14
- - limitations under the License.
15
- -->
16
-
17
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
18
- <path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M6 12h12m-6-6v12" vector-effect="non-scaling-stroke"/>
19
- </svg>
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
- <path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M9 19.498H6.75A5.25 5.25 0 1 1 8.055 9.162M7.5 11.998a7.5 7.5 0 1 1 13.5 4.5m-9.932-1.318 3.182-3.182m0 0 3.182 3.182m-3.182-3.182v7.5" vector-effect="non-scaling-stroke"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
- <path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M8.4 5.7V3m7.2 18v-2.7M5.7 8.4H3m18 7.2h-2.7M5.591 12.046l-1.273 1.273a4.5 4.5 0 0 0 6.364 6.364l1.273-1.273m6.454-6.455 1.273-1.273a4.5 4.5 0 0 0-6.364-6.364l-1.273 1.273" vector-effect="non-scaling-stroke"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
- <path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M11.43 6.297 13.426 4.3a4.436 4.436 0 1 1 6.273 6.273l-2.851 2.852a4.435 4.435 0 0 1-6.274 0m1.996 4.277L10.574 19.7a4.434 4.434 0 0 1-7.236-1.438 4.436 4.436 0 0 1 .963-4.835l2.851-2.852a4.436 4.436 0 0 1 6.274 0" vector-effect="non-scaling-stroke"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
- <path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M6 19v-3m4 3v-3m4 3v-3m4 3v-3M8 11V9m8 2V9m-4 2V9M2 15h20M2 7a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v1.1a2 2 0 0 0 0 3.837V17a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-5.1a2 2 0 0 0 0-3.837V7Z" vector-effect="non-scaling-stroke"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
- <path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M15.516 9.786h4.5m0 0v-4.5m0 4.5C18.29 7.52 16.139 3.628 13 3c-2.5-.5-4 .5-6 2M2 8.35h6v6H2v-6Zm12 4.531h8v8h-8v-8Z" vector-effect="non-scaling-stroke"/>
3
- </svg>