@movable/ui 2.8.0 → 2.9.0
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 +1 -1
- package/lib/index.mjs +3 -3
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -123,7 +123,7 @@ declare type HeaderLink = {
|
|
|
123
123
|
export declare function HeaderMetadata({ metadata }: MetaDataProps): JSX_2.Element;
|
|
124
124
|
|
|
125
125
|
declare type HeaderMetadataType = {
|
|
126
|
-
icon
|
|
126
|
+
icon?: string | JSX.Element;
|
|
127
127
|
label: string;
|
|
128
128
|
value: string | JSX.Element;
|
|
129
129
|
};
|
package/lib/index.mjs
CHANGED
|
@@ -4082,7 +4082,7 @@ function yb({
|
|
|
4082
4082
|
}, children: s })] }) }), m.jsx(_f, { component: "main", open: e, ...d, children: r })] });
|
|
4083
4083
|
}
|
|
4084
4084
|
function bb({ metadata: e }) {
|
|
4085
|
-
return m.jsx(Fe, { direction: "row", spacing: 2, children: e.map(({ icon: t, label: r, value: n }) => m.jsxs(Fe, { direction: "row", alignItems: "center", spacing: 0.5, children: [typeof t == "string" ? m.jsx(Tr, { sx: { color: "neutral600", fontSize: "1rem" }, children: t }) : t, m.jsx(rt, { variant: "body2", color: "text.secondary", children: r }), typeof n == "string" ? m.jsx(rt, { variant: "body2", children: n }) : n] }, r)) });
|
|
4085
|
+
return m.jsx(Fe, { direction: "row", spacing: 2, children: e.map(({ icon: t, label: r, value: n }) => m.jsxs(Fe, { direction: "row", alignItems: "center", spacing: 0.5, children: [t && typeof t == "string" ? m.jsx(Tr, { sx: { color: "neutral600", fontSize: "1rem" }, children: t }) : t, m.jsx(rt, { variant: "body2", color: "text.secondary", children: r }), typeof n == "string" ? m.jsx(rt, { variant: "body2", children: n }) : n] }, r)) });
|
|
4086
4086
|
}
|
|
4087
4087
|
const jf = ({ children: e }) => {
|
|
4088
4088
|
const t = ou({
|
|
@@ -12388,7 +12388,7 @@ function Db({ Header: e, children: t, ...r }) {
|
|
|
12388
12388
|
justifyContent: "center",
|
|
12389
12389
|
alignContent: "flex-start",
|
|
12390
12390
|
alignItems: "center",
|
|
12391
|
-
|
|
12391
|
+
py: 8,
|
|
12392
12392
|
backgroundColor: S.neutral50,
|
|
12393
12393
|
minHeight: "100vh",
|
|
12394
12394
|
overflow: "auto",
|
|
@@ -12410,7 +12410,7 @@ function Bb({ Header: e, children: t, sx: r, ...n }) {
|
|
|
12410
12410
|
justifyContent: "center",
|
|
12411
12411
|
alignContent: "flex-start",
|
|
12412
12412
|
alignItems: "center",
|
|
12413
|
-
|
|
12413
|
+
py: 8,
|
|
12414
12414
|
backgroundColor: S.neutral50,
|
|
12415
12415
|
minHeight: "100vh",
|
|
12416
12416
|
overflow: "auto",
|