@micromag/core 0.3.29 → 0.3.32
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/components.js +1 -1
- package/es/contexts.js +0 -1
- package/es/index.js +2 -2
- package/lib/components.js +1 -1
- package/lib/contexts.js +0 -1
- package/lib/index.js +2 -2
- package/package.json +2 -2
package/es/components.js
CHANGED
|
@@ -1107,7 +1107,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
1107
1107
|
onClickItem(e);
|
|
1108
1108
|
}
|
|
1109
1109
|
} : null;
|
|
1110
|
-
return ItemComponent !== null ? /*#__PURE__*/React.createElement("
|
|
1110
|
+
return ItemComponent !== null ? /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(ItemComponent, Object.assign({
|
|
1111
1111
|
key: "item-".concat(index, "-").concat(label),
|
|
1112
1112
|
className: classNames([(_ref3 = {
|
|
1113
1113
|
'dropdown-item': type === 'link' || type === 'button',
|
package/es/contexts.js
CHANGED
package/es/index.js
CHANGED
|
@@ -1864,8 +1864,8 @@ var Tracking = /*#__PURE__*/function (_BaseTracking) {
|
|
|
1864
1864
|
var _ref3 = metadata || {},
|
|
1865
1865
|
screenTitle = _ref3.title;
|
|
1866
1866
|
|
|
1867
|
-
if (this.screensViewed.indexOf(screenId ||
|
|
1868
|
-
this.screensViewed = [].concat(_toConsumableArray(this.screensViewed), [screenId ||
|
|
1867
|
+
if (this.screensViewed.indexOf(screenId || screenIndex) !== -1) {
|
|
1868
|
+
this.screensViewed = [].concat(_toConsumableArray(this.screensViewed), [screenId || screenIndex]);
|
|
1869
1869
|
}
|
|
1870
1870
|
|
|
1871
1871
|
var data = {
|
package/lib/components.js
CHANGED
|
@@ -1130,7 +1130,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
1130
1130
|
onClickItem(e);
|
|
1131
1131
|
}
|
|
1132
1132
|
} : null;
|
|
1133
|
-
return ItemComponent !== null ? /*#__PURE__*/React__default["default"].createElement("
|
|
1133
|
+
return ItemComponent !== null ? /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(ItemComponent, Object.assign({
|
|
1134
1134
|
key: "item-".concat(index, "-").concat(label),
|
|
1135
1135
|
className: classNames__default["default"]([(_ref3 = {
|
|
1136
1136
|
'dropdown-item': type === 'link' || type === 'button',
|
package/lib/contexts.js
CHANGED
package/lib/index.js
CHANGED
|
@@ -1890,8 +1890,8 @@ var Tracking = /*#__PURE__*/function (_BaseTracking) {
|
|
|
1890
1890
|
var _ref3 = metadata || {},
|
|
1891
1891
|
screenTitle = _ref3.title;
|
|
1892
1892
|
|
|
1893
|
-
if (this.screensViewed.indexOf(screenId ||
|
|
1894
|
-
this.screensViewed = [].concat(_toConsumableArray__default["default"](this.screensViewed), [screenId ||
|
|
1893
|
+
if (this.screensViewed.indexOf(screenId || screenIndex) !== -1) {
|
|
1894
|
+
this.screensViewed = [].concat(_toConsumableArray__default["default"](this.screensViewed), [screenId || screenIndex]);
|
|
1895
1895
|
}
|
|
1896
1896
|
|
|
1897
1897
|
var data = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/core",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.32",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -132,5 +132,5 @@
|
|
|
132
132
|
"publishConfig": {
|
|
133
133
|
"access": "public"
|
|
134
134
|
},
|
|
135
|
-
"gitHead": "
|
|
135
|
+
"gitHead": "fff733f2cf1fea7ffc64179d7da0c9601d61e23e"
|
|
136
136
|
}
|