@pismo/marola 1.0.0-beta.42 → 1.0.0-beta.44

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.
@@ -25,6 +25,20 @@ export type SelectProps = {
25
25
  'data-testid'?: string;
26
26
  onChange?: (value: string | null, event?: React.SyntheticEvent<Element, Event> | null) => void;
27
27
  fullWidth?: boolean;
28
+ /** Info message text */
29
+ infoMessage?: string;
30
+ /** Show the field layout as an error */
31
+ error?: boolean;
32
+ /** Error message text, if has "errorMessage", the "error" props will be "true" */
33
+ errorMessage?: string;
34
+ /** CSS classes to be applied on the info message element */
35
+ classNameInfoMessage?: string;
36
+ /** CSS classes to be applied on the error message element */
37
+ classNameErrorMessage?: string;
38
+ /** Id to be applied as `data-testid` on the info message element */
39
+ 'data-testid-infoMessage'?: string;
40
+ /** Id to be applied as `data-testid` on the error message element */
41
+ 'data-testid-errorMessage'?: string;
28
42
  };
29
43
  declare const Select: {
30
44
  (props: SelectProps): import("react/jsx-runtime").JSX.Element;