Skip to content

Commit e37df8f

Browse files
committed
chore: release v2.41.1
1 parent 07dc283 commit e37df8f

File tree

7 files changed

+18
-9
lines changed

7 files changed

+18
-9
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
# CHANGELOG
22

3-
## v2.41.0 - 24 February 2024
3+
## v2.41.1 - 6 March 2024
4+
5+
- fix(ViroBase): fix onClick not working for <ViroText /> components [`#277`](https://github.com/NativeVision/viro/pull/277)
6+
- fix(react): remove unnecessary debug logging [`#276`](https://github.com/NativeVision/viro/pull/276)
7+
- fix(ViroBase): fix onClick not working for <ViroText /> components (#277) [`#272`](https://github.com/NativeVision/viro/issues/272)
8+
9+
## v2.41.0 - 23 February 2024
410

511
- Bump ip from 1.1.8 to 1.1.9 [`#270`](https://github.com/NativeVision/viro/pull/270)
612
- chore: Update android [`#261`](https://github.com/NativeVision/viro/pull/261)
13+
- chore: release v2.41.0 [`fefff31`](https://github.com/NativeVision/viro/commit/fefff31be858404ef83c81282d2322ff338e8157)
714

815
## v2.40.1 - 19 February 2024
916

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VIRO_VERSION = "2.41.0";
1+
export const VIRO_VERSION = "2.41.1";
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export declare const VIRO_VERSION = "2.41.0";
1+
export declare const VIRO_VERSION = "2.41.1";
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"use strict";
22
Object.defineProperty(exports, "__esModule", { value: true });
33
exports.VIRO_VERSION = void 0;
4-
exports.VIRO_VERSION = "2.41.0";
4+
exports.VIRO_VERSION = "2.41.1";

dist/components/ViroText.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ class ViroText extends ViroBase_1.ViroBase {
7474
this._component = component;
7575
}} onNativeTransformDelegateViro={transformDelegate} hasTransformDelegate={this.props.onTransformUpdate != undefined} style={[this.props.style]} canHover={this.props.onHover != undefined} canClick={this.props.onClick != undefined ||
7676
this.props.onClickState != undefined} canTouch={this.props.onTouch != undefined} canScroll={this.props.onScroll != undefined} canSwipe={this.props.onSwipe != undefined} canDrag={this.props.onDrag != undefined} canPinch={this.props.onPinch != undefined} canRotate={this.props.onRotate != undefined} canFuse={this.props.onFuse != undefined} onHoverViro={this._onHover} onClickViro={this._onClickState}
77-
// Fixes #272. this.props
77+
// Fixes #272. for some reason, onClick was making it
78+
// to the native code. Other incorrect props don't make it
79+
// to the native code.
7880
// https://github.com/NativeVision/viro/issues/272
7981
onClick={undefined} onTouchViro={this._onTouch} onScrollViro={this._onScroll} onSwipeViro={this._onSwipe} onDragViro={this._onDrag} onPinchViro={this._onPinch} onRotateViro={this._onRotate} onFuseViro={this._onFuse} onAnimationStartViro={this._onAnimationStart} onAnimationFinishViro={this._onAnimationFinish} materials={materials} transformBehaviors={transformBehaviors} outerStroke={outerStroke} canCollide={this.props.onCollision != undefined} onCollisionViro={this._onCollision} timeToFuse={timeToFuse}/>);
8082
}

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"main": "dist/index.js",
44
"module": "dist/index.js",
55
"types": "dist/index.d.ts",
6-
"version": "2.41.0",
6+
"version": "2.41.1",
77
"license": "MIT",
88
"publishConfig": {
99
"registry": "https://registry.npmjs.org/"
@@ -67,4 +67,4 @@
6767
"ts-node": "^10.9.2",
6868
"typescript": "^4.6.3"
6969
}
70-
}
70+
}

0 commit comments

Comments
 (0)