loon-bulma-react 2026.0.68 → 2026.0.70

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
@@ -16843,14 +16843,18 @@ function $y({ viewDate: e = r_.now(), selectedDate: n = void 0, selectedViewType
16843
16843
  }
16844
16844
  //#endregion
16845
16845
  //#region lib/components/Calendar/Container.tsx
16846
- function eb({ children: e, style: n, height: r = void 0, ...i }) {
16846
+ function eb({ children: e, style: n, height: r = void 0, width: i = void 0, ...a }) {
16847
16847
  return /* @__PURE__ */ b("div", {
16848
16848
  className: "lbr-calendar-container",
16849
- style: t.useMemo(() => r ? {
16850
- ...n,
16851
- height: r
16852
- } : { ...n }, [r, n]),
16853
- ...i,
16849
+ style: t.useMemo(() => {
16850
+ let e = { ...n };
16851
+ return r && (e.height = r), i && (e.width = i), e;
16852
+ }, [
16853
+ r,
16854
+ i,
16855
+ n
16856
+ ]),
16857
+ ...a,
16854
16858
  children: e
16855
16859
  });
16856
16860
  }
@@ -81,7 +81,7 @@ $mini-cal-border-radius: 0.75rem;
81
81
  }
82
82
 
83
83
  &.is-view-period {
84
- background-color: #337eff22;
84
+ background-color: #337eff11;
85
85
 
86
86
  // color: dv.$info;
87
87
  &:hover {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "loon-bulma-react",
3
3
  "private": false,
4
- "version": "2026.0.68",
4
+ "version": "2026.0.70",
5
5
  "description": "Bulma &amp; React componenten voor Loon Salarissoftware",
6
6
  "type": "module",
7
7
  "license": "MIT",