@shlinkio/shlink-frontend-kit 0.4.0 → 0.4.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.
package/dist/index.d.ts CHANGED
@@ -39,6 +39,8 @@ export declare type DropdownBtnProps = PropsWithChildren<Omit<DropdownToggleProp
39
39
  size?: 'sm' | 'md' | 'lg';
40
40
  }>;
41
41
 
42
+ export declare const getSystemPreferredTheme: (_matchMedia?: ((query: string) => MediaQueryList) & typeof matchMedia) => Theme;
43
+
42
44
  export declare const HIGHLIGHTED_COLOR = "#f77f28";
43
45
 
44
46
  export declare const HIGHLIGHTED_COLOR_ALPHA = "rgba(247, 127, 40, 0.4)";
@@ -172,6 +174,8 @@ export declare const useElementRef: <T>() => MutableRefObject<T | null>;
172
174
 
173
175
  export declare const useOrder: <T>(initialOrder: Order<T>) => [Order<T>, (orderField?: T | undefined, orderDir?: OrderDir) => void];
174
176
 
177
+ export declare const useParsedQuery: <T>() => T;
178
+
175
179
  export declare const useTimeoutToggle: (initialValue?: boolean, delay?: number, setTimeout?: ((handler: TimerHandler, timeout?: number | undefined, ...arguments: any[]) => number) & typeof globalThis.setTimeout, clearTimeout?: ((id: number | undefined) => void) & typeof globalThis.clearTimeout) => [boolean, () => void];
176
180
 
177
181
  export declare const useToggle: (initialValue?: boolean) => ToggleResult;