@umami/react-zen 0.8.0 → 0.9.0

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.css CHANGED
@@ -1739,13 +1739,13 @@
1739
1739
  .TextArea_textarea {
1740
1740
  font-family: inherit;
1741
1741
  }
1742
- .TextArea_none {
1742
+ .TextArea_resize-none textarea {
1743
1743
  resize: none;
1744
1744
  }
1745
- .TextArea_horizontal {
1745
+ .TextArea_resize-horizontal textarea {
1746
1746
  resize: horizontal;
1747
1747
  }
1748
- .TextArea_vertical {
1748
+ .TextArea_resize-vertical textarea {
1749
1749
  resize: vertical;
1750
1750
  }
1751
1751
 
package/dist/index.d.ts CHANGED
@@ -497,7 +497,7 @@ declare module '@umami/react-zen/PasswordField' {
497
497
  interface PasswordFieldProps extends TextFieldProps {
498
498
  label?: string;
499
499
  }
500
- function PasswordField({ label, ...props }: PasswordFieldProps): import("react").JSX.Element;
500
+ function PasswordField({ label, className, ...props }: PasswordFieldProps): import("react").JSX.Element;
501
501
  export { PasswordField };
502
502
  }
503
503
 
@@ -558,11 +558,12 @@ declare module '@umami/react-zen/Row' {
558
558
  declare module '@umami/react-zen/SearchField' {
559
559
  import { SearchFieldProps as AriaSearchFieldProps } from 'react-aria-components';
560
560
  interface SearchFieldProps extends AriaSearchFieldProps {
561
+ label?: string;
561
562
  value?: string;
562
563
  delay?: number;
563
564
  onSearch?: (value: string) => void;
564
565
  }
565
- function SearchField({ value, delay, onSearch, className, ...props }: SearchFieldProps): import("react").JSX.Element;
566
+ function SearchField({ label, value, delay, onSearch, className, ...props }: SearchFieldProps): import("react").JSX.Element;
566
567
  export { SearchField };
567
568
  export type { SearchFieldProps };
568
569
  }
@@ -678,12 +679,12 @@ declare module '@umami/react-zen/TextField' {
678
679
  import { TextFieldProps as AriaTextFieldProps } from 'react-aria-components';
679
680
  interface TextFieldProps extends AriaTextFieldProps {
680
681
  label?: string;
682
+ placeholder?: string;
681
683
  asTextArea?: boolean;
682
684
  allowCopy?: boolean;
683
- placeholder?: string;
684
685
  onChange?: (e: any) => void;
685
686
  }
686
- function TextField({ name, value, defaultValue, label, asTextArea, allowCopy, className, onChange, ...props }: TextFieldProps): import("react").JSX.Element;
687
+ const TextField: import("react").ForwardRefExoticComponent<TextFieldProps & import("react").RefAttributes<HTMLInputElement>>;
687
688
  export { TextField };
688
689
  export type { TextFieldProps };
689
690
  }