@spscommerce/ds-react 8.29.5 → 8.29.7

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,6 +6,7 @@ import type { SpsFormFieldMeta } from "../form/hooks/useSpsForm";
6
6
  import type { SpsGlobalPropTypes } from "../prop-types";
7
7
  export type SpsAutocompleteProps = React.PropsWithChildren<SpsGlobalPropTypes & {
8
8
  autoComplete?: string;
9
+ conformWidth?: boolean;
9
10
  debounce?: number;
10
11
  disabled?: boolean;
11
12
  formControl?: SpsFormControl<string>;
@@ -25,4 +26,4 @@ export type SpsAutocompleteProps = React.PropsWithChildren<SpsGlobalPropTypes &
25
26
  inputNotClearable?: boolean;
26
27
  autoFocusOnSelection?: boolean;
27
28
  }> & React.HTMLAttributes<HTMLInputElement>;
28
- export declare function SpsAutocomplete({ className, debounce, disabled, formControl, formMeta, onChange, onSelectionChange, icon, id, placeholder, suggestions, unsafelyReplaceClassName, tallOptionList, value, zeroState, loading, maxHeightOptionListPx, maxHeightOptionListRem, disableOptionsMemoization, inputNotClearable, autoFocusOnSelection, "data-testid": testId, ...rest }: SpsAutocompleteProps): React.JSX.Element;
29
+ export declare function SpsAutocomplete({ className, debounce, disabled, conformWidth, formControl, formMeta, onChange, onSelectionChange, icon, id, placeholder, suggestions, unsafelyReplaceClassName, tallOptionList, value, zeroState, loading, maxHeightOptionListPx, maxHeightOptionListRem, disableOptionsMemoization, inputNotClearable, autoFocusOnSelection, "data-testid": testId, ...rest }: SpsAutocompleteProps): React.JSX.Element;
@@ -12,5 +12,6 @@ export type SpsDatepickerProps = React.PropsWithChildren<SpsGlobalPropTypes & {
12
12
  value?: SimpleDate;
13
13
  format?: string;
14
14
  showTwoMonths?: boolean;
15
+ autoCloseOnSelect?: boolean;
15
16
  }> & React.HTMLAttributes<HTMLInputElement>;
16
- export declare function SpsDatepicker({ children, className, disabled, formMeta, id, maxDate, minDate, onChange, value, format, showTwoMonths, "data-testid": testId, ...rest }: SpsDatepickerProps): React.JSX.Element;
17
+ export declare function SpsDatepicker({ children, className, disabled, formMeta, id, maxDate, minDate, onChange, value, format, showTwoMonths, autoCloseOnSelect, "data-testid": testId, ...rest }: SpsDatepickerProps): React.JSX.Element;
@@ -6,6 +6,7 @@ export type SpsDropdownProps = React.PropsWithChildren<SpsGlobalPropTypes & {
6
6
  action?: (...args: any[]) => void;
7
7
  alignLeft?: boolean;
8
8
  disabled?: boolean;
9
+ conformWidth?: boolean;
9
10
  icon?: SpsIcon;
10
11
  kind?: DropdownKind;
11
12
  label?: string;