@ynput/ayon-react-components 0.3.1 → 0.3.3

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,4 +1,5 @@
1
1
  import { CSSProperties } from 'react';
2
+ import { IconType } from '../Icon';
2
3
  export interface DropdownProps {
3
4
  message?: string;
4
5
  itemStyle?: CSSProperties;
@@ -28,5 +29,6 @@ export interface DropdownProps {
28
29
  widthExpand?: boolean;
29
30
  searchFields?: string[];
30
31
  minSelected?: number;
32
+ dropIcon?: IconType;
31
33
  }
32
34
  export declare const Dropdown: import("react").ForwardRefExoticComponent<DropdownProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,5 +1,5 @@
1
1
  import iconSet from './icons.json';
2
- export type IconType = keyof typeof iconSet;
2
+ export type IconType = keyof typeof iconSet | string;
3
3
  export interface IconProps extends React.HTMLAttributes<HTMLSpanElement> {
4
4
  icon: IconType;
5
5
  }
@@ -1,5 +1,7 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  export interface FormRowProps extends HTMLAttributes<HTMLDivElement> {
3
3
  label: string;
4
+ fieldStyle: React.CSSProperties;
5
+ labelStyle: React.CSSProperties;
4
6
  }
5
7
  export declare const FormRow: import("react").ForwardRefExoticComponent<FormRowProps & import("react").RefAttributes<HTMLDivElement>>;