@micromag/screen-urbania-horoscope 0.3.243 → 0.3.246
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 -4
- package/lib/index.js +4 -4
- package/package.json +14 -14
package/es/index.js
CHANGED
|
@@ -607,14 +607,14 @@ var UrbaniaHoroscope = function UrbaniaHoroscope(_ref) {
|
|
|
607
607
|
var onOpenSignsGrid = useCallback(function () {
|
|
608
608
|
setShowSignsGrid(true);
|
|
609
609
|
disableInteraction();
|
|
610
|
-
trackScreenEvent('
|
|
610
|
+
trackScreenEvent('open');
|
|
611
611
|
}, [disableInteraction, trackScreenEvent]);
|
|
612
612
|
var onCloseSignsGrid = useCallback(function () {
|
|
613
613
|
setShowSignsGrid(false);
|
|
614
614
|
setShowModal(0); // can't have a modal if signs are closed
|
|
615
615
|
|
|
616
616
|
enableInteraction();
|
|
617
|
-
trackScreenEvent('
|
|
617
|
+
trackScreenEvent('close');
|
|
618
618
|
}, [setShowSignsGrid, setShowModal, enableInteraction, trackScreenEvent]);
|
|
619
619
|
var onSelectSign = useCallback(function (e, id) {
|
|
620
620
|
e.stopPropagation();
|
|
@@ -623,11 +623,11 @@ var UrbaniaHoroscope = function UrbaniaHoroscope(_ref) {
|
|
|
623
623
|
});
|
|
624
624
|
setSelectedSign(foundSignIndex);
|
|
625
625
|
setShowModal(true);
|
|
626
|
-
trackScreenEvent('
|
|
626
|
+
trackScreenEvent('select_sign', signs[foundSignIndex]);
|
|
627
627
|
}, [signs, setSelectedSign, trackScreenEvent]);
|
|
628
628
|
var onCloseModal = useCallback(function () {
|
|
629
629
|
setShowModal(0);
|
|
630
|
-
trackScreenEvent('
|
|
630
|
+
trackScreenEvent('close_sign');
|
|
631
631
|
}, [setShowModal, trackScreenEvent]);
|
|
632
632
|
var computeSignsGridProgress = useCallback(function (_ref5) {
|
|
633
633
|
var dragActive = _ref5.active,
|
package/lib/index.js
CHANGED
|
@@ -652,14 +652,14 @@ var UrbaniaHoroscope = function UrbaniaHoroscope(_ref) {
|
|
|
652
652
|
var onOpenSignsGrid = React.useCallback(function () {
|
|
653
653
|
setShowSignsGrid(true);
|
|
654
654
|
disableInteraction();
|
|
655
|
-
trackScreenEvent('
|
|
655
|
+
trackScreenEvent('open');
|
|
656
656
|
}, [disableInteraction, trackScreenEvent]);
|
|
657
657
|
var onCloseSignsGrid = React.useCallback(function () {
|
|
658
658
|
setShowSignsGrid(false);
|
|
659
659
|
setShowModal(0); // can't have a modal if signs are closed
|
|
660
660
|
|
|
661
661
|
enableInteraction();
|
|
662
|
-
trackScreenEvent('
|
|
662
|
+
trackScreenEvent('close');
|
|
663
663
|
}, [setShowSignsGrid, setShowModal, enableInteraction, trackScreenEvent]);
|
|
664
664
|
var onSelectSign = React.useCallback(function (e, id) {
|
|
665
665
|
e.stopPropagation();
|
|
@@ -668,11 +668,11 @@ var UrbaniaHoroscope = function UrbaniaHoroscope(_ref) {
|
|
|
668
668
|
});
|
|
669
669
|
setSelectedSign(foundSignIndex);
|
|
670
670
|
setShowModal(true);
|
|
671
|
-
trackScreenEvent('
|
|
671
|
+
trackScreenEvent('select_sign', signs[foundSignIndex]);
|
|
672
672
|
}, [signs, setSelectedSign, trackScreenEvent]);
|
|
673
673
|
var onCloseModal = React.useCallback(function () {
|
|
674
674
|
setShowModal(0);
|
|
675
|
-
trackScreenEvent('
|
|
675
|
+
trackScreenEvent('close_sign');
|
|
676
676
|
}, [setShowModal, trackScreenEvent]);
|
|
677
677
|
var computeSignsGridProgress = React.useCallback(function (_ref5) {
|
|
678
678
|
var dragActive = _ref5.active,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-urbania-horoscope",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.246",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -50,18 +50,18 @@
|
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@babel/runtime": "^7.13.10",
|
|
53
|
-
"@micromag/core": "^0.3.
|
|
54
|
-
"@micromag/element-background": "^0.3.
|
|
55
|
-
"@micromag/element-button": "^0.3.
|
|
56
|
-
"@micromag/element-call-to-action": "^0.3.
|
|
57
|
-
"@micromag/element-container": "^0.3.
|
|
58
|
-
"@micromag/element-grid": "^0.3.
|
|
59
|
-
"@micromag/element-heading": "^0.3.
|
|
60
|
-
"@micromag/element-layout": "^0.3.
|
|
61
|
-
"@micromag/element-scroll": "^0.3.
|
|
62
|
-
"@micromag/element-text": "^0.3.
|
|
63
|
-
"@micromag/element-urbania-author": "^0.3.
|
|
64
|
-
"@micromag/transforms": "^0.3.
|
|
53
|
+
"@micromag/core": "^0.3.246",
|
|
54
|
+
"@micromag/element-background": "^0.3.246",
|
|
55
|
+
"@micromag/element-button": "^0.3.246",
|
|
56
|
+
"@micromag/element-call-to-action": "^0.3.246",
|
|
57
|
+
"@micromag/element-container": "^0.3.246",
|
|
58
|
+
"@micromag/element-grid": "^0.3.246",
|
|
59
|
+
"@micromag/element-heading": "^0.3.246",
|
|
60
|
+
"@micromag/element-layout": "^0.3.246",
|
|
61
|
+
"@micromag/element-scroll": "^0.3.246",
|
|
62
|
+
"@micromag/element-text": "^0.3.246",
|
|
63
|
+
"@micromag/element-urbania-author": "^0.3.246",
|
|
64
|
+
"@micromag/transforms": "^0.3.246",
|
|
65
65
|
"@react-spring/core": "^9.1.1",
|
|
66
66
|
"@react-spring/web": "^9.1.1",
|
|
67
67
|
"@use-gesture/react": "^10.2.4",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"publishConfig": {
|
|
76
76
|
"access": "public"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "473a4ad55684e54d3f1e62e760792ed6e003f8e7"
|
|
79
79
|
}
|