fis-component 0.1.27 → 0.1.29

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/cjs/index.js CHANGED
@@ -75748,7 +75748,7 @@ function isMenuSize(value) {
75748
75748
  return value === "sm" || value === "md";
75749
75749
  }
75750
75750
 
75751
- const FISSelect = React.forwardRef(({ className, style, size = "md", options, value, disabled = false, textLabel = "", iconLabel, required, negative, message, positive, multi, placeholder, placeholderSearch, loading, onChange, renderOption, onClickIconLabel, displayValue, multiDisplayText, searchValue, onSearchChange, portal = true, maxHeight, onPopupScroll, onOpen, hideChip, tooltipTitle, tooltipVariant = "primary", noData, noResult, footer, searchDebounce, showSearch, onSearchInput, virtualized, virtualItemHeight, ...restProps }, ref) => {
75751
+ const FISSelect = React.forwardRef(({ className, style, size = "md", options, value, disabled = false, textLabel = "", iconLabel, required, negative, message, positive, multi, placeholder, placeholderSearch, loading, onChange, renderOption, onClickIconLabel, displayValue, multiDisplayText, searchValue, onSearchChange, portal = true, maxHeight, onPopupScroll, onOpen, hideChip, tooltipTitle, tooltipVariant = "primary", noData, noResult, noDataText, noResultText, footer, searchDebounce, showSearch, onSearchInput, virtualized, virtualItemHeight, ...restProps }, ref) => {
75752
75752
  const [isOpen, setIsOpen] = React.useState(false);
75753
75753
  const [referenceElement, setReferenceElement] = React.useState(null);
75754
75754
  const [popperElement, setPopperElement] = React.useState(null);
@@ -75894,6 +75894,8 @@ const FISSelect = React.forwardRef(({ className, style, size = "md", options, va
75894
75894
  renderOption,
75895
75895
  noData,
75896
75896
  noResult,
75897
+ noDataText,
75898
+ noResultText,
75897
75899
  footer,
75898
75900
  searchDebounce,
75899
75901
  showSearch,
@@ -75917,6 +75919,8 @@ const FISSelect = React.forwardRef(({ className, style, size = "md", options, va
75917
75919
  renderOption,
75918
75920
  noData,
75919
75921
  noResult,
75922
+ noDataText,
75923
+ noResultText,
75920
75924
  footer,
75921
75925
  searchDebounce,
75922
75926
  showSearch,
@@ -75952,7 +75956,7 @@ const FISSelect = React.forwardRef(({ className, style, size = "md", options, va
75952
75956
  }
75953
75957
  }, [isOpen, multi]);
75954
75958
  const renderSelectInput = () => {
75955
- const selectInput = (jsxRuntime.jsx(DivInputWrapperSC, { ref: setReferenceElement, onClick: handleToggle, "$hasValue": !!value, children: jsxRuntime.jsx(FISSelectItem, { ...restProps, onBlur: handleBlur, ref: inputRef, size: size, placeholder: placeholder, iconSuffix: isOpen ? jsxRuntime.jsx(ArrowUpIcon, {}) : jsxRuntime.jsx(ArrowDownIcon, {}), value: computedDisplayValue, disabled: disabled, activeDropdown: isOpen, negative: negative }) }));
75959
+ const selectInput = (jsxRuntime.jsx(DivInputWrapperSC, { ref: setReferenceElement, onClick: handleToggle, "$hasValue": !!value, children: jsxRuntime.jsx(FISSelectItem, { ...restProps, onBlur: handleBlur, ref: inputRef, size: size, placeholder: placeholder, iconSuffix: isOpen ? jsxRuntime.jsx(ArrowUpIcon, {}) : jsxRuntime.jsx(ArrowDownIcon, {}), value: computedDisplayValue, onChange: () => undefined, disabled: disabled, activeDropdown: isOpen, negative: negative }) }));
75956
75960
  if (tooltipTitle) {
75957
75961
  return (jsxRuntime.jsx(FISTooltip, { title: tooltipTitle, variant: tooltipVariant, smartPlacement: true, children: selectInput }));
75958
75962
  }