@micromag/element-call-to-action 0.3.106 → 0.3.110
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/es/index.js +4 -0
- package/lib/index.js +4 -0
- package/package.json +6 -6
package/es/index.js
CHANGED
|
@@ -212,6 +212,10 @@ function CallToAction(_ref) {
|
|
|
212
212
|
setShowWebView(true);
|
|
213
213
|
setDisabledWebView(false);
|
|
214
214
|
onClickLink('swipe');
|
|
215
|
+
|
|
216
|
+
if (disableInteraction !== null) {
|
|
217
|
+
disableInteraction();
|
|
218
|
+
}
|
|
215
219
|
} else if (isIos() && selfTargetLinkRef.current !== null) {
|
|
216
220
|
selfTargetLinkRef.current.click();
|
|
217
221
|
setLeaving(true);
|
package/lib/index.js
CHANGED
|
@@ -226,6 +226,10 @@ function CallToAction(_ref) {
|
|
|
226
226
|
setShowWebView(true);
|
|
227
227
|
setDisabledWebView(false);
|
|
228
228
|
onClickLink('swipe');
|
|
229
|
+
|
|
230
|
+
if (disableInteraction !== null) {
|
|
231
|
+
disableInteraction();
|
|
232
|
+
}
|
|
229
233
|
} else if (utils.isIos() && selfTargetLinkRef.current !== null) {
|
|
230
234
|
selfTargetLinkRef.current.click();
|
|
231
235
|
setLeaving(true);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/element-call-to-action",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.110",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
"@fortawesome/fontawesome-svg-core": "^1.2.32",
|
|
53
53
|
"@fortawesome/free-solid-svg-icons": "^5.15.1",
|
|
54
54
|
"@fortawesome/react-fontawesome": "^0.1.13",
|
|
55
|
-
"@micromag/core": "^0.3.
|
|
56
|
-
"@micromag/element-button": "^0.3.
|
|
57
|
-
"@micromag/element-text": "^0.3.
|
|
58
|
-
"@micromag/element-webview": "^0.3.
|
|
55
|
+
"@micromag/core": "^0.3.110",
|
|
56
|
+
"@micromag/element-button": "^0.3.110",
|
|
57
|
+
"@micromag/element-text": "^0.3.110",
|
|
58
|
+
"@micromag/element-webview": "^0.3.110",
|
|
59
59
|
"@react-spring/core": "^9.1.1",
|
|
60
60
|
"@react-spring/web": "^9.1.1",
|
|
61
61
|
"@use-gesture/react": "^10.2.4",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "a4a09bb4e14c7ee52330258a2e9a02b3cc8809a7"
|
|
72
72
|
}
|