@overmap-ai/core 1.0.38-component-fields.38 → 1.0.38-component-fields.39
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.
|
@@ -11687,7 +11687,8 @@ var __publicField = (obj, key, value) => {
|
|
|
11687
11687
|
showExplainerText = true,
|
|
11688
11688
|
showFormTitle = true,
|
|
11689
11689
|
fieldsOnly = false,
|
|
11690
|
-
showTabs = true
|
|
11690
|
+
showTabs = true,
|
|
11691
|
+
tabsListClassName
|
|
11691
11692
|
} = props;
|
|
11692
11693
|
const { showError } = blocks.useToast();
|
|
11693
11694
|
const validate = React.useCallback(
|
|
@@ -11752,7 +11753,7 @@ var __publicField = (obj, key, value) => {
|
|
|
11752
11753
|
});
|
|
11753
11754
|
const previewSchema = React.useMemo(() => formRevisionToSchema(formik$1.values), [formik$1.values]);
|
|
11754
11755
|
return /* @__PURE__ */ jsxRuntime.jsx(Tabs.Root, { ref, defaultValue: "edit", children: /* @__PURE__ */ jsxRuntime.jsxs(blocks.Flex, { direction: "column", gap: "2", children: [
|
|
11755
|
-
showTabs && /* @__PURE__ */ jsxRuntime.jsxs(Tabs.List, { className: styles$7.tabsList, children: [
|
|
11756
|
+
showTabs && /* @__PURE__ */ jsxRuntime.jsxs(Tabs.List, { className: classNames$1(styles$7.tabsList, tabsListClassName), children: [
|
|
11756
11757
|
/* @__PURE__ */ jsxRuntime.jsx(Tabs.Trigger, { className: styles$7.tabTrigger, value: "edit", children: /* @__PURE__ */ jsxRuntime.jsxs(blocks.Flex, { align: "center", gap: "2", children: [
|
|
11757
11758
|
/* @__PURE__ */ jsxRuntime.jsx(Pencil1Icon, {}),
|
|
11758
11759
|
"Edit"
|