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

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 (63) hide show
  1. package/dist/{@code-editor-HSnWIsdy.js → @code-editor-DzhuxG2q.js} +7258 -6809
  2. package/dist/{@common-rjsf-DL7VX2pP.js → @common-rjsf-DeAABiF4.js} +2 -2
  3. package/dist/{@framer-motion-DHFT2Onf.js → @framer-motion-DZUlzA7e.js} +114 -114
  4. package/dist/{@react-dates-H99Kf-Gu.js → @react-dates-RijHSFem.js} +1 -1
  5. package/dist/{@react-select-DaoN_kK0.js → @react-select-Ca8t5EwF.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-BSYoHRT0.js → @react-virtualized-sticky-tree-BtIGiPdm.js} +1 -1
  7. package/dist/{@vendor-CmKnC58P.js → @vendor-4tuBSE-O.js} +14740 -15059
  8. package/dist/Common/API/CoreAPI.d.ts +16 -0
  9. package/dist/Common/API/constants.d.ts +70 -0
  10. package/dist/Common/API/index.d.ts +3 -0
  11. package/dist/Common/API/types.d.ts +26 -0
  12. package/dist/Common/API/utils.d.ts +11 -0
  13. package/dist/Common/Constants.d.ts +2 -0
  14. package/dist/Common/RJSF/Form.d.ts +1 -1
  15. package/dist/Common/SegmentedBarChart/types.d.ts +1 -0
  16. package/dist/Common/index.d.ts +1 -1
  17. package/dist/Shared/Components/ConfirmationModal/types.d.ts +0 -4
  18. package/dist/Shared/Components/CountrySelect/CountrySelect.component.d.ts +3 -0
  19. package/dist/Shared/Components/CountrySelect/index.d.ts +1 -0
  20. package/dist/Shared/Components/CountrySelect/types.d.ts +7 -0
  21. package/dist/Shared/Components/CountrySelect/utils.d.ts +4 -0
  22. package/dist/Shared/Components/CustomInput/CustomInput.d.ts +1 -1
  23. package/dist/Shared/Components/CustomInput/types.d.ts +5 -1
  24. package/dist/Shared/Components/FlagImage/FlagImage.component.d.ts +3 -0
  25. package/dist/Shared/Components/FlagImage/index.d.ts +1 -0
  26. package/dist/Shared/Components/FlagImage/types.d.ts +5 -0
  27. package/dist/Shared/Components/Icon/Icon.d.ts +7 -0
  28. package/dist/Shared/Components/LicenseInfoDialog/LicenseInfoDialog.components.d.ts +31 -0
  29. package/dist/Shared/Components/LicenseInfoDialog/LicenseInfoDialog.d.ts +2 -0
  30. package/dist/Shared/Components/LicenseInfoDialog/UpdateLicenseDialog.d.ts +2 -0
  31. package/dist/Shared/Components/LicenseInfoDialog/constants.d.ts +2 -0
  32. package/dist/Shared/Components/LicenseInfoDialog/index.d.ts +2 -0
  33. package/dist/Shared/Components/LicenseInfoDialog/types.d.ts +5 -0
  34. package/dist/Shared/Components/LogoutCard.d.ts +1 -1
  35. package/dist/Shared/Components/PhoneInput/PhoneInput.component.d.ts +3 -0
  36. package/dist/Shared/Components/PhoneInput/index.d.ts +1 -0
  37. package/dist/Shared/Components/PhoneInput/types.d.ts +11 -0
  38. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +1 -1
  39. package/dist/Shared/Components/index.d.ts +5 -1
  40. package/dist/Shared/Helpers.d.ts +5 -1
  41. package/dist/Shared/Hooks/index.d.ts +1 -0
  42. package/dist/Shared/Hooks/useStickyEvent/constants.d.ts +3 -0
  43. package/dist/Shared/Hooks/useStickyEvent/index.d.ts +1 -0
  44. package/dist/Shared/Hooks/useStickyEvent/types.d.ts +32 -0
  45. package/dist/Shared/Hooks/useStickyEvent/useStickyEvent.d.ts +8 -0
  46. package/dist/Shared/Hooks/useStickyEvent/utils.d.ts +2 -0
  47. package/dist/Shared/Providers/ThemeProvider/index.d.ts +0 -1
  48. package/dist/Shared/Providers/ThemeProvider/types.d.ts +1 -5
  49. package/dist/Shared/constants.d.ts +2 -0
  50. package/dist/Shared/types.d.ts +33 -0
  51. package/dist/assets/@code-editor.css +1 -1
  52. package/dist/assets/ic-book-open.e839bbda.svg +3 -0
  53. package/dist/assets/ic-caret-left.3df25a7c.svg +3 -0
  54. package/dist/assets/ic-chat-circle-dots.b5afd171.svg +3 -0
  55. package/dist/assets/ic-devtron-header-logo.7dc157aa.svg +4 -0
  56. package/dist/assets/ic-devtron.b509a49f.svg +4 -0
  57. package/dist/assets/ic-key.56432553.svg +19 -0
  58. package/dist/assets/ic-timer.56e79173.svg +19 -0
  59. package/dist/index.js +767 -756
  60. package/package.json +2 -2
  61. package/dist/Common/Api.d.ts +0 -15
  62. package/dist/Shared/Components/Confetti/Confetti.component.d.ts +0 -2
  63. package/dist/Shared/Components/Confetti/index.d.ts +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtron-labs/devtron-fe-common-lib",
3
- "version": "1.8.9-beta-3",
3
+ "version": "1.8.10-beta-1",
4
4
  "description": "Supporting common component library",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -118,11 +118,11 @@
118
118
  "jsonpath-plus": "^10.3.0",
119
119
  "marked": "^13.0.3",
120
120
  "nanoid": "^3.3.8",
121
- "react-canvas-confetti": "^2.0.7",
122
121
  "react-codemirror-merge": "4.23.6",
123
122
  "react-dates": "^21.8.0",
124
123
  "react-diff-viewer-continued": "^3.4.0",
125
124
  "react-draggable": "^4.4.5",
125
+ "react-international-phone": "^4.5.0",
126
126
  "react-monaco-editor": "^0.54.0",
127
127
  "react-virtualized-sticky-tree": "^3.0.0-beta18",
128
128
  "sass": "^1.69.7",
@@ -1,15 +0,0 @@
1
- import { MutableRefObject } from 'react';
2
- import { ResponseType, APIOptions } from './Types';
3
- export declare const post: <T = any, K = object>(url: string, data: K, options?: APIOptions, isMultipartRequest?: boolean) => Promise<ResponseType<T>>;
4
- export declare const put: <T = any, K = object>(url: string, data: K, options?: APIOptions) => Promise<ResponseType<T>>;
5
- export declare const patch: <T = any, K = object>(url: string, data: K, options?: APIOptions) => Promise<ResponseType<T>>;
6
- export declare const get: <T = any>(url: string, options?: APIOptions) => Promise<ResponseType<T>>;
7
- export declare const trash: <T = any, K = object>(url: string, data?: K, options?: APIOptions) => Promise<ResponseType<T>>;
8
- /**
9
- * Aborts the previous request before triggering next request
10
- */
11
- export declare const abortPreviousRequests: <T>(callback: () => Promise<T>, abortControllerRef: MutableRefObject<AbortController>) => Promise<T>;
12
- /**
13
- * Returns true if the error is due to a aborted request
14
- */
15
- export declare const getIsRequestAborted: (error: any) => boolean;
@@ -1,2 +0,0 @@
1
- declare const Confetti: () => JSX.Element;
2
- export default Confetti;
@@ -1 +0,0 @@
1
- export { default as Confetti } from './Confetti.component';