cr-ui-lib 1.1.37 → 1.1.39

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/index.d.mts CHANGED
@@ -186,6 +186,7 @@ interface MultipleAutoSuggestionInputProps {
186
186
  removeIconClass?: string;
187
187
  usePortal?: boolean;
188
188
  inputClass?: string;
189
+ placeholder?: string;
189
190
  }
190
191
  declare const MultipleAutoSuggestionInput: React$1.FC<MultipleAutoSuggestionInputProps>;
191
192
 
package/dist/index.d.ts CHANGED
@@ -186,6 +186,7 @@ interface MultipleAutoSuggestionInputProps {
186
186
  removeIconClass?: string;
187
187
  usePortal?: boolean;
188
188
  inputClass?: string;
189
+ placeholder?: string;
189
190
  }
190
191
  declare const MultipleAutoSuggestionInput: React$1.FC<MultipleAutoSuggestionInputProps>;
191
192
 
package/dist/index.js CHANGED
@@ -2951,8 +2951,9 @@ var MultipleAutoSuggestionInput = ({
2951
2951
  dropdownOpenClass = "",
2952
2952
  selectedItemsClass = "",
2953
2953
  removeIconClass = "",
2954
- usePortal = true
2954
+ usePortal = true,
2955
2955
  // ✅ Destructured prop with default true
2956
+ placeholder = "Type or select..."
2956
2957
  }) => {
2957
2958
  var _a;
2958
2959
  const [filteredOptions, setFilteredOptions] = React.useState(options);
@@ -3198,7 +3199,7 @@ var MultipleAutoSuggestionInput = ({
3198
3199
  setIsDropdownOpen(true);
3199
3200
  }
3200
3201
  },
3201
- placeholder: selectedList.length === 0 ? "Type or select..." : ""
3202
+ placeholder: selectedList.length === 0 ? placeholder : ""
3202
3203
  }
3203
3204
  )
3204
3205
  ]