@movable/ui 2.13.0 → 2.13.1

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/lib/index.d.ts CHANGED
@@ -111,7 +111,7 @@ declare type DemoComponentProps = {
111
111
  stringToDisplay: string;
112
112
  };
113
113
 
114
- export declare function DetailsLayout({ Header, children, ...rest }: LayoutDetailsProps): JSX_2.Element;
114
+ export declare function DetailsLayout({ Header, children, sx, ...rest }: LayoutDetailsProps): JSX_2.Element;
115
115
 
116
116
  declare type DrawerType = 'basic' | 'panel' | 'filter';
117
117
 
@@ -159,7 +159,7 @@ declare type IFilterDrawer = DrawerProps & {
159
159
  mainProps?: BoxProps;
160
160
  };
161
161
 
162
- export declare function IndexLayout({ Header, children, ...containerProps }: IndexLayoutProps): JSX_2.Element;
162
+ export declare function IndexLayout({ Header, children, sx, ...containerProps }: IndexLayoutProps): JSX_2.Element;
163
163
 
164
164
  declare type IndexLayoutProps = GridProps & {
165
165
  Header: JSX.Element;
package/lib/index.mjs CHANGED
@@ -19062,8 +19062,7 @@ if (process.env.NODE_ENV !== "production") {
19062
19062
  zeroMinWidth: e("item")
19063
19063
  });
19064
19064
  }
19065
- function YE({ Header: e, children: t, ...r }) {
19066
- const { sx: o, ...i } = r || {};
19065
+ function YE({ Header: e, children: t, sx: r, ...o }) {
19067
19066
  return f.jsxs(Vt, { container: !0, children: [e, f.jsx(Vt, { item: !0, container: !0, xs: 12, sx: {
19068
19067
  justifyContent: "center",
19069
19068
  alignContent: "flex-start",
@@ -19072,18 +19071,19 @@ function YE({ Header: e, children: t, ...r }) {
19072
19071
  backgroundColor: M.neutral50,
19073
19072
  minHeight: "100vh",
19074
19073
  overflow: "auto",
19075
- ...o
19076
- }, "data-test-layout-details": "content-slot", ...i, children: f.jsx(Vt, { item: !0, xs: 10, children: t }) })] });
19074
+ ...r
19075
+ }, "data-test-layout-details": "content-slot", ...o, children: f.jsx(Vt, { item: !0, xs: 10, children: t }) })] });
19077
19076
  }
19078
- function KE({ Header: e, children: t, ...r }) {
19077
+ function KE({ Header: e, children: t, sx: r, ...o }) {
19079
19078
  return f.jsxs(Vt, { container: !0, children: [e, f.jsx(Vt, { item: !0, container: !0, xs: 12, sx: {
19080
19079
  justifyContent: "center",
19081
19080
  alignContent: "flex-start",
19082
19081
  alignItems: "center",
19083
19082
  pt: 3,
19084
19083
  px: 3,
19085
- pb: 6
19086
- }, ...r, children: t })] });
19084
+ pb: 6,
19085
+ ...r
19086
+ }, ...o, children: t })] });
19087
19087
  }
19088
19088
  function XE({ Header: e, children: t, sx: r, ...o }) {
19089
19089
  return f.jsxs(Vt, { container: !0, children: [e, f.jsx(Vt, { item: !0, container: !0, xs: 12, sx: {