loon-bulma-react 2026.0.63 → 2026.0.64

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
@@ -16102,8 +16102,8 @@ function yy({ events: e, onEventClick: n, options: r, calendarType: i }) {
16102
16102
  t.useEffect(() => {
16103
16103
  o(e.slice(4));
16104
16104
  }, [e]);
16105
- function l() {
16106
- c(!s);
16105
+ function l(e) {
16106
+ e.stopPropagation(), c(!s);
16107
16107
  }
16108
16108
  return /* @__PURE__ */ x(t.Fragment, { children: [s && a.map((e) => e.allDay ? /* @__PURE__ */ b(hy, {
16109
16109
  desc: (e) => /* @__PURE__ */ b(_y, {
@@ -16290,15 +16290,25 @@ function wy({ weekNr: e }) {
16290
16290
  //#region lib/components/Calendar/Month/MonthView.tsx
16291
16291
  function Ty({ viewDate: e, options: n = {}, onEventClick: r, onDayClick: i, events: a = [] }) {
16292
16292
  function o(e) {
16293
- let t = e.startOf("month").startOf("week").startOf("day"), r = e.endOf("month").endOf("week").plus({ days: 1 }).startOf("day"), i = a.map((e) => my(e, n)).filter((e) => py(t, r, e)), o = t.clone(), c = [];
16294
- for (; o < r;) {
16295
- if (s.has(o.weekDay)) {
16296
- let e = o.startOf("day"), t = o.endOf("day"), n = i.filter((n) => py(e, t, n)).sort((e, t) => e.allDay && !t.allDay ? -1 : !e.allDay && t.allDay ? 1 : e._startDateTime.valueOf() - t._startDateTime.valueOf());
16297
- c.push([o, n]);
16293
+ function t(e) {
16294
+ return o.filter((t) => py(e.startOf("day"), e.endOf("day"), t)).sort((e, t) => e.allDay && !t.allDay ? -1 : !e.allDay && t.allDay ? 1 : e._startDateTime.valueOf() - t._startDateTime.valueOf());
16295
+ }
16296
+ let r = e.startOf("month").startOf("week").startOf("day"), i = e.endOf("month").endOf("week").plus({ days: 1 }).startOf("day"), o = a.map((e) => my(e, n)).filter((e) => py(r, i, e)), c = r.clone(), l = [];
16297
+ for (; c < i;) {
16298
+ if (s.has(c.weekDay)) {
16299
+ let e = t(c);
16300
+ l.push([c, e]);
16298
16301
  }
16299
- o = o.plus({ days: 1 });
16302
+ c = c.plus({ days: 1 });
16300
16303
  }
16301
- return c;
16304
+ if (l.length % s.size < 6) {
16305
+ let e = i.clone();
16306
+ for (let n = 0; n < 7; n++) if (e = e.plus({ days: 1 }), s.has(e.weekDay)) {
16307
+ let n = t(e);
16308
+ l.push([e, n]);
16309
+ }
16310
+ }
16311
+ return l;
16302
16312
  }
16303
16313
  let s = n?.visibleDays && n?.visibleDays?.size !== 0 ? n?.visibleDays : /* @__PURE__ */ new Set([
16304
16314
  1,
@@ -21,6 +21,7 @@ div.lbr-grid-container {
21
21
  border-radius: iv.$radius;
22
22
  display: grid;
23
23
  grid-template-rows: 30px repeat(6, minmax(170px, auto));
24
+ // TR: de columns van het grid worden inline geset!
24
25
  justify-items: 'stretch';
25
26
  align-items: 'stretch';
26
27
  color: $color;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "loon-bulma-react",
3
3
  "private": false,
4
- "version": "2026.0.63",
4
+ "version": "2026.0.64",
5
5
  "description": "Bulma &amp; React componenten voor Loon Salarissoftware",
6
6
  "type": "module",
7
7
  "license": "MIT",