@paubox/ui 0.16.1 → 0.16.2

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/index.esm.js CHANGED
@@ -23532,7 +23532,7 @@ var MultiSelect = function(_param) {
23532
23532
  return val !== option.value;
23533
23533
  }) : _to_consumable_array$6(values).concat([
23534
23534
  option.value
23535
- ]));
23535
+ ]), option);
23536
23536
  };
23537
23537
  return /*#__PURE__*/ jsxs(MultiSelectWrapper, {
23538
23538
  disabled: disabled,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@paubox/ui",
3
3
  "author": "Paubox, Inc.",
4
4
  "description": "Paubox Component Library",
5
- "version": "0.16.1",
5
+ "version": "0.16.2",
6
6
  "type": "module",
7
7
  "private": false,
8
8
  "publishConfig": {
@@ -5,7 +5,7 @@ export interface MultiSelectOption {
5
5
  }
6
6
  export interface MultiSelectProps extends BaseSelectProps {
7
7
  values: string[];
8
- setValues: (values: string[]) => void;
8
+ setValues: (value: string[], option?: MultiSelectOption) => void;
9
9
  options: MultiSelectOption[];
10
10
  placeholder?: string;
11
11
  label?: string;