test-stpr-ui-kit 0.5.83 → 0.5.85

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.
@@ -291,22 +291,7 @@ declare interface IDatePickerProps extends Omit<IDatePickerInputProps, "classNam
291
291
  classNamePortalRoot?: string;
292
292
  }
293
293
 
294
- declare interface IMediaContext {
295
- device: {
296
- isDesktop: boolean;
297
- isTablet: boolean;
298
- isMobile: boolean;
299
- };
300
- }
301
-
302
- export declare const InfoTooltip: default_2.FC<InfoTooltipProps>;
303
-
304
- declare interface InfoTooltipProps extends Omit<TooltipProps, "trigger"> {
305
- }
306
-
307
- export declare const Input: default_2.ForwardRefExoticComponent<Omit<InputProps, "ref"> & default_2.RefAttributes<HTMLInputElement>>;
308
-
309
- declare interface InputProps {
294
+ export declare interface IInputProps {
310
295
  name: string;
311
296
  variant?: TInputVariant;
312
297
  onChange?: TOnChangeInput;
@@ -334,6 +319,21 @@ declare interface InputProps {
334
319
  maskChar?: string;
335
320
  }
336
321
 
322
+ declare interface IMediaContext {
323
+ device: {
324
+ isDesktop: boolean;
325
+ isTablet: boolean;
326
+ isMobile: boolean;
327
+ };
328
+ }
329
+
330
+ export declare const InfoTooltip: default_2.FC<InfoTooltipProps>;
331
+
332
+ declare interface InfoTooltipProps extends Omit<TooltipProps, "trigger"> {
333
+ }
334
+
335
+ export declare const Input: default_2.ForwardRefExoticComponent<Omit<IInputProps, "ref"> & default_2.RefAttributes<HTMLInputElement>>;
336
+
337
337
  export declare const Label: default_2.FC<LabelProps>;
338
338
 
339
339
  declare interface LabelProps {
@@ -410,7 +410,8 @@ declare interface SelectProps {
410
410
  variant?: TSelectVariant;
411
411
  value?: string | null | number;
412
412
  name: string;
413
- onChange: TOnChangeSelect;
413
+ onChange?: TOnChangeSelect;
414
+ onBlur?: TOnBlurSelect;
414
415
  onMouseEnter?: () => void;
415
416
  error?: string;
416
417
  label?: string;
@@ -601,6 +602,11 @@ export declare type TOnBlurInput = (event: default_2.FocusEvent<HTMLInputElement
601
602
  value: string | null;
602
603
  }) => void;
603
604
 
605
+ export declare type TOnBlurSelect = (data: {
606
+ value: string | null | number;
607
+ name: string;
608
+ }) => void;
609
+
604
610
  export declare type TOnChangeCheckbox = (event: default_2.ChangeEvent<HTMLInputElement>, data: {
605
611
  name: string;
606
612
  value?: string;
@@ -622,7 +628,7 @@ export declare type TOnChangeInput = (event: default_2.ChangeEvent<HTMLInputElem
622
628
  value: string | null;
623
629
  }) => void;
624
630
 
625
- export declare type TOnChangeSelect = (event: default_2.MouseEvent<HTMLDivElement> | default_2.ChangeEvent<HTMLInputElement>, data: {
631
+ export declare type TOnChangeSelect = (event: default_2.MouseEvent<HTMLDivElement>, data: {
626
632
  value: string | null | number;
627
633
  name: string;
628
634
  }) => void;