wini-web-components 0.8.0 → 0.9.1

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.
@@ -8,7 +8,7 @@ interface OptionsItem {
8
8
  interface Select1Props {
9
9
  value?: any;
10
10
  options: Required<Array<OptionsItem>>;
11
- onChange?: (value?: OptionsItem) => void;
11
+ onChange?: Function;
12
12
  placeholder?: string;
13
13
  disabled?: boolean;
14
14
  className?: string;
@@ -128,7 +128,7 @@ var Select1 = /** @class */ (function (_super) {
128
128
  });
129
129
  }
130
130
  else {
131
- this.setState(__assign(__assign({}, this.state), { search: this.props.options.filter(function (e) { return typeof e.name === 'string' && e.name.toLowerCase().includes(ev.target.value.trim().toLowerCase()); }) }));
131
+ this.setState(__assign(__assign({}, this.state), { search: this.props.options.filter(function (e) { return typeof e.name === "string" && e.name.toLowerCase().includes(ev.target.value.trim().toLowerCase()); }) }));
132
132
  }
133
133
  }
134
134
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wini-web-components",
3
- "version": "0.8.0",
3
+ "version": "0.9.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "dependencies": {