@chekinapp/ui 0.0.104 → 0.0.106

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.cts CHANGED
@@ -2858,7 +2858,7 @@ declare const DashboardInput: React$1.ForwardRefExoticComponent<React$1.InputHTM
2858
2858
  type SelectValue$1 = string | number;
2859
2859
  type DashboardSelectFilterOption<T = undefined, V extends SelectValue$1 = string, L extends ReactNode = string> = (option: SelectOption<T, V, L>, input: string) => boolean;
2860
2860
 
2861
- type DashboardSelectProps<T = undefined, V extends SelectValue$1 = string, L extends ReactNode = string> = {
2861
+ type DashboardSelectProps<T = unknown, V extends SelectValue$1 = string, L extends ReactNode = string> = {
2862
2862
  options?: SelectOption<T, V, L>[];
2863
2863
  value?: SelectOption<T, V, L> | null;
2864
2864
  onChange: (option: SelectOption<T, V, L>) => void;
@@ -3273,7 +3273,7 @@ type UseLoadMoreParams = {
3273
3273
  threshold?: number;
3274
3274
  rootMargin?: string;
3275
3275
  };
3276
- declare function useLoadMore<T extends HTMLElement = HTMLDivElement>({ hasNextPage, loading, disabled, onLoadMore, threshold, rootMargin, }: UseLoadMoreParams): readonly [React$1.RefObject<T>];
3276
+ declare function useLoadMore<T extends HTMLElement = HTMLDivElement>({ hasNextPage, loading, disabled, onLoadMore, threshold, rootMargin, }: UseLoadMoreParams): readonly [(element: T | null) => void];
3277
3277
 
3278
3278
  declare function useModalControls(initState?: boolean, { disabled }?: {
3279
3279
  disabled?: boolean;
package/dist/index.d.ts CHANGED
@@ -2858,7 +2858,7 @@ declare const DashboardInput: React$1.ForwardRefExoticComponent<React$1.InputHTM
2858
2858
  type SelectValue$1 = string | number;
2859
2859
  type DashboardSelectFilterOption<T = undefined, V extends SelectValue$1 = string, L extends ReactNode = string> = (option: SelectOption<T, V, L>, input: string) => boolean;
2860
2860
 
2861
- type DashboardSelectProps<T = undefined, V extends SelectValue$1 = string, L extends ReactNode = string> = {
2861
+ type DashboardSelectProps<T = unknown, V extends SelectValue$1 = string, L extends ReactNode = string> = {
2862
2862
  options?: SelectOption<T, V, L>[];
2863
2863
  value?: SelectOption<T, V, L> | null;
2864
2864
  onChange: (option: SelectOption<T, V, L>) => void;
@@ -3273,7 +3273,7 @@ type UseLoadMoreParams = {
3273
3273
  threshold?: number;
3274
3274
  rootMargin?: string;
3275
3275
  };
3276
- declare function useLoadMore<T extends HTMLElement = HTMLDivElement>({ hasNextPage, loading, disabled, onLoadMore, threshold, rootMargin, }: UseLoadMoreParams): readonly [React$1.RefObject<T>];
3276
+ declare function useLoadMore<T extends HTMLElement = HTMLDivElement>({ hasNextPage, loading, disabled, onLoadMore, threshold, rootMargin, }: UseLoadMoreParams): readonly [(element: T | null) => void];
3277
3277
 
3278
3278
  declare function useModalControls(initState?: boolean, { disabled }?: {
3279
3279
  disabled?: boolean;