test-stpr-ui-kit 0.5.85 → 0.5.87

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.
@@ -334,6 +334,33 @@ declare interface InfoTooltipProps extends Omit<TooltipProps, "trigger"> {
334
334
 
335
335
  export declare const Input: default_2.ForwardRefExoticComponent<Omit<IInputProps, "ref"> & default_2.RefAttributes<HTMLInputElement>>;
336
336
 
337
+ export declare interface ISelectProps {
338
+ options: TSelectOption[];
339
+ isAbsolutePositionError?: boolean;
340
+ placeholder?: string;
341
+ variant?: TSelectVariant;
342
+ value?: string | null | number;
343
+ name: string;
344
+ onChange?: TOnChangeSelect;
345
+ onBlur?: TOnBlurSelect;
346
+ onMouseEnter?: () => void;
347
+ error?: string;
348
+ label?: string;
349
+ infoTooltipText?: string;
350
+ tooltipPosition?: ETooltipPosition;
351
+ disabled?: boolean;
352
+ required?: boolean;
353
+ maxHeightList?: number;
354
+ isVisibleDefaultTitle?: boolean;
355
+ isScrollableList?: boolean;
356
+ classNameRoot?: string;
357
+ classNameError?: string;
358
+ classNameLabel?: string;
359
+ classNameBaseTooltipRoot?: string;
360
+ isSearchable?: boolean;
361
+ searchPlaceholder?: string;
362
+ }
363
+
337
364
  export declare const Label: default_2.FC<LabelProps>;
338
365
 
339
366
  declare interface LabelProps {
@@ -401,34 +428,7 @@ export declare interface ProgressWrapperProps extends PropsWithChildren {
401
428
  onSuccessLoaded?: () => void;
402
429
  }
403
430
 
404
- export declare const Select: default_2.FC<SelectProps>;
405
-
406
- declare interface SelectProps {
407
- options: TSelectOption[];
408
- isAbsolutePositionError?: boolean;
409
- placeholder?: string;
410
- variant?: TSelectVariant;
411
- value?: string | null | number;
412
- name: string;
413
- onChange?: TOnChangeSelect;
414
- onBlur?: TOnBlurSelect;
415
- onMouseEnter?: () => void;
416
- error?: string;
417
- label?: string;
418
- infoTooltipText?: string;
419
- tooltipPosition?: ETooltipPosition;
420
- disabled?: boolean;
421
- required?: boolean;
422
- maxHeightList?: number;
423
- isVisibleDefaultTitle?: boolean;
424
- isScrollableList?: boolean;
425
- classNameRoot?: string;
426
- classNameError?: string;
427
- classNameLabel?: string;
428
- classNameBaseTooltipRoot?: string;
429
- isSearchable?: boolean;
430
- searchPlaceholder?: string;
431
- }
431
+ export declare const Select: default_2.FC<ISelectProps>;
432
432
 
433
433
  export declare const Skeleton: default_2.FC<SkeletonProps>;
434
434
 
@@ -744,7 +744,7 @@ export declare const useModal: (params?: UseModalParams) => {
744
744
  onOpenModal: (modalData: {
745
745
  [name: string]: boolean | NonNullable<unknown>;
746
746
  }, isKeepRest?: boolean) => void;
747
- onCloseModal: (_event: default_2.MouseEvent<HTMLButtonElement>, closeData?: {
747
+ onCloseModal: (_event?: default_2.MouseEvent<HTMLButtonElement>, closeData?: {
748
748
  [name: string]: boolean | NonNullable<unknown>;
749
749
  }) => void;
750
750
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "UI-kit package",
4
4
  "author": "Mochalov Ivan",
5
5
  "license": "MIT",
6
- "version": "0.5.85",
6
+ "version": "0.5.87",
7
7
  "type": "module",
8
8
  "files": [
9
9
  "dist"