@mx-cartographer/experiences 3.10.1-alpha.mm30 → 3.10.1-alpha.mm31

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.es.js CHANGED
@@ -14612,11 +14612,16 @@ const pt = g.createContext(null), ah = ({
14612
14612
  }) => {
14613
14613
  const { onEvent: i } = V(), o = J(/* @__PURE__ */ new Date(), Y.MONTH_SHORT), [s, c] = g.useState([
14614
14614
  { field: o, sort: "desc" }
14615
- ]), u = A.sort((C, v) => new Date(C.year, C.month, 1).getTime() - new Date(v.year, v.month, 1).getTime()).reduce((C, v) => (C[v.month] || (C[v.month] = J(
14616
- // adjust month to 0-indexed
14617
- new Date(v.year, v.month - 1, 1),
14618
- Y.MONTH
14619
- )), C), []).filter(Boolean), d = [
14615
+ ]), u = A.sort(
14616
+ (C, v) => new Date(C.year, C.month - 1, 1).getTime() - new Date(v.year, v.month - 1, 1).getTime()
14617
+ ).reduce((C, v) => {
14618
+ const f = J(
14619
+ // Month adjusted to 0-indexed
14620
+ new Date(v.year, v.month - 1, 1),
14621
+ Y.MONTH
14622
+ );
14623
+ return C.includes(f) || C.push(f), C;
14624
+ }, []).filter(Boolean), d = [
14620
14625
  {
14621
14626
  field: "category",
14622
14627
  headerName: "Category",