@inntechcorp/it-design 2.0.244 → 2.0.246

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
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
- import react__default, { MutableRefObject, RefObject, Context, ReactNode, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes, FunctionComponent, Ref, FocusEventHandler, KeyboardEvent, CSSProperties, ReactElement, MouseEvent } from 'react';
3
+ import react__default, { MutableRefObject, RefObject, Context, ReactNode, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes, FunctionComponent, Ref, FocusEvent, KeyboardEvent, CSSProperties, ReactElement, MouseEvent } from 'react';
4
4
  import { ChildrenProps as ChildrenProps$1 } from 'types/ChildrenProps';
5
5
  import { IStyledComponent } from 'styled-components';
6
6
  import { Cancel, AxiosProgressEvent } from 'axios';
@@ -321,7 +321,7 @@ interface UseKeyboardShortcutProps {
321
321
  }
322
322
  declare const useKeyboardShortcut: ({ key, onKeyPressed }: UseKeyboardShortcutProps) => void;
323
323
 
324
- type OrientationType = 'portrait' | 'landscape';
324
+ type OrientationType = "portrait" | "landscape";
325
325
  declare const useOrientation: () => OrientationType;
326
326
 
327
327
  declare const H1: ({ children }: {
@@ -824,7 +824,7 @@ type InputProps = {
824
824
  onChange?: ((value: any) => void) | null;
825
825
  onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
826
826
  onFocus?: ((event: any) => void) | null;
827
- onBlur?: ((event: FocusEventHandler<HTMLInputElement>) => void) | null;
827
+ onBlur?: ((event: FocusEvent<HTMLInputElement>) => void) | null;
828
828
  onPressEnter?: ((event: KeyboardEvent) => void) | null;
829
829
  onKeyDown?: ((event: KeyboardEvent) => void) | null;
830
830
  children?: ChildrenProps;