@7shifts/sous-chef 3.76.2 → 3.76.3

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.
@@ -12992,11 +12992,12 @@ var styles$9 = {"currency-field__mask-display":"_ddacu"};
12992
12992
  const CURRENCY_DISPLAY_DEFAULT_MARGIN = 8;
12993
12993
  const CURRENCY_DISPLAY_MARGIN_BUFFER = 1;
12994
12994
 
12995
- const _excluded$4 = ["currencySymbol", "step"];
12995
+ const _excluded$4 = ["currencySymbol", "step", "suffix"];
12996
12996
  const CurrencyFieldElement = (_ref, forwardedRef) => {
12997
12997
  let {
12998
12998
  currencySymbol = '$',
12999
- step = 0.01
12999
+ step = 0.01,
13000
+ suffix
13000
13001
  } = _ref,
13001
13002
  allOtherProps = _objectWithoutPropertiesLoose(_ref, _excluded$4);
13002
13003
  const [displayPadding, setDisplayPadding] = useState(CURRENCY_DISPLAY_DEFAULT_MARGIN);
@@ -13024,7 +13025,8 @@ const CurrencyFieldElement = (_ref, forwardedRef) => {
13024
13025
  }
13025
13026
  }, [ref]);
13026
13027
  return React__default.createElement(Field, _extends({}, fieldProps), React__default.createElement(Fragment, null, React__default.createElement(AffixContainer, {
13027
- prefix: currencySymbol
13028
+ prefix: currencySymbol,
13029
+ suffix: suffix
13028
13030
  }, React__default.createElement("input", _extends({}, inputProps, {
13029
13031
  type: "number",
13030
13032
  inputMode: "decimal",