@overmap-ai/blocks 1.0.25-export-error-fixes.0 → 1.0.25-export-error-fixes.2
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/Layout/Root.d.ts +1 -13
- package/dist/Layout/context.d.ts +14 -0
- package/dist/Layout/index.d.ts +1 -1
- package/dist/blocks.js +2 -1
- package/dist/blocks.js.map +1 -1
- package/dist/blocks.umd.cjs +2 -1
- package/dist/blocks.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/blocks.umd.cjs
CHANGED
|
@@ -1493,6 +1493,7 @@
|
|
|
1493
1493
|
});
|
|
1494
1494
|
const Sidebar = React.memo(_Sidebar);
|
|
1495
1495
|
const LayoutContext = React.createContext({});
|
|
1496
|
+
const useLayoutContext = () => React.useContext(LayoutContext);
|
|
1496
1497
|
const Root$1 = React.memo((props) => {
|
|
1497
1498
|
const { children, small = false, hideLayout = false } = props;
|
|
1498
1499
|
const [showLeftSlideOut, setShowLeftSlideOut] = React.useState(false);
|
|
@@ -1511,7 +1512,6 @@
|
|
|
1511
1512
|
return /* @__PURE__ */ jsxRuntime.jsx(LayoutContext.Provider, { value: contextValue, children });
|
|
1512
1513
|
});
|
|
1513
1514
|
Root$1.displayName = "Layout.Root";
|
|
1514
|
-
const useLayoutContext = () => React.useContext(LayoutContext);
|
|
1515
1515
|
const Container = React.memo(
|
|
1516
1516
|
React.forwardRef((props, ref) => {
|
|
1517
1517
|
const { children, style, grow = "1", height = "100%", position, ...rest } = props;
|
|
@@ -4279,6 +4279,7 @@
|
|
|
4279
4279
|
exports2.IconColorUtility = IconColorUtility;
|
|
4280
4280
|
exports2.Input = Input;
|
|
4281
4281
|
exports2.Layout = Layout;
|
|
4282
|
+
exports2.LayoutContext = LayoutContext;
|
|
4282
4283
|
exports2.LeftAndRightPanels = LeftAndRightPanels;
|
|
4283
4284
|
exports2.MultiPagePopover = MultiPagePopover;
|
|
4284
4285
|
exports2.MultiSelect = MultiSelect;
|