@overmap-ai/forms 1.0.11-fix-dropdown-buttons.3 → 1.0.11-fix-dropdown-buttons.4

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/forms.js CHANGED
@@ -2139,10 +2139,11 @@ const FieldActions = memo(function FieldActions2(props) {
2139
2139
  return {
2140
2140
  ...Action.buttonProps,
2141
2141
  onSelect: (_a = Action.buttonProps) == null ? void 0 : _a.onClick,
2142
- content: /* @__PURE__ */ jsx(Wrapper, { ...Action.wrapperProps, children: /* @__PURE__ */ jsxs(Button, { children: [
2142
+ itemDecorator: (content) => /* @__PURE__ */ jsx(Wrapper, { ...Action.wrapperProps, children: content }),
2143
+ content: /* @__PURE__ */ jsxs(Flex, { gap: "2", align: "center", children: [
2143
2144
  /* @__PURE__ */ jsx(Action.Icon, {}),
2144
2145
  Action.text
2145
- ] }) })
2146
+ ] })
2146
2147
  };
2147
2148
  }).filter((x) => x !== null)
2148
2149
  }