@corpsmap/corpsmap 3.2.18 → 3.2.19

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/lib/dev.js CHANGED
@@ -1016,7 +1016,7 @@ var SouthRegion = /*#__PURE__*/function (_React$Component) {
1016
1016
  id: "south-panel-content"
1017
1017
  }, /*#__PURE__*/React$1__default.createElement("ul", {
1018
1018
  className: "cm-nav cm-nav-tabs"
1019
- }, southRegionChildren.reverse().map(function (child, i) {
1019
+ }, southRegionChildren.map(function (child, i) {
1020
1020
  var activeClass = classnames({
1021
1021
  "active": i === activeTab
1022
1022
  });
@@ -105849,6 +105849,7 @@ var southRegionBundle = {
105849
105849
 
105850
105850
  for (var key in children) {
105851
105851
  out.push(children[key]);
105852
+ out.unshift(out.pop());
105852
105853
  }
105853
105854
 
105854
105855
  return out;
@@ -106558,7 +106559,7 @@ var config = {
106558
106559
  };
106559
106560
 
106560
106561
  var name = "@corpsmap/corpsmap";
106561
- var version$1 = "3.2.18";
106562
+ var version$1 = "3.2.19";
106562
106563
  var description = "CorpsMap as React Components";
106563
106564
  var main = "index.js";
106564
106565
  var scripts = {
package/lib/prod.js CHANGED
@@ -1016,7 +1016,7 @@ var SouthRegion = /*#__PURE__*/function (_React$Component) {
1016
1016
  id: "south-panel-content"
1017
1017
  }, /*#__PURE__*/React$1__default.createElement("ul", {
1018
1018
  className: "cm-nav cm-nav-tabs"
1019
- }, southRegionChildren.reverse().map(function (child, i) {
1019
+ }, southRegionChildren.map(function (child, i) {
1020
1020
  var activeClass = classnames({
1021
1021
  "active": i === activeTab
1022
1022
  });
@@ -105763,6 +105763,7 @@ var southRegionBundle = {
105763
105763
 
105764
105764
  for (var key in children) {
105765
105765
  out.push(children[key]);
105766
+ out.unshift(out.pop());
105766
105767
  }
105767
105768
 
105768
105769
  return out;
@@ -106472,7 +106473,7 @@ var config = {
106472
106473
  };
106473
106474
 
106474
106475
  var name = "@corpsmap/corpsmap";
106475
- var version$1 = "3.2.18";
106476
+ var version$1 = "3.2.19";
106476
106477
  var description = "CorpsMap as React Components";
106477
106478
  var main = "index.js";
106478
106479
  var scripts = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corpsmap/corpsmap",
3
- "version": "3.2.18",
3
+ "version": "3.2.19",
4
4
  "description": "CorpsMap as React Components",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -34,7 +34,6 @@ export default {
34
34
  },
35
35
  });
36
36
  },
37
-
38
37
  doSouthRegionClose: () => ({ dispatch, store }) => {
39
38
  dispatch({
40
39
  type: "SOUTH_REGION_CLOSED",
@@ -68,13 +67,14 @@ export default {
68
67
  selectSouthRegionChildrenObj: (state) => {
69
68
  return state.southRegion.children;
70
69
  },
71
-
70
+
72
71
  selectSouthRegionChildren: createSelector(
73
72
  "selectSouthRegionChildrenObj",
74
73
  (children) => {
75
74
  const out = [];
76
75
  for (var key in children) {
77
76
  out.push(children[key]);
77
+ out.unshift(out.pop());
78
78
  }
79
79
  return out;
80
80
  }
@@ -84,4 +84,5 @@ export default {
84
84
  if (state.southRegion._shouldTryToCloseRegion)
85
85
  return { actionCreator: "doSouthRegionTryClose" };
86
86
  },
87
+
87
88
  };
@@ -31,8 +31,8 @@ class SouthRegion extends React.Component {
31
31
  <div id="south-panel-content">
32
32
  <ul className="cm-nav cm-nav-tabs">
33
33
  {
34
- southRegionChildren.reverse().map((child, i) => {
35
-
34
+ southRegionChildren.map((child, i) => {
35
+
36
36
  const activeClass = classnames({
37
37
  "active": i === activeTab
38
38
  })