@overmap-ai/core 1.0.48-menu-improvements.0 → 1.0.48-menu-improvements.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.
|
@@ -14197,17 +14197,15 @@ var __publicField = (obj, key, value) => {
|
|
|
14197
14197
|
Action.key
|
|
14198
14198
|
)) }),
|
|
14199
14199
|
/* @__PURE__ */ jsxRuntime.jsx(Box, { display: forMobile(true, "block"), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
14200
|
-
blocks.
|
|
14200
|
+
blocks.OvermapDropdownMenu,
|
|
14201
14201
|
{
|
|
14202
14202
|
trigger: /* @__PURE__ */ jsxRuntime.jsx(blocks.IconButton, { variant: "ghost", "aria-label": "Actions menu", children: /* @__PURE__ */ jsxRuntime.jsx(blocks.RiIcon, { icon: "RiMore2Line" }) }),
|
|
14203
14203
|
items: actions.map((Action) => {
|
|
14204
14204
|
var _a2;
|
|
14205
14205
|
return {
|
|
14206
|
-
|
|
14207
|
-
|
|
14208
|
-
|
|
14209
|
-
] }, Action.key),
|
|
14210
|
-
onSelect: (_a2 = Action.buttonProps) == null ? void 0 : _a2.onClick
|
|
14206
|
+
leftSlot: /* @__PURE__ */ jsxRuntime.jsx(Action.Icon, {}),
|
|
14207
|
+
children: Action.text,
|
|
14208
|
+
onClick: (_a2 = Action.buttonProps) == null ? void 0 : _a2.onClick
|
|
14211
14209
|
};
|
|
14212
14210
|
})
|
|
14213
14211
|
}
|
|
@@ -14265,10 +14263,8 @@ var __publicField = (obj, key, value) => {
|
|
|
14265
14263
|
const field = FieldTypeToClsMapping[identifier];
|
|
14266
14264
|
const Icon = field.Icon;
|
|
14267
14265
|
return {
|
|
14268
|
-
|
|
14269
|
-
|
|
14270
|
-
/* @__PURE__ */ jsxRuntime.jsx(blocks.Text, { children: field.fieldTypeName })
|
|
14271
|
-
] }, identifier),
|
|
14266
|
+
children: field.fieldTypeName,
|
|
14267
|
+
leftSlot: /* @__PURE__ */ jsxRuntime.jsx(Icon, {}),
|
|
14272
14268
|
value: identifier,
|
|
14273
14269
|
onSelect: () => {
|
|
14274
14270
|
onSelect(identifier);
|
|
@@ -14833,7 +14829,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14833
14829
|
)),
|
|
14834
14830
|
droppableProvided.placeholder,
|
|
14835
14831
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14836
|
-
blocks.
|
|
14832
|
+
blocks.OvermapDropdownMenu,
|
|
14837
14833
|
{
|
|
14838
14834
|
trigger: /* @__PURE__ */ jsxRuntime.jsxs(blocks.Button, { type: "button", variant: "soft", children: [
|
|
14839
14835
|
/* @__PURE__ */ jsxRuntime.jsx(blocks.RiIcon, { icon: "RiAddLine" }),
|