@ixo/editor 1.10.0 → 1.10.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.
@@ -772,7 +772,7 @@ function ReusablePanel({ extraTabs, context }) {
772
772
  }
773
773
  ];
774
774
  const defaultValue = tabs.length > 0 ? tabs[0].value : "conditions";
775
- return /* @__PURE__ */ React6.createElement(Tabs, { defaultValue }, /* @__PURE__ */ React6.createElement(Tabs.List, null, tabs.map((tab) => /* @__PURE__ */ React6.createElement(Tabs.Tab, { key: tab.value, value: tab.value }, tab.label))), tabs.map((tab) => /* @__PURE__ */ React6.createElement(Tabs.Panel, { key: tab.value, value: tab.value }, tab.content)));
775
+ return /* @__PURE__ */ React6.createElement(Tabs, { defaultValue }, /* @__PURE__ */ React6.createElement(Tabs.List, null, tabs.map((tab) => /* @__PURE__ */ React6.createElement(Tabs.Tab, { key: tab.value, value: tab.value }, tab.label))), tabs.map((tab) => /* @__PURE__ */ React6.createElement(Tabs.Panel, { key: tab.value, value: tab.value, mt: 10 }, tab.content)));
776
776
  }
777
777
 
778
778
  // src/mantine/blocks/checkbox/template/GeneralTab.tsx
@@ -3276,7 +3276,7 @@ var GeneralTab3 = ({ title, description, onTitleChange, onDescriptionChange }) =
3276
3276
 
3277
3277
  // src/mantine/blocks/proposal/template/ActionsTab.tsx
3278
3278
  import React74, { useCallback as useCallback11, useEffect as useEffect11, useState as useState16 } from "react";
3279
- import { Button as Button12, Card as Card13, Stack as Stack58 } from "@mantine/core";
3279
+ import { Card as Card13, Stack as Stack58 } from "@mantine/core";
3280
3280
 
3281
3281
  // src/mantine/blocks/proposal/actions-components/ActionsCard.tsx
3282
3282
  import React42 from "react";
@@ -6001,7 +6001,7 @@ var ActionsPanel = ({ actions, editingIndex, onSave, onCancel, isTemplateMode =
6001
6001
  }
6002
6002
  },
6003
6003
  /* @__PURE__ */ React73.createElement(Tabs2.List, null, ACTION_CATEGORIES.map((category) => /* @__PURE__ */ React73.createElement(Tabs2.Tab, { key: category.id, value: category.id }, /* @__PURE__ */ React73.createElement(Group19, { gap: "xs" }, /* @__PURE__ */ React73.createElement("span", null, category.icon), /* @__PURE__ */ React73.createElement("span", null, category.label))))),
6004
- ACTION_CATEGORIES.map((category) => /* @__PURE__ */ React73.createElement(Tabs2.Panel, { key: category.id, value: category.id }, /* @__PURE__ */ React73.createElement(SimpleGrid, { cols: 2, spacing: "xs" }, (categorizedActions.get(category.id) || []).map((config) => /* @__PURE__ */ React73.createElement(
6004
+ ACTION_CATEGORIES.map((category) => /* @__PURE__ */ React73.createElement(Tabs2.Panel, { key: category.id, value: category.id, mt: 10 }, /* @__PURE__ */ React73.createElement(SimpleGrid, { cols: 2, spacing: "xs" }, (categorizedActions.get(category.id) || []).map((config) => /* @__PURE__ */ React73.createElement(
6005
6005
  Paper5,
6006
6006
  {
6007
6007
  key: config.value,
@@ -6153,19 +6153,7 @@ var ActionsTab = ({ actions, onActionsChange, editor, block }) => {
6153
6153
  setIsEditorVisible(false);
6154
6154
  setEditingIndex(null);
6155
6155
  }, []);
6156
- return /* @__PURE__ */ React74.createElement(Stack58, { gap: "md" }, /* @__PURE__ */ React74.createElement(
6157
- Button12,
6158
- {
6159
- onClick: handleAddAction,
6160
- style: {
6161
- backgroundColor: "#4dabf7",
6162
- "&:hover": {
6163
- backgroundColor: "#339af0"
6164
- }
6165
- }
6166
- },
6167
- "Add Action"
6168
- ), /* @__PURE__ */ React74.createElement(ActionsCard, { actions: currentActions, isSelected: false, onClick: () => {
6156
+ return /* @__PURE__ */ React74.createElement(Stack58, { gap: "md" }, /* @__PURE__ */ React74.createElement(ActionsCard, { actions: currentActions, isSelected: false, onClick: () => {
6169
6157
  }, onEditAction: handleEditAction, onRemoveAction: handleRemoveAction }), isEditorVisible && /* @__PURE__ */ React74.createElement(
6170
6158
  Card13,
6171
6159
  {
@@ -9061,4 +9049,4 @@ export {
9061
9049
  ixoGraphQLClient,
9062
9050
  getEntity
9063
9051
  };
9064
- //# sourceMappingURL=chunk-DYWMPNRW.mjs.map
9052
+ //# sourceMappingURL=chunk-IILVJR2F.mjs.map