@tellescope/react-components 1.242.0 → 1.242.1

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.
@@ -22,10 +22,10 @@ export declare const RatingInput: ({ field, value, onChange }: FormInputProps<'r
22
22
  export declare const RankingInput: ({ field, value, onChange, form }: FormInputProps<'ranking'>) => JSX.Element;
23
23
  export declare const DateInput: ({ field, value, onChange, placement, ...props }: {
24
24
  field: FormField;
25
- placement?: "left" | "right" | "bottom" | "top" | undefined;
25
+ placement?: "top" | "left" | "right" | "bottom" | undefined;
26
26
  } & FormInputProps<"date"> & Styled) => JSX.Element;
27
27
  export declare const TableInput: ({ field, value, onChange, form, ...props }: FormInputProps<'Input Table'>) => JSX.Element;
28
- export declare const AutoFocusTextField: (props: (import("@mui/material").OutlinedTextFieldProps | import("@mui/material").FilledTextFieldProps | import("@mui/material").StandardTextFieldProps) & {
28
+ export declare const AutoFocusTextField: (props: (import("@mui/material").FilledTextFieldProps | import("@mui/material").OutlinedTextFieldProps | import("@mui/material").StandardTextFieldProps) & {
29
29
  inputProps?: {
30
30
  sx: SxProps;
31
31
  } | undefined;
@@ -46,7 +46,7 @@ export declare const BridgeEligibilityInput: ({ field, value, onChange, response
46
46
  sx: SxProps;
47
47
  } | undefined;
48
48
  }) => JSX.Element;
49
- export declare const PharmacySearchInput: ({ field, value: rawValue, onChange, responses, enduser, form, ...props }: Omit<FormInputProps<"string">, "onChange" | "value"> & {
49
+ export declare const PharmacySearchInput: ({ field, value: rawValue, onChange, responses, enduser, form, ...props }: Omit<FormInputProps<"string">, "value" | "onChange"> & {
50
50
  value: Pharmacy | undefined;
51
51
  onChange: (v: Pharmacy | undefined, fieldId: string) => void;
52
52
  }) => JSX.Element;
@@ -20,7 +20,7 @@ export declare const RatingInput: ({ field, value, onChange }: FormInputProps<'r
20
20
  export declare const RankingInput: ({ field, value, onChange, form }: FormInputProps<'ranking'>) => JSX.Element;
21
21
  export declare const DateInput: ({ field, value, onChange, placement, ...props }: {
22
22
  field: FormField;
23
- placement?: "left" | "right" | "bottom" | "top" | undefined;
23
+ placement?: "top" | "left" | "right" | "bottom" | undefined;
24
24
  } & FormInputProps<"date"> & Styled) => JSX.Element;
25
25
  export declare const TableInput: ({ field, value, onChange, form, ...props }: FormInputProps<'Input Table'>) => JSX.Element;
26
26
  export declare const AutoFocusTextField: (props: TextFieldProps) => JSX.Element;
@@ -76,7 +76,7 @@ export declare const useModalIconButton: (props: UseModalIconButtonProps) => {
76
76
  id?: string | undefined;
77
77
  ariaLabel?: string | undefined;
78
78
  disabled?: boolean | undefined;
79
- color?: "primary" | "secondary" | "error" | "inherit" | "default" | "white" | undefined;
79
+ color?: "error" | "default" | "primary" | "secondary" | "inherit" | "white" | undefined;
80
80
  placement?: TooltipPlacement | undefined;
81
81
  onClick?: ((e: any) => void) | undefined;
82
82
  showArrow?: boolean | undefined;
@@ -97,7 +97,7 @@ export declare const IconModal: ({ open, setOpen, children, disabled, onClick, s
97
97
  id?: string | undefined;
98
98
  ariaLabel?: string | undefined;
99
99
  disabled?: boolean | undefined;
100
- color?: "primary" | "secondary" | "error" | "inherit" | "default" | "white" | undefined;
100
+ color?: "error" | "default" | "primary" | "secondary" | "inherit" | "white" | undefined;
101
101
  placement?: TooltipPlacement | undefined;
102
102
  onClick?: ((e: any) => void) | undefined;
103
103
  showArrow?: boolean | undefined;
@@ -104,7 +104,7 @@ export declare const SearchTextInput: ({ onChange, hideIcon, ...props }: {
104
104
  fullWidth?: boolean | undefined;
105
105
  name?: string | undefined;
106
106
  sx?: import("@mui/material").SxProps<{}> | undefined;
107
- variant?: "outlined" | "filled" | "flat" | undefined;
107
+ variant?: "filled" | "outlined" | "flat" | undefined;
108
108
  type?: React.HTMLInputTypeAttribute | undefined;
109
109
  autoCapitalize?: "none" | "characters" | "sentences" | "words" | undefined;
110
110
  autoCorrect?: boolean | undefined;
@@ -53,7 +53,7 @@ export interface Flex_T {
53
53
  }
54
54
  interface Flex_Web extends Flex_T, Styled, ClickableWeb {
55
55
  }
56
- export declare const resolve_direction_for_props: (row?: boolean, col?: boolean) => "column" | "row";
56
+ export declare const resolve_direction_for_props: (row?: boolean, col?: boolean) => "row" | "column";
57
57
  export declare const compute_flex_direction_with_props: <T extends string>(direction: T, reverse?: boolean) => T | `${T}-reverse`;
58
58
  export interface WithHoverColors {
59
59
  hoveredColor?: CSSProperties['backgroundColor'];