@devtron-labs/devtron-fe-common-lib 1.22.8-beta-14 → 1.22.8-beta-16

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 (56) hide show
  1. package/dist/{@code-editor-BF03LosD.js → @code-editor-BKmOO8la.js} +4791 -4779
  2. package/dist/{@common-rjsf-Dj7e6o3g.js → @common-rjsf-BtndShoU.js} +181 -181
  3. package/dist/@framer-motion-wap8UOQD.js +4959 -0
  4. package/dist/{@react-select-BDsfVQrM.js → @react-select-VU7Fmo9p.js} +1 -1
  5. package/dist/{@react-virtualized-sticky-tree-ByqEaVzu.js → @react-virtualized-sticky-tree-CAu3_TV1.js} +3 -3
  6. package/dist/{@vendor-BgJdIb1H.js → @vendor-WBEJ0Pz6.js} +129197 -81276
  7. package/dist/Common/API/reactQueryHooks.d.ts +1 -1
  8. package/dist/Common/Checkbox/Checkbox.d.ts +1 -1
  9. package/dist/Common/DevtronProgressing/DevtronProgressing.d.ts +1 -0
  10. package/dist/Common/Drawer/Drawer.d.ts +2 -2
  11. package/dist/Common/EmptyState/GenericEmptyState.d.ts +1 -0
  12. package/dist/Common/GenericDescription/types.d.ts +1 -0
  13. package/dist/Common/Modals/VisibleModal.d.ts +0 -1
  14. package/dist/Common/Progressing.d.ts +1 -0
  15. package/dist/Common/RJSF/Form.d.ts +1 -2
  16. package/dist/Common/Types.d.ts +4 -3
  17. package/dist/Pages/ResourceBrowser/types.d.ts +1 -1
  18. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/types.d.ts +1 -1
  19. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +28 -13
  20. package/dist/Shared/Components/Backdrop/Backdrop.d.ts +1 -1
  21. package/dist/Shared/Components/Backdrop/types.d.ts +1 -1
  22. package/dist/Shared/Components/BulkSelection/BulkSelection.d.ts +1 -1
  23. package/dist/Shared/Components/BulkSelection/types.d.ts +2 -0
  24. package/dist/Shared/Components/Button/Button.component.d.ts +2 -388
  25. package/dist/Shared/Components/CICDHistory/BuildAndTaskSummaryTooltipCard.d.ts +1 -0
  26. package/dist/Shared/Components/CICDHistory/GitTriggerList.d.ts +1 -0
  27. package/dist/Shared/Components/CICDHistory/History.components.d.ts +1 -0
  28. package/dist/Shared/Components/CICDHistory/WorkerStatus.d.ts +1 -0
  29. package/dist/Shared/Components/CICDHistory/types.d.ts +1 -1
  30. package/dist/Shared/Components/CICDHistory/utils.d.ts +1 -1
  31. package/dist/Shared/Components/CodeEditor/types.d.ts +1 -1
  32. package/dist/Shared/Components/ConfirmationModal/types.d.ts +0 -1
  33. package/dist/Shared/Components/DTFocusTrap/DTFocusTrap.d.ts +1 -1
  34. package/dist/Shared/Components/DTFocusTrap/types.d.ts +0 -1
  35. package/dist/Shared/Components/ExportToCsv/types.d.ts +1 -0
  36. package/dist/Shared/Components/GenericModal/GenericModal.component.d.ts +1 -1
  37. package/dist/Shared/Components/GenericModal/types.d.ts +1 -1
  38. package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +1 -1
  39. package/dist/Shared/Components/Header/types.d.ts +1 -0
  40. package/dist/Shared/Components/Illustration/Illustration.d.ts +0 -1
  41. package/dist/Shared/Components/ImageWithFallback/types.d.ts +1 -1
  42. package/dist/Shared/Components/ModalSidebarPanel/types.d.ts +1 -1
  43. package/dist/Shared/Components/Security/SecurityModal/types.d.ts +1 -1
  44. package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +1 -0
  45. package/dist/Shared/Components/TreeView/types.d.ts +1 -1
  46. package/dist/Shared/Helpers.d.ts +1 -1
  47. package/dist/Shared/Hooks/useForm/useForm.d.ts +1 -1
  48. package/dist/Shared/Providers/MainContextProvider/types.d.ts +1 -1
  49. package/dist/assets/@code-editor.css +1 -1
  50. package/dist/assets/@vendor.css +1 -1
  51. package/dist/index.d.ts +15 -13
  52. package/dist/index.js +4 -4
  53. package/package.json +19 -14
  54. package/dist/@framer-motion-DFkGgMz7.js +0 -3606
  55. package/dist/Shared/Services/ToastManager/toastManager.service.d.ts +0 -80
  56. package/dist/assets/cmd-bar-visual.340d6226.webp +0 -0
@@ -1,80 +0,0 @@
1
- import { ToastOptions } from 'react-toastify';
2
- import { ToastProps } from './types';
3
- /**
4
- * Service for handling toast across the application
5
- *
6
- * Note: The application needs to have `ToastManagerContainer` at the root
7
- * level for the toast to work
8
- *
9
- * @example Default Usage
10
- * ```ts
11
- * ToastManager.showToast({
12
- * description: 'Lorem ipsum'
13
- * })
14
- * ```
15
- *
16
- * @example Custom Title
17
- * ```ts
18
- * ToastManager.showToast({
19
- * description: 'Lorem ipsum',
20
- * title: 'Toast title'
21
- * })
22
- * ```
23
- *
24
- * @example With Button
25
- * ```ts
26
- * ToastManager.showToast({
27
- * description: 'Lorem ipsum',
28
- * buttonProps: {
29
- * dataTestId: 'toast-btn',
30
- * text: 'Reload',
31
- * startIcon: <ICArrowClockwise />
32
- * }
33
- * })
34
- * ```
35
- *
36
- * @example Auto close disabled
37
- * ```ts
38
- * ToastManager.showToast({
39
- * description: 'Lorem ipsum',
40
- * toastOptions: {
41
- * autoClose: false,
42
- * },
43
- * })
44
- * ```
45
- *
46
- * @example Custom progress bar color
47
- * ```ts
48
- * ToastManager.showToast({
49
- * description: 'Lorem ipsum',
50
- * progressBarBg: 'var(--N700)',
51
- * })
52
- * ```
53
- *
54
- * @example Custom icon
55
- * ```ts
56
- * ToastManager.showToast({
57
- * description: 'Lorem ipsum',
58
- * icon: <ICCube />,
59
- * })
60
- * ```
61
- */
62
- declare class ToastManager {
63
- #private;
64
- static get instance(): ToastManager;
65
- /**
66
- * Handler for showing the toast
67
- */
68
- showToast: ({ variant, icon: customIcon, title, description, buttonProps, progressBarBg: customProgressBarBg, text, shortcuts, }: ToastProps, options?: Pick<ToastOptions, "autoClose">) => import('react-toastify').Id;
69
- /**
70
- * Handler for dismissing an existing toast
71
- */
72
- dismissToast: (id?: import('react-toastify').Id | undefined) => void;
73
- /**
74
- * Handler for checking if the toast is active
75
- */
76
- isToastActive: (id: import('react-toastify').Id) => boolean;
77
- }
78
- export declare const ToastManagerContainer: () => import("react/jsx-runtime").JSX.Element;
79
- declare const _default: ToastManager;
80
- export default _default;