loon-bulma-react 2026.0.69 → 2026.0.71

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.
@@ -1,8 +1,12 @@
1
1
  import React from 'react';
2
2
  type HeightExtension = 'px' | 'vh' | 'em' | '%';
3
+ type WidthExtension = 'px' | 'vw' | 'em' | '%';
3
4
  type HeightType = `${number}${HeightExtension}`;
4
- export declare function CalendarContainer({ children, style: styleProp, height, ...props }: {
5
+ type WidthType = `${number}${WidthExtension}`;
6
+ type ContainerProps = {
5
7
  height?: HeightType;
8
+ width?: WidthType;
6
9
  children: React.ReactNode;
7
- } & React.HtmlHTMLAttributes<HTMLDivElement>): React.JSX.Element;
10
+ } & React.HtmlHTMLAttributes<HTMLDivElement>;
11
+ export declare function CalendarContainer({ children, style: styleProp, height, width, ...props }: ContainerProps): React.JSX.Element;
8
12
  export {};
package/dist/index.js CHANGED
@@ -16787,7 +16787,6 @@ function $y({ viewDate: e = r_.now(), selectedDate: n = void 0, selectedViewType
16787
16787
  for (; e <= t;) n = [...n, ...u(e)], e = e.plus({ weeks: 1 });
16788
16788
  return n.length < 42 && (n = [...n, ...u(e)]), n;
16789
16789
  }, [c]);
16790
- console.log(n, r);
16791
16790
  function h(e) {
16792
16791
  if (!n || !r) return !1;
16793
16792
  let t = n instanceof Date ? r_.fromDate(n) : n;
@@ -16843,14 +16842,18 @@ function $y({ viewDate: e = r_.now(), selectedDate: n = void 0, selectedViewType
16843
16842
  }
16844
16843
  //#endregion
16845
16844
  //#region lib/components/Calendar/Container.tsx
16846
- function eb({ children: e, style: n, height: r = void 0, ...i }) {
16845
+ function eb({ children: e, style: n, height: r = void 0, width: i = void 0, ...a }) {
16847
16846
  return /* @__PURE__ */ b("div", {
16848
16847
  className: "lbr-calendar-container",
16849
- style: t.useMemo(() => r ? {
16850
- ...n,
16851
- height: r
16852
- } : { ...n }, [r, n]),
16853
- ...i,
16848
+ style: t.useMemo(() => {
16849
+ let e = { ...n };
16850
+ return r && (e.height = r), i && (e.width = i), e;
16851
+ }, [
16852
+ r,
16853
+ i,
16854
+ n
16855
+ ]),
16856
+ ...a,
16854
16857
  children: e
16855
16858
  });
16856
16859
  }
@@ -35248,7 +35251,7 @@ function oH({ value: e, icon: t = ls, onValueChanged: n, onDateValueChanged: r,
35248
35251
  let o = "";
35249
35252
  typeof e == "string" && e.length === 8 ? o = `${e.substring(0, 4)}-${e.substring(4, 6)}-${e.substring(6, 8)}` : typeof e == "string" ? o = e.length > 10 ? e.substring(0, 10) : e : e instanceof Date ? o = e.toISOString().substring(0, 10) : e instanceof r_ && (o = e.ISO.substring(0, 10));
35250
35253
  function s(e) {
35251
- n && n(e), r && r(new Date(e)), i && i(r_.fromISO(e));
35254
+ console.log("val=", e), n && n(e), r && r(new Date(e)), i && i(r_.fromISO(e));
35252
35255
  }
35253
35256
  return /* @__PURE__ */ b(jh, {
35254
35257
  icon: t,
@@ -51,6 +51,7 @@ $modal-content-spacing-tablet: 2.5rem !default;
51
51
  $modal-content-spacing-mobile: 2.5rem !default;
52
52
  $table-row-hover-background-color: #f0f0f0 !default;
53
53
  $table-striped-row-even-hover-background-color: #f0f0f0 !default;
54
+ $body-overflow-y: auto !default;
54
55
 
55
56
  @use 'bulma/sass/utilities' with (
56
57
  $primary: $primary,
@@ -79,7 +80,8 @@ $table-striped-row-even-hover-background-color: #f0f0f0 !default;
79
80
 
80
81
  @use 'bulma/sass/base' with (
81
82
  $body-size: $body-size,
82
- $body-font-size: $body-font-size
83
+ $body-font-size: $body-font-size,
84
+ $body-overflow-y: $body-overflow-y
83
85
  );
84
86
 
85
87
  // import bulma elements
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "loon-bulma-react",
3
3
  "private": false,
4
- "version": "2026.0.69",
4
+ "version": "2026.0.71",
5
5
  "description": "Bulma &amp; React componenten voor Loon Salarissoftware",
6
6
  "type": "module",
7
7
  "license": "MIT",