@ynput/ayon-react-components 0.3.16 → 0.3.18

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.
@@ -1,5 +1,5 @@
1
1
  import iconSet from './icons.json';
2
- export type IconType = keyof typeof iconSet | string;
2
+ export type IconType = keyof typeof iconSet;
3
3
  export interface IconProps extends React.HTMLAttributes<HTMLSpanElement> {
4
4
  icon: IconType;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import { IconType } from '../../Icon';
2
- export interface LockedInputProps extends Omit<React.InputHTMLAttributes<HTMLDivElement>, 'onSubmit'> {
2
+ export interface LockedInputProps extends Omit<React.InputHTMLAttributes<HTMLFormElement>, 'onSubmit'> {
3
3
  value: string;
4
4
  onSubmit?: (value: string) => void;
5
5
  onEdit?: () => void;
@@ -12,4 +12,4 @@ export interface LockedInputProps extends Omit<React.InputHTMLAttributes<HTMLDiv
12
12
  fullUnlock?: boolean;
13
13
  type?: React.HTMLInputTypeAttribute;
14
14
  }
15
- export declare const LockedInput: import("react").ForwardRefExoticComponent<LockedInputProps & import("react").RefAttributes<HTMLDivElement>>;
15
+ export declare const LockedInput: import("react").ForwardRefExoticComponent<LockedInputProps & import("react").RefAttributes<HTMLFormElement>>;