@devbonnysid/ui-kit-default 1.7.0 → 1.8.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.
@@ -25,5 +25,6 @@ export type SelectProps<T = string> = Partial<CaptionProps> & Partial<Descriptio
25
25
  isLoading?: boolean;
26
26
  isCloseOnSelect?: boolean;
27
27
  isClearable?: boolean;
28
+ width?: string | number;
28
29
  };
29
- export declare const Select: <T>({ size, caption, hint, icon, isError, errorText, value, description, className, placeholder, isLoading, onChange, searchPlaceholder, options, isWithSelectAll, isWithSearch, isCloseOnSelect, isClearable, isMulti, disabled, }: SelectProps<T>) => import("react/jsx-runtime").JSX.Element;
30
+ export declare const Select: <T>({ size, caption, hint, icon, isError, errorText, value, description, className, placeholder, isLoading, onChange, searchPlaceholder, options, dropdownWidth, isWithSelectAll, isWithSearch, isCloseOnSelect, isClearable, isMulti, disabled, width, }: SelectProps<T>) => import("react/jsx-runtime").JSX.Element;
@@ -5,6 +5,7 @@ export type SelectListSharedProps<T> = {
5
5
  isWithSelectAll?: boolean;
6
6
  isWithSearch?: boolean;
7
7
  options?: SelectOption<T>[];
8
+ dropdownWidth?: string | number;
8
9
  };
9
10
  export type SelectListProps<T> = SelectListSharedProps<T> & PopoverSharedProps & {
10
11
  onClickOption: (option: SelectOption<T>) => void;
@@ -14,4 +15,4 @@ export type SelectListProps<T> = SelectListSharedProps<T> & PopoverSharedProps &
14
15
  value?: SelectOption<T> | SelectOption<T>[];
15
16
  onChange?: (value?: SelectOption<T> | SelectOption<T>[]) => void;
16
17
  };
17
- export declare const SelectList: <T>({ value, options, disabled, searchPlaceholder, isMulti, onClickOption, isWithSelectAll, isWithSearch, onSelectAll, onClose, gap, placementSide, placementAlignment, referenceRef, }: SelectListProps<T>) => import("react/jsx-runtime").JSX.Element;
18
+ export declare const SelectList: <T>({ value, options, disabled, searchPlaceholder, isMulti, onClickOption, isWithSelectAll, isWithSearch, onSelectAll, onClose, dropdownWidth, gap, placementSide, placementAlignment, referenceRef, }: SelectListProps<T>) => import("react/jsx-runtime").JSX.Element;
@@ -5,5 +5,6 @@ export * from './useMask';
5
5
  export * from './useOpenState';
6
6
  export * from './usePersistedState';
7
7
  export * from './usePolling';
8
+ export * from './useResizeObserver';
8
9
  export * from './useTheme';
9
10
  export * from './useUIKitTranslation';
@@ -0,0 +1,2 @@
1
+ import { RefObject } from 'react';
2
+ export declare const useResizeObserver: (ref: RefObject<HTMLElement>) => DOMRectReadOnly | null;
@@ -13,6 +13,7 @@ export declare const uiKitResources: {
13
13
  itemsOnPage: string;
14
14
  ofPages: string;
15
15
  currentItems: string;
16
+ totalPagesInfo: string;
16
17
  };
17
18
  };
18
19
  };
@@ -28,6 +29,7 @@ export declare const uiKitResources: {
28
29
  itemsOnPage: string;
29
30
  ofPages: string;
30
31
  currentItems: string;
32
+ totalPagesInfo: string;
31
33
  };
32
34
  };
33
35
  };