@parasutcom/fds 0.1.0 → 0.1.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.
Files changed (3) hide show
  1. package/dist/index.d.ts +4 -4
  2. package/dist/index.js +4947 -4939
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -118,7 +118,6 @@ export declare function Autocomplete<T extends AutocompleteOption>({ options, va
118
118
  export declare interface AutocompleteOption {
119
119
  value: string;
120
120
  label: string;
121
- [key: string]: unknown;
122
121
  }
123
122
 
124
123
  export declare interface AutocompleteProps<T extends AutocompleteOption> extends Omit<React_2.ComponentPropsWithoutRef<typeof InputGroupInput>, 'onChange' | 'value' | 'defaultValue' | 'onValueChange'> {
@@ -715,12 +714,13 @@ declare interface TaxIdFieldProps {
715
714
 
716
715
  export declare function Textarea({ className, ...props }: React_2.ComponentProps<"textarea">): JSX.Element;
717
716
 
718
- export declare function TextField({ description, error, name, variant, size, type, ...props }: TextFieldProps): JSX.Element;
717
+ export declare function TextField({ description, error, name, variant, size, type, prefix, ...props }: TextFieldProps): JSX.Element;
719
718
 
720
- export declare interface TextFieldProps extends React_2.ComponentPropsWithoutRef<typeof InputGroupInput> {
719
+ export declare interface TextFieldProps extends Omit<React_2.ComponentPropsWithoutRef<typeof InputGroupInput>, 'prefix'> {
721
720
  name: string;
722
721
  description?: string;
723
- error?: string;
722
+ error?: string | string[];
723
+ prefix?: React_2.ReactNode;
724
724
  }
725
725
 
726
726
  declare const THEMES: {