@devtron-labs/devtron-fe-common-lib 1.18.0 → 1.18.1-beta-0

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 (55) hide show
  1. package/dist/{@code-editor-Cmi_dLiG.js → @code-editor-B4fpn5b3.js} +8594 -8380
  2. package/dist/{@common-rjsf-DTSwvp93.js → @common-rjsf-CahV__Ce.js} +2 -2
  3. package/dist/{@framer-motion-j6RIjEIR.js → @framer-motion-DZveCoIL.js} +1 -1
  4. package/dist/{@react-dates-BVyHiOGU.js → @react-dates-CZ1bNWJM.js} +213 -213
  5. package/dist/{@react-select-BQNFZu0Y.js → @react-select-DS68hCUM.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-CuElh0mS.js → @react-virtualized-sticky-tree-V-8klKy9.js} +1 -1
  7. package/dist/{@vendor-DbxoIktR.js → @vendor-3ORIJA0h.js} +22139 -16828
  8. package/dist/Common/API/CoreAPI.d.ts +11 -0
  9. package/dist/Common/API/QueryClientProvider.d.ts +2 -0
  10. package/dist/Common/API/index.d.ts +2 -0
  11. package/dist/Common/API/reactQueryHooks.d.ts +6 -0
  12. package/dist/Common/Constants.d.ts +1 -1
  13. package/dist/Common/Drawer/Drawer.d.ts +3 -2
  14. package/dist/Common/ErrorPage.d.ts +1 -1
  15. package/dist/Common/ErrorScreenManager.d.ts +1 -1
  16. package/dist/Common/Modals/Modal.d.ts +1 -2
  17. package/dist/Common/Modals/VisibleModal.d.ts +6 -8
  18. package/dist/Common/Modals/VisibleModal2.d.ts +4 -7
  19. package/dist/Common/RJSF/Form.d.ts +1 -1
  20. package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -1
  21. package/dist/Common/SearchBar/types.d.ts +6 -0
  22. package/dist/Common/Types.d.ts +11 -2
  23. package/dist/Shared/Components/Backdrop/Backdrop.d.ts +1 -1
  24. package/dist/Shared/Components/Backdrop/types.d.ts +2 -10
  25. package/dist/Shared/Components/Button/Button.component.d.ts +24 -12
  26. package/dist/Shared/Components/Button/types.d.ts +4 -0
  27. package/dist/Shared/Components/DTFocusTrap/DTFocusTrap.d.ts +3 -0
  28. package/dist/Shared/Components/DTFocusTrap/index.d.ts +2 -0
  29. package/dist/Shared/Components/DTFocusTrap/types.d.ts +33 -0
  30. package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
  31. package/dist/Shared/Components/Header/types.d.ts +2 -0
  32. package/dist/Shared/Components/Icon/Icon.d.ts +5 -0
  33. package/dist/Shared/Components/MaterialHistory/MaterialHistory.component.d.ts +1 -1
  34. package/dist/Shared/Components/MaterialHistory/types.d.ts +1 -2
  35. package/dist/Shared/Components/Popover/types.d.ts +4 -0
  36. package/dist/Shared/Components/Popover/usePopover.hook.d.ts +1 -1
  37. package/dist/Shared/Components/Popover/utils.d.ts +1 -1
  38. package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
  39. package/dist/Shared/Components/SelectPicker/constants.d.ts +1 -0
  40. package/dist/Shared/Components/SelectPicker/type.d.ts +13 -2
  41. package/dist/Shared/Components/Table/types.d.ts +1 -0
  42. package/dist/Shared/Components/TempAppWindow/TempAppWindow.d.ts +1 -0
  43. package/dist/Shared/Components/TempAppWindow/index.d.ts +1 -0
  44. package/dist/Shared/Components/index.d.ts +1 -0
  45. package/dist/Shared/Helpers.d.ts +1 -2
  46. package/dist/Shared/Providers/MainContextProvider/index.d.ts +1 -1
  47. package/dist/Shared/Providers/MainContextProvider/types.d.ts +18 -0
  48. package/dist/Shared/types.d.ts +0 -4
  49. package/dist/assets/@code-editor.css +1 -1
  50. package/dist/assets/ic-group-filter-applied.2cdb11e7.svg +20 -0
  51. package/dist/assets/ic-group-filter.ed1869f5.svg +19 -0
  52. package/dist/assets/ic-storage.03f282b6.svg +21 -0
  53. package/dist/index.d.ts +21 -0
  54. package/dist/index.js +549 -544
  55. package/package.json +6 -2
@@ -0,0 +1,19 @@
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 width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
18
+ <path d="M4.00016 8H12.0002M1.3335 5H14.3335M6.50016 11H9.50016" stroke="#596168" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" vector-effect="non-scaling-stroke" />
19
+ </svg>
@@ -0,0 +1,21 @@
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 width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
18
+ <path d="M14.9375 13.6042C14.9375 14.0875 14.5457 14.4792 14.0625 14.4792C13.5793 14.4792 13.1875 14.0875 13.1875 13.6042C13.1875 13.121 13.5793 12.7292 14.0625 12.7292C14.5457 12.7292 14.9375 13.121 14.9375 13.6042Z" fill="#3B444C" stroke="#3B444C" stroke-width="0.125" vector-effect="non-scaling-stroke"/>
19
+ <path d="M3.33325 11.2499L5.61256 4.03212C5.74393 3.61609 6.12986 3.33325 6.56614 3.33325H13.4337C13.87 3.33325 14.2559 3.61609 14.3873 4.03212L16.6666 11.2499" stroke="#3B444C" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" vector-effect="non-scaling-stroke"/>
20
+ <rect x="3.125" y="11.0417" width="13.75" height="5" rx="1" stroke="#3B444C" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" vector-effect="non-scaling-stroke"/>
21
+ </svg>
package/dist/index.d.ts CHANGED
@@ -166,6 +166,11 @@ export interface customEnv {
166
166
  * @default false
167
167
  */
168
168
  FEATURE_GROUPED_APP_LIST_FILTERS_ENABLE?: boolean;
169
+ /**
170
+ * Show rollout progress if true, else canary step count in status
171
+ * @default true
172
+ */
173
+ FEATURE_CANARY_ROLLOUT_PROGRESS_ENABLE?: boolean;
169
174
  }
170
175
  declare global {
171
176
  interface Window {
@@ -174,6 +179,22 @@ declare global {
174
179
  _env_: customEnv;
175
180
  }
176
181
  }
182
+ declare module '@tanstack/react-query' {
183
+ interface QueryMeta {
184
+ /**
185
+ * Optional flag indicating whether to display a toast notification for errors.
186
+ * @default true
187
+ */
188
+ showToastError?: boolean;
189
+ }
190
+ interface MutationMeta {
191
+ /**
192
+ * Optional flag indicating whether to display a toast notification for errors.
193
+ * @default true
194
+ */
195
+ showToastError?: boolean;
196
+ }
197
+ }
177
198
  export * from './Common';
178
199
  export * from './Pages';
179
200
  export * from './Shared';