@heartlandone/vega-react 2.11.3 → 2.13.0
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.
|
@@ -112,8 +112,12 @@ const arrayToMap = (arr) => {
|
|
|
112
112
|
function shouldAddSyncEventFallback(eventName) {
|
|
113
113
|
// onChange handle not works for custom component before react 19
|
|
114
114
|
// https://github.com/facebook/react/issues/22888
|
|
115
|
-
|
|
116
|
-
|
|
115
|
+
// TODO: we should support a general method to handle those issues.
|
|
116
|
+
// https://gethired.atlassian.net/browse/VD-3818
|
|
117
|
+
if ((eventName === "Change" &&
|
|
118
|
+
FeatureFlag.isEnabled("VEGA_REACT.ENABLE_ON_CHANGE_HANDLE_UNDER_LOW_VERSION")) ||
|
|
119
|
+
(eventName === "Close" &&
|
|
120
|
+
FeatureFlag.isEnabled("VEGA_REACT.ENABLE_ON_CLOSE_HANDLE_UNDER_LOW_VERSION"))) {
|
|
117
121
|
return true;
|
|
118
122
|
}
|
|
119
123
|
return false;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heartlandone/vega-react",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.13.0",
|
|
5
5
|
"description": "React specific wrapper for @heartlandone/vega",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"stencil-postbuild": "node ./src/scripts/stencil-post-build-script.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"typescript": "^4.0.0"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@heartlandone/vega": "2.
|
|
41
|
+
"@heartlandone/vega": "2.13.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"react": ">=16.7.0",
|