@overmap-ai/core 1.0.38-component-fields.20 → 1.0.38-component-fields.21
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/overmap-core.js +14 -10
- package/dist/overmap-core.js.map +1 -1
- package/dist/overmap-core.umd.cjs +14 -10
- package/dist/overmap-core.umd.cjs.map +1 -1
- package/dist/style.css +13 -5
- package/package.json +1 -1
|
@@ -9677,11 +9677,15 @@ var __publicField = (obj, key, value) => {
|
|
|
9677
9677
|
super(options, FieldInputCloner);
|
|
9678
9678
|
}
|
|
9679
9679
|
}
|
|
9680
|
-
const
|
|
9681
|
-
const
|
|
9682
|
-
const
|
|
9683
|
-
const
|
|
9680
|
+
const displayFileContainer = "_displayFileContainer_1bb3a_1";
|
|
9681
|
+
const infoContainer = "_infoContainer_1bb3a_5";
|
|
9682
|
+
const previewImage$1 = "_previewImage_1bb3a_9";
|
|
9683
|
+
const nameContainer = "_nameContainer_1bb3a_19";
|
|
9684
|
+
const hasPreview = "_hasPreview_1bb3a_24";
|
|
9685
|
+
const useEllipsis = "_useEllipsis_1bb3a_29";
|
|
9684
9686
|
const styles$4 = {
|
|
9687
|
+
displayFileContainer,
|
|
9688
|
+
infoContainer,
|
|
9685
9689
|
previewImage: previewImage$1,
|
|
9686
9690
|
nameContainer,
|
|
9687
9691
|
hasPreview,
|
|
@@ -9826,7 +9830,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9826
9830
|
},
|
|
9827
9831
|
[name, resolvedFile]
|
|
9828
9832
|
);
|
|
9829
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(Card, {
|
|
9833
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: styles$4.displayFileContainer, size: "1", children: [
|
|
9830
9834
|
/* @__PURE__ */ jsxRuntime.jsx(Inset, { clip: "border-box", side: "top", pb: "0", children: url && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
9831
9835
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9832
9836
|
"img",
|
|
@@ -9849,17 +9853,17 @@ var __publicField = (obj, key, value) => {
|
|
|
9849
9853
|
}
|
|
9850
9854
|
)
|
|
9851
9855
|
] }) }),
|
|
9852
|
-
/* @__PURE__ */ jsxRuntime.jsx(blocks.Flex, {
|
|
9853
|
-
/* @__PURE__ */ jsxRuntime.jsxs(blocks.Flex, { align: "center", grow: "1", children: [
|
|
9856
|
+
/* @__PURE__ */ jsxRuntime.jsx(blocks.Flex, { className: styles$4.infoContainer, children: /* @__PURE__ */ jsxRuntime.jsxs(blocks.Flex, { align: "center", width: "100%", children: [
|
|
9857
|
+
/* @__PURE__ */ jsxRuntime.jsxs(blocks.Flex, { align: "center", gap: "2", grow: "1", children: [
|
|
9854
9858
|
/* @__PURE__ */ jsxRuntime.jsx(blocks.Text, { className: styles$4.useEllipsis, size: "1", children: name }),
|
|
9855
|
-
/* @__PURE__ */ jsxRuntime.jsx(blocks.Text, { size: "1", children: size }),
|
|
9859
|
+
/* @__PURE__ */ jsxRuntime.jsx(blocks.Text, { size: "1", children: `(${size})` }),
|
|
9856
9860
|
error2 && /* @__PURE__ */ jsxRuntime.jsx(blocks.Text, { size: "1", severity: "danger", children: error2 })
|
|
9857
9861
|
] }),
|
|
9858
9862
|
/* @__PURE__ */ jsxRuntime.jsxs(blocks.Flex, { align: "center", gap: "2", children: [
|
|
9859
9863
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9860
9864
|
blocks.IconButton,
|
|
9861
9865
|
{
|
|
9862
|
-
variant: "
|
|
9866
|
+
variant: "ghost",
|
|
9863
9867
|
"aria-label": `Download ${name}`,
|
|
9864
9868
|
onClick: handleDownload,
|
|
9865
9869
|
disabled: !resolvedFile,
|
|
@@ -9870,7 +9874,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9870
9874
|
blocks.IconButton,
|
|
9871
9875
|
{
|
|
9872
9876
|
severity: "info",
|
|
9873
|
-
variant: "
|
|
9877
|
+
variant: "ghost",
|
|
9874
9878
|
"aria-label": `Remove ${name}`,
|
|
9875
9879
|
disabled,
|
|
9876
9880
|
onClick: onRemove,
|