taro-ui 3.1.0-beta.1 → 3.1.0-beta.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/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/lib/components/search-bar/index.js +1 -1
- package/lib/components/textarea/index.js +1 -1
- package/package.json +7 -6
- package/rn/components/button/index.tsx +1 -1
- package/rn/components/search-bar/index.tsx +10 -10
- package/rn/components/textarea/index.tsx +1 -1
- package/types/textarea.d.ts +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -4673,7 +4673,7 @@ var AtTextarea = /** @class */ (function (_super) {
|
|
|
4673
4673
|
function AtTextarea() {
|
|
4674
4674
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
4675
4675
|
_this.handleInput = function (event) {
|
|
4676
|
-
_this.props.onChange(event.
|
|
4676
|
+
_this.props.onChange(event.detail.value, event);
|
|
4677
4677
|
};
|
|
4678
4678
|
_this.handleFocus = function (event) {
|
|
4679
4679
|
_this.props.onFocus && _this.props.onFocus(event);
|
|
@@ -5307,7 +5307,7 @@ var AtSearchBar = /** @class */ (function (_super) {
|
|
|
5307
5307
|
_this.props.onBlur && _this.props.onBlur(event);
|
|
5308
5308
|
};
|
|
5309
5309
|
_this.handleChange = function (e) {
|
|
5310
|
-
_this.props.onChange(e.
|
|
5310
|
+
_this.props.onChange(e.detail.value, e);
|
|
5311
5311
|
};
|
|
5312
5312
|
_this.handleClear = function (event) {
|
|
5313
5313
|
if (_this.props.onClear) {
|