@linzjs/lui 24.13.1 → 24.14.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.
package/dist/lui.esm.js CHANGED
@@ -18883,13 +18883,14 @@ var LuiSearchInput = function (props) {
18883
18883
  props.minCharactersForSearch);
18884
18884
  }
18885
18885
  function noOptionsMessage(inputValue) {
18886
+ var _a;
18886
18887
  if (inputValue === '') {
18887
18888
  return null;
18888
18889
  }
18889
18890
  if (!enoughChars(inputValue)) {
18890
18891
  return typeMore;
18891
18892
  }
18892
- return 'No results available. Please refine your search and try again.';
18893
+ return ((_a = props.noOptionsMessage) !== null && _a !== void 0 ? _a : 'No results available. Please refine your search and try again.');
18893
18894
  }
18894
18895
  function determineDisclaimer() {
18895
18896
  if (props.hideDisclaimerOnFail && noOptionsMessage(typedValue))