@devtron-labs/devtron-fe-common-lib 0.6.4-beta-1 → 0.6.4
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.
- package/dist/Common/Hooks/useUrlFilters/types.d.ts +0 -1
- package/dist/Common/Hooks/useUrlFilters/useUrlFilters.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/type.d.ts +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-BZmMhZO4.js → cssMode-D1qYnhVs.js} +1 -1
- package/dist/{freemarker2-Dg4LON6e.js → freemarker2-DX_zb1VR.js} +1 -1
- package/dist/{handlebars-C02i9dqm.js → handlebars-BKEXdj-N.js} +1 -1
- package/dist/{html-BXqpJgiX.js → html-BbCq-OST.js} +1 -1
- package/dist/{htmlMode-S00XxqHa.js → htmlMode-Bg3ZDZkU.js} +1 -1
- package/dist/{index-Dgi-Oljz.js → index-D9RZEI29.js} +9849 -9859
- package/dist/index.js +1 -1
- package/dist/{javascript-CC9AXXzB.js → javascript-B6ORyUAM.js} +1 -1
- package/dist/{jsonMode-DyjnH0Nq.js → jsonMode-NEw6kXWn.js} +1 -1
- package/dist/{liquid-BWyc-pKR.js → liquid-XUtKehH8.js} +1 -1
- package/dist/{mdx-CC_Wk6C8.js → mdx-BJRIwQrQ.js} +1 -1
- package/dist/{python-DAEiqIkD.js → python-D7JdgtLY.js} +1 -1
- package/dist/{razor-BZ3YRVOO.js → razor-CtDxfrQi.js} +1 -1
- package/dist/{tsMode-3p--9U7n.js → tsMode-BqRS3QrN.js} +1 -1
- package/dist/{typescript-BnRXR0Wa.js → typescript-Z_R-z-L6.js} +1 -1
- package/dist/{xml-ihdlUEvC.js → xml-phDJe5Hy.js} +1 -1
- package/dist/{yaml-PrSP5enT.js → yaml-d1dP_zGF.js} +1 -1
- package/package.json +1 -1
- package/dist/Common/Hooks/useUrlFilters/utils.d.ts +0 -1
|
@@ -8,7 +8,6 @@ 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}__${string}`;
|
|
12
11
|
}
|
|
13
12
|
export type UseUrlFiltersReturnType<T, K = unknown> = K & {
|
|
14
13
|
/**
|
|
@@ -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,
|
|
19
|
+
declare const useUrlFilters: <T = string, K = unknown>({ initialSortKey, parseSearchParams, }?: UseUrlFiltersProps<T, K>) => UseUrlFiltersReturnType<T, K>;
|
|
20
20
|
export default useUrlFilters;
|
|
@@ -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'> {
|
|
172
172
|
appliedFilterOptions: SelectPickerOptionType[];
|
|
173
173
|
handleApplyFilter: (filtersToApply: SelectPickerOptionType<number | string>[]) => void;
|
|
174
174
|
}
|