@foris/avocado-suite 1.8.10 → 1.8.11

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.
@@ -15,6 +15,8 @@ export interface SelectProps extends Props {
15
15
  placeholder?: string;
16
16
  /** [react-select] The value of the select; reflected by the selected option */
17
17
  value?: any;
18
+ /** [react-select] Allow the user to clear the selected value. When `true`, a clear (×) icon is shown next to the selected option. Default: false. */
19
+ isClearable?: boolean;
18
20
  /** [react-select] Handle change events on the select */
19
21
  onChange?: (e: any) => void;
20
22
  /** [react-select] Handle change events on the input */
@@ -19,6 +19,8 @@ export interface SelectPaginationProps extends Props {
19
19
  placeholder?: string;
20
20
  /** [react-select] The value of the select; reflected by the selected option */
21
21
  value?: any;
22
+ /** [react-select] Allow the user to clear the selected value. When `true`, a clear (×) icon is shown next to the selected option. Default: false. */
23
+ isClearable?: boolean;
22
24
  /** [react-select] Function. */
23
25
  onChange?: any;
24
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foris/avocado-suite",
3
- "version": "1.8.10",
3
+ "version": "1.8.11",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -29,7 +29,7 @@
29
29
  "react-toastify": "9.0.3",
30
30
  "zustand": "4.5.4",
31
31
  "@foris/avocado-core": "1.3.0",
32
- "@foris/avocado-icons": "1.16.4"
32
+ "@foris/avocado-icons": "1.16.5"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@testing-library/jest-dom": "6.4.0",