@carto/ps-react-maps 3.7.2 → 3.7.3

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/dist/index.js CHANGED
@@ -3366,7 +3366,7 @@ function no(r) {
3366
3366
  return e[10] !== s || e[11] !== p ? (y = /* @__PURE__ */ N(Vs, { values: s, children: p }), e[10] = s, e[11] = p, e[12] = y) : y = e[12], y;
3367
3367
  }
3368
3368
  function ro(r, e) {
3369
- const t = pe((c) => c.layers), s = pe((c) => c.setLayer), n = re(() => kt(r.map((c) => t[c]).filter((c) => !!(c != null && c.legend))), [t, r]), o = re(() => n.map(e), [e, n]), i = Q(({
3369
+ const t = pe((c) => c.layers), s = pe((c) => c.setLayer), n = re(() => kt(r.map((c) => t[c]).filter((c) => !!(c != null && c.legend))).toReversed(), [t, r]), o = re(() => n.map(e), [e, n]), i = Q(({
3370
3370
  id: c,
3371
3371
  visible: b,
3372
3372
  ...p