trotl-filter 1.0.10 → 1.0.12

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.esm.js CHANGED
@@ -6993,7 +6993,9 @@ const MultiSelectDropdown = ({
6993
6993
  closeMenuOnSelect = false,
6994
6994
  pushUrlParamObj = false,
6995
6995
  // pushUrlParamObj={"ids"}
6996
- addItem = undefined
6996
+ addItem = undefined,
6997
+ style = {},
6998
+ allowClear = false
6997
6999
  }) => {
6998
7000
  const containerRef = useRef(null);
6999
7001
  const [maxVisible, setMaxVisible] = useState(1);
@@ -7260,12 +7262,14 @@ const MultiSelectDropdown = ({
7260
7262
  const showRequiredError = required && (!selected || selected.length === 0);
7261
7263
  return /*#__PURE__*/React__default.createElement("div", {
7262
7264
  style: {
7263
- width: "100%"
7265
+ width: "100%",
7266
+ ...style
7264
7267
  },
7265
7268
  ref: containerRef,
7266
7269
  className: showRequiredError ? "select-required-error" : ""
7267
7270
  }, /*#__PURE__*/React__default.createElement(StateManagedSelect$1, {
7268
7271
  isMulti: isMulti,
7272
+ isClearable: allowClear,
7269
7273
  options: menuOptions,
7270
7274
  value: selectedOptions,
7271
7275
  onChange: (val, action) => {