@devtron-labs/devtron-fe-common-lib 0.5.8-beta-4 → 0.5.8-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 (25) hide show
  1. package/dist/Common/Hooks/useUrlFilters/types.d.ts +1 -0
  2. package/dist/Common/Hooks/useUrlFilters/useUrlFilters.d.ts +1 -1
  3. package/dist/Shared/Components/CICDHistory/StatusFilterButtonComponent.d.ts +1 -1
  4. package/dist/Shared/Components/CICDHistory/types.d.ts +0 -1
  5. package/dist/Shared/Components/SelectPicker/type.d.ts +1 -1
  6. package/dist/Shared/constants.d.ts +0 -1
  7. package/dist/assets/index.css +1 -1
  8. package/dist/{cssMode-CHdDtZsz.js → cssMode-B0FrfgH4.js} +1 -1
  9. package/dist/{freemarker2-BL5tAToG.js → freemarker2-C6rtIY3w.js} +1 -1
  10. package/dist/{handlebars-BcdbPo9l.js → handlebars-BeGMuQjj.js} +1 -1
  11. package/dist/{html-Y3WQ5AkQ.js → html-Cv6GijnW.js} +1 -1
  12. package/dist/{htmlMode-DMOlMILf.js → htmlMode-BNgReeXI.js} +1 -1
  13. package/dist/{index-Lg81ust1.js → index-BfCs7vw4.js} +14220 -14215
  14. package/dist/index.js +591 -592
  15. package/dist/{javascript-BVIYzj0o.js → javascript-DkL_2nGQ.js} +1 -1
  16. package/dist/{jsonMode-0ohtwgmj.js → jsonMode-Ba4-mhW7.js} +1 -1
  17. package/dist/{liquid-BXXyFKL5.js → liquid-BvJl2Dj-.js} +1 -1
  18. package/dist/{mdx-DDgWfQMF.js → mdx-cwLK5SQo.js} +1 -1
  19. package/dist/{python-bwKbJDfj.js → python-QqGJB9-m.js} +1 -1
  20. package/dist/{razor-C8pq7U83.js → razor-zF5dYLKb.js} +1 -1
  21. package/dist/{tsMode-BQ4PSzlK.js → tsMode-ILsCPsfY.js} +1 -1
  22. package/dist/{typescript-CWtH5-PT.js → typescript-COzur8lD.js} +1 -1
  23. package/dist/{xml-DOhVVlIb.js → xml-BBXmwQEN.js} +1 -1
  24. package/dist/{yaml-BZM9IZfu.js → yaml-BfWoNLWV.js} +1 -1
  25. package/package.json +1 -1
@@ -8,6 +8,7 @@ export interface UseUrlFiltersProps<T, K> {
8
8
  * Callback function for parsing the search params
9
9
  */
10
10
  parseSearchParams?: (searchParams: URLSearchParams) => K;
11
+ localStorageKey?: string;
11
12
  }
12
13
  export type UseUrlFiltersReturnType<T, K = unknown> = K & {
13
14
  /**
@@ -16,5 +16,5 @@ import { UseUrlFiltersProps, UseUrlFiltersReturnType } from './types';
16
16
  * ```
17
17
  *
18
18
  */
19
- declare const useUrlFilters: <T = string, K = unknown>({ initialSortKey, parseSearchParams, }?: UseUrlFiltersProps<T, K>) => UseUrlFiltersReturnType<T, K>;
19
+ declare const useUrlFilters: <T = string, K = unknown>({ initialSortKey, parseSearchParams, localStorageKey, }?: UseUrlFiltersProps<T, K>) => UseUrlFiltersReturnType<T, K>;
20
20
  export default useUrlFilters;
@@ -1,2 +1,2 @@
1
1
  import { StatusFilterButtonType } from './types';
2
- export declare const StatusFilterButtonComponent: ({ nodes, selectedTab, handleFilterClick }: StatusFilterButtonType) => JSX.Element;
2
+ export declare const StatusFilterButtonComponent: ({ nodes, handleFilterClick }: StatusFilterButtonType) => JSX.Element;
@@ -425,7 +425,6 @@ export interface AppStatusDetailsChartType {
425
425
  }
426
426
  export interface StatusFilterButtonType {
427
427
  nodes: Array<Node>;
428
- selectedTab: string;
429
428
  handleFilterClick?: (selectedFilter: string) => void;
430
429
  }
431
430
  export declare enum NodeStatus {
@@ -168,7 +168,7 @@ export type SelectPickerProps<OptionValue = number | string, IsMulti extends boo
168
168
  export type SelectPickerGroupHeadingProps<OptionValue> = GroupHeadingProps<SelectPickerOptionType<OptionValue>> & {
169
169
  isGroupHeadingSelectable: boolean;
170
170
  };
171
- export interface FilterSelectPickerProps extends Required<Pick<SelectPickerProps<number | string, true>, 'options' | 'isDisabled' | 'placeholder' | 'isLoading'>>, Pick<SelectPickerProps<number | string, true>, 'selectRef' | 'inputId' | 'menuPosition' | 'autoFocus' | 'shouldMenuAlignRight' | 'optionListError' | 'reloadOptionList'> {
171
+ export interface FilterSelectPickerProps extends Required<Pick<SelectPickerProps<number | string, true>, 'options' | 'isDisabled' | 'placeholder' | 'isLoading'>>, Pick<SelectPickerProps<number | string, true>, 'selectRef' | 'inputId' | 'menuPosition' | 'autoFocus' | 'shouldMenuAlignRight' | 'optionListError' | 'reloadOptionList' | 'isOptionDisabled'> {
172
172
  appliedFilterOptions: SelectPickerOptionType[];
173
173
  handleApplyFilter: (filtersToApply: SelectPickerOptionType<number | string>[]) => void;
174
174
  }
@@ -413,4 +413,3 @@ export declare const CD_MATERIAL_SIDEBAR_TABS: OptionType<CDMaterialSidebarType,
413
413
  export declare const TRIGGER_STATUS_PROGRESSING: string[];
414
414
  export declare const CONFIGURATION_TYPE_VALUES: ConfigurationType[];
415
415
  export declare const DEFAULT_LOCKED_KEYS_CONFIG: Readonly<ConfigKeysWithLockType>;
416
- export declare const ALL_RESOURCE_KIND_FILTER = "all";