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
|
-
|
|
5
|
+
type WidthType = `${number}${WidthExtension}`;
|
|
6
|
+
type ContainerProps = {
|
|
5
7
|
height?: HeightType;
|
|
8
|
+
width?: WidthType;
|
|
6
9
|
children: React.ReactNode;
|
|
7
|
-
} & React.HtmlHTMLAttributes<HTMLDivElement
|
|
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,
|
|
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(() =>
|
|
16850
|
-
...n
|
|
16851
|
-
height
|
|
16852
|
-
}
|
|
16853
|
-
|
|
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
|
}
|