@7shifts/sous-chef 3.55.2 → 3.55.3-beta.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.
@@ -6,7 +6,7 @@ import type { Props as TextFieldProps } from '../TextField/TextField';
6
6
  * At the end, it is just a string formatted nicely. **You are in charge of validating the value and parsing it back to a value that you can use on your application**.
7
7
  */
8
8
  declare const CurrencyField: React.ForwardRefExoticComponent<{
9
- autoComplete?: ("on" | "off") | undefined;
9
+ autoComplete?: ("off" | "on") | undefined;
10
10
  autoFocus?: boolean | undefined;
11
11
  caption?: React.ReactNode;
12
12
  defaultValue?: string | undefined;
@@ -9,7 +9,7 @@ export declare const useTextField: ({ autoComplete, autoFocus, defaultValue, dis
9
9
  inputProps: {
10
10
  'aria-describedby': string;
11
11
  'aria-invalid': boolean;
12
- autoComplete: ("on" | "off") | undefined;
12
+ autoComplete: ("off" | "on") | undefined;
13
13
  autoFocus: boolean | undefined;
14
14
  className: string;
15
15
  'data-testid': string | undefined;
@@ -11,7 +11,7 @@ type Props = TextFieldProps & {
11
11
  subtractDuration?: number;
12
12
  };
13
13
  export declare const TimeRangeSelector: React.ForwardRefExoticComponent<{
14
- autoComplete?: ("on" | "off") | undefined;
14
+ autoComplete?: ("off" | "on") | undefined;
15
15
  autoFocus?: boolean | undefined;
16
16
  caption?: React.ReactNode;
17
17
  defaultValue?: string | undefined;
@@ -44,5 +44,5 @@ export declare const TimeRangeSelector: React.ForwardRefExoticComponent<{
44
44
  *
45
45
  * At the end, it is just a string formatted nicely. **You are in charge of validating the value and parsing it back to a value that you can use on your application**.
46
46
  */
47
- declare const TimeField: React.ForwardRefExoticComponent<Omit<Props, "prefix" | "suffix" | "subtractDuration"> & React.RefAttributes<HTMLInputElement>>;
47
+ declare const TimeField: React.ForwardRefExoticComponent<Omit<Props, "prefix" | "subtractDuration" | "suffix"> & React.RefAttributes<HTMLInputElement>>;
48
48
  export default TimeField;