@movable/ui 2.8.1 → 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 +1 -1
- 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({
|