@uipath/apollo-react 6.79.0 → 6.80.0

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.
Files changed (39) hide show
  1. package/dist/canvas/components/JsonTree/index.cjs +4 -0
  2. package/dist/canvas/components/JsonTree/index.d.ts +1 -1
  3. package/dist/canvas/components/JsonTree/index.d.ts.map +1 -1
  4. package/dist/canvas/components/JsonTree/index.js +2 -2
  5. package/dist/canvas/components/NodeIOView/NodeIOView.cjs +10 -12
  6. package/dist/canvas/components/NodeIOView/NodeIOView.d.ts +1 -1
  7. package/dist/canvas/components/NodeIOView/NodeIOView.d.ts.map +1 -1
  8. package/dist/canvas/components/NodeIOView/NodeIOView.js +12 -14
  9. package/dist/canvas/components/NodeIOView/NodeIOView.types.d.ts +2 -0
  10. package/dist/canvas/components/NodeIOView/NodeIOView.types.d.ts.map +1 -1
  11. package/dist/canvas/components/NodePropertyPanel/NodePropertyPanel.cjs +6 -6
  12. package/dist/canvas/components/NodePropertyPanel/NodePropertyPanel.d.ts.map +1 -1
  13. package/dist/canvas/components/NodePropertyPanel/NodePropertyPanel.js +6 -6
  14. package/dist/canvas/components/NodeVariablesPanel/NodeVariableEditDialog.cjs +405 -0
  15. package/dist/canvas/components/NodeVariablesPanel/NodeVariableEditDialog.d.ts +10 -0
  16. package/dist/canvas/components/NodeVariablesPanel/NodeVariableEditDialog.d.ts.map +1 -0
  17. package/dist/canvas/components/NodeVariablesPanel/NodeVariableEditDialog.js +371 -0
  18. package/dist/canvas/components/NodeVariablesPanel/NodeVariablesPanel.cjs +726 -0
  19. package/dist/canvas/components/NodeVariablesPanel/NodeVariablesPanel.d.ts +3 -0
  20. package/dist/canvas/components/NodeVariablesPanel/NodeVariablesPanel.d.ts.map +1 -0
  21. package/dist/canvas/components/NodeVariablesPanel/NodeVariablesPanel.js +692 -0
  22. package/dist/canvas/components/NodeVariablesPanel/NodeVariablesPanel.types.cjs +18 -0
  23. package/dist/canvas/components/NodeVariablesPanel/NodeVariablesPanel.types.d.ts +65 -0
  24. package/dist/canvas/components/NodeVariablesPanel/NodeVariablesPanel.types.d.ts.map +1 -0
  25. package/dist/canvas/components/NodeVariablesPanel/NodeVariablesPanel.types.js +0 -0
  26. package/dist/canvas/components/NodeVariablesPanel/index.cjs +36 -0
  27. package/dist/canvas/components/NodeVariablesPanel/index.d.ts +3 -0
  28. package/dist/canvas/components/NodeVariablesPanel/index.d.ts.map +1 -0
  29. package/dist/canvas/components/NodeVariablesPanel/index.js +2 -0
  30. package/dist/canvas/components/index.cjs +23 -16
  31. package/dist/canvas/components/index.d.ts +1 -0
  32. package/dist/canvas/components/index.d.ts.map +1 -1
  33. package/dist/canvas/components/index.js +1 -0
  34. package/dist/canvas/locales/en.cjs +1 -1
  35. package/dist/canvas/locales/en.d.ts.map +1 -1
  36. package/dist/canvas/locales/en.js +1 -1
  37. package/dist/canvas/styles/tailwind.canvas.css +1 -1
  38. package/dist/chat/styles/tailwind.chat.css +1 -1
  39. package/package.json +3 -3
@@ -62,6 +62,7 @@ var __webpack_exports__ = {};
62
62
  inferValueType: ()=>_uipath_apollo_wind__rspack_import_0.inferValueType,
63
63
  isArrayItemTemplateRoot: ()=>_uipath_apollo_wind__rspack_import_0.isArrayItemTemplateRoot,
64
64
  isJsonObject: ()=>_uipath_apollo_wind__rspack_import_0.isJsonObject,
65
+ isPathCollapsed: ()=>_uipath_apollo_wind__rspack_import_0.isPathCollapsed,
65
66
  removeValueAtPath: ()=>_uipath_apollo_wind__rspack_import_0.removeValueAtPath,
66
67
  schemaDisplayType: ()=>_uipath_apollo_wind__rspack_import_0.schemaDisplayType,
67
68
  setValueAtPath: ()=>_uipath_apollo_wind__rspack_import_0.setValueAtPath
@@ -78,6 +79,7 @@ var __webpack_exports__ = {};
78
79
  "removeValueAtPath",
79
80
  "schemaDisplayType",
80
81
  "flattenJsonTree",
82
+ "isPathCollapsed",
81
83
  "DEFAULT_JSON_TREE_VIEW_STRINGS",
82
84
  "getValueAtPath",
83
85
  "default",
@@ -99,6 +101,7 @@ exports.getValueAtPath = __webpack_exports__.getValueAtPath;
99
101
  exports.inferValueType = __webpack_exports__.inferValueType;
100
102
  exports.isArrayItemTemplateRoot = __webpack_exports__.isArrayItemTemplateRoot;
101
103
  exports.isJsonObject = __webpack_exports__.isJsonObject;
104
+ exports.isPathCollapsed = __webpack_exports__.isPathCollapsed;
102
105
  exports.removeValueAtPath = __webpack_exports__.removeValueAtPath;
103
106
  exports.schemaDisplayType = __webpack_exports__.schemaDisplayType;
104
107
  exports.setValueAtPath = __webpack_exports__.setValueAtPath;
@@ -114,6 +117,7 @@ for(var __rspack_i in __webpack_exports__)if (-1 === [
114
117
  "inferValueType",
115
118
  "isArrayItemTemplateRoot",
116
119
  "isJsonObject",
120
+ "isPathCollapsed",
117
121
  "removeValueAtPath",
118
122
  "schemaDisplayType",
119
123
  "setValueAtPath"
@@ -1,4 +1,4 @@
1
1
  export type { BuildJsonTreeOptions, ContainerPath, CopyEvent, DeriveTypeIcon, FlatJsonTreeRow, FlattenOptions, JsonCodeEditorRenderProps, JsonContainer, JsonContainerEditorProps, JsonLeafValueEditorProps, JsonMultilineLeafEditorProps, JsonObject, JsonSchema, JsonSchemaTypeName, JsonTreeChange, JsonTreeFilterOption, JsonTreeNode, JsonTreeNodeType, JsonTreeRowWrapper, JsonTreeRowWrapperProps, JsonTreeToolbarProps, JsonTreeViewStrings, JsonTreeViewProps, JsonTreeViewProviderProps, JsonTypeBadgeProps, JsonValue, NodeAction, NodeActionContext, NodeActionsResolver, NodeBadgeReference, NodeDecoration, NodeDecorationBadge, NodeDecorationChip, NodeDecorationTone, NodeDisplayTexts, PathForCopy, PathSegment, RenderCodeEditor, RenderValueCell, RenderValueContext, ResolvedJsonTreeViewStrings, } from '@uipath/apollo-wind';
2
- export { appendPathSegment, buildJsonTree, collectContainerPaths, copyTextToClipboard, DEFAULT_JSON_TREE_VIEW_STRINGS, flattenJsonTree, formatLeafValue, getValueAtPath, inferValueType, isArrayItemTemplateRoot, isJsonObject, removeValueAtPath, schemaDisplayType, setValueAtPath, } from '@uipath/apollo-wind';
2
+ export { appendPathSegment, buildJsonTree, collectContainerPaths, copyTextToClipboard, DEFAULT_JSON_TREE_VIEW_STRINGS, flattenJsonTree, formatLeafValue, getValueAtPath, inferValueType, isArrayItemTemplateRoot, isJsonObject, isPathCollapsed, removeValueAtPath, schemaDisplayType, setValueAtPath, } from '@uipath/apollo-wind';
3
3
  export * from './JsonTree';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/JsonTree/index.ts"],"names":[],"mappings":"AAEA,YAAY,EACV,oBAAoB,EACpB,aAAa,EACb,SAAS,EACT,cAAc,EACd,eAAe,EACf,cAAc,EACd,yBAAyB,EACzB,aAAa,EACb,wBAAwB,EACxB,wBAAwB,EACxB,4BAA4B,EAC5B,UAAU,EACV,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,oBAAoB,EACpB,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,uBAAuB,EACvB,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB,EACjB,yBAAyB,EACzB,kBAAkB,EAClB,SAAS,EACT,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EAClB,2BAA2B,GAC5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,qBAAqB,EACrB,mBAAmB,EACnB,8BAA8B,EAC9B,eAAe,EACf,eAAe,EACf,cAAc,EACd,cAAc,EACd,uBAAuB,EACvB,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,GACf,MAAM,qBAAqB,CAAC;AAC7B,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/JsonTree/index.ts"],"names":[],"mappings":"AAEA,YAAY,EACV,oBAAoB,EACpB,aAAa,EACb,SAAS,EACT,cAAc,EACd,eAAe,EACf,cAAc,EACd,yBAAyB,EACzB,aAAa,EACb,wBAAwB,EACxB,wBAAwB,EACxB,4BAA4B,EAC5B,UAAU,EACV,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,oBAAoB,EACpB,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,uBAAuB,EACvB,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB,EACjB,yBAAyB,EACzB,kBAAkB,EAClB,SAAS,EACT,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EAClB,2BAA2B,GAC5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,qBAAqB,EACrB,mBAAmB,EACnB,8BAA8B,EAC9B,eAAe,EACf,eAAe,EACf,cAAc,EACd,cAAc,EACd,uBAAuB,EACvB,YAAY,EACZ,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,GACf,MAAM,qBAAqB,CAAC;AAC7B,cAAc,YAAY,CAAC"}
@@ -1,3 +1,3 @@
1
- import { DEFAULT_JSON_TREE_VIEW_STRINGS, appendPathSegment, buildJsonTree, collectContainerPaths, copyTextToClipboard, flattenJsonTree, formatLeafValue, getValueAtPath, inferValueType, isArrayItemTemplateRoot, isJsonObject, removeValueAtPath, schemaDisplayType, setValueAtPath } from "@uipath/apollo-wind";
1
+ import { DEFAULT_JSON_TREE_VIEW_STRINGS, appendPathSegment, buildJsonTree, collectContainerPaths, copyTextToClipboard, flattenJsonTree, formatLeafValue, getValueAtPath, inferValueType, isArrayItemTemplateRoot, isJsonObject, isPathCollapsed, removeValueAtPath, schemaDisplayType, setValueAtPath } from "@uipath/apollo-wind";
2
2
  export * from "./JsonTree.js";
3
- export { DEFAULT_JSON_TREE_VIEW_STRINGS, appendPathSegment, buildJsonTree, collectContainerPaths, copyTextToClipboard, flattenJsonTree, formatLeafValue, getValueAtPath, inferValueType, isArrayItemTemplateRoot, isJsonObject, removeValueAtPath, schemaDisplayType, setValueAtPath };
3
+ export { DEFAULT_JSON_TREE_VIEW_STRINGS, appendPathSegment, buildJsonTree, collectContainerPaths, copyTextToClipboard, flattenJsonTree, formatLeafValue, getValueAtPath, inferValueType, isArrayItemTemplateRoot, isJsonObject, isPathCollapsed, removeValueAtPath, schemaDisplayType, setValueAtPath };
@@ -33,9 +33,7 @@ const external_react_namespaceObject = require("react");
33
33
  const index_cjs_namespaceObject = require("../../../i18n/index.cjs");
34
34
  const external_JsonTree_index_cjs_namespaceObject = require("../JsonTree/index.cjs");
35
35
  const external_PanelTitleBar_cjs_namespaceObject = require("./PanelTitleBar.cjs");
36
- const TAB_LIST_CLASS = 'h-auto justify-start gap-0.5 rounded-lg bg-transparent p-0 text-muted-foreground';
37
- const TAB_TRIGGER_CLASS = 'inline-flex h-6 shrink-0 items-center whitespace-nowrap rounded-md px-2.5 text-xs font-medium text-muted-foreground shadow-none transition-colors hover:text-foreground data-[state=active]:bg-surface-overlay data-[state=active]:text-foreground data-[state=active]:shadow-sm';
38
- function NodeIOView({ schema, value, onValueChange, basePath, readOnly = false, title, titleIcon, titleBadge, titleTrailing, searchPlaceholder, emptyMessage, jsonView, extraTabs, defaultTab, onTabChange, beforeContent, rowWrapper, filters, decorateNode, deriveTypeIcon, renderValue, nodeActions, maxInlineActions, renderCodeEditor, pathForCopy, onCopy, virtualized = false, defaultCollapsedDepth = 2, className }) {
36
+ function NodeIOView({ schema, value, onValueChange, basePath, readOnly = false, title, titleIcon, titleBadge, titleTrailing, toolbarTrailing, searchPlaceholder, emptyMessage, jsonView, extraTabs, defaultTab, onTabChange, beforeContent, rowWrapper, filters, decorateNode, deriveTypeIcon, renderValue, nodeActions, maxInlineActions, renderCodeEditor, pathForCopy, onCopy, virtualized = false, defaultCollapsedDepth = 2, inset = false, className }) {
39
37
  const { _ } = (0, index_cjs_namespaceObject.useSafeLingui)();
40
38
  const nodes = (0, external_react_namespaceObject.useMemo)(()=>(0, external_JsonTree_index_cjs_namespaceObject.buildJsonTree)({
41
39
  schema,
@@ -138,18 +136,16 @@ function NodeIOView({ schema, value, onValueChange, basePath, readOnly = false,
138
136
  })
139
137
  })
140
138
  ]
141
- }) : /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(apollo_wind_namespaceObject.TabsList, {
142
- className: TAB_LIST_CLASS,
143
- children: tabs.map((tab)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(apollo_wind_namespaceObject.TabsTrigger, {
139
+ }) : /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(apollo_wind_namespaceObject.PanelTabsStrip, {
140
+ children: tabs.map((tab)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(apollo_wind_namespaceObject.PanelTabsTrigger, {
144
141
  value: tab.id,
145
- className: TAB_TRIGGER_CLASS,
146
142
  children: tab.label
147
143
  }, tab.id))
148
144
  });
149
- const allCollapsed = containerPaths.length > 0 && containerPaths.every((c)=>collapsed[c.path]);
145
+ const allCollapsed = containerPaths.length > 0 && containerPaths.every((c)=>(0, external_JsonTree_index_cjs_namespaceObject.isPathCollapsed)(collapsed, c.path));
150
146
  const toggleCollapsed = (path)=>setCollapsed((prev)=>({
151
147
  ...prev,
152
- [path]: !prev[path]
148
+ [path]: !(0, external_JsonTree_index_cjs_namespaceObject.isPathCollapsed)(prev, path)
153
149
  }));
154
150
  const toggleAll = ()=>{
155
151
  setCollapsed(allCollapsed ? {} : Object.fromEntries(containerPaths.map((c)=>[
@@ -167,7 +163,7 @@ function NodeIOView({ schema, value, onValueChange, basePath, readOnly = false,
167
163
  });
168
164
  };
169
165
  return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
170
- className: (0, apollo_wind_namespaceObject.cn)('flex h-full min-h-0 flex-col gap-4', className),
166
+ className: (0, apollo_wind_namespaceObject.cn)('flex h-full min-h-0 flex-col gap-4', inset && 'p-(--mf-content-inset,1rem)', className),
171
167
  children: [
172
168
  title && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_PanelTitleBar_cjs_namespaceObject.PanelTitleBar, {
173
169
  icon: titleIcon,
@@ -183,7 +179,7 @@ function NodeIOView({ schema, value, onValueChange, basePath, readOnly = false,
183
179
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(apollo_wind_namespaceObject.Tabs, {
184
180
  value: activeTab,
185
181
  onValueChange: handleTabChange,
186
- className: "flex min-h-0 flex-1 flex-col gap-2",
182
+ className: "flex min-h-0 flex-1 flex-col gap-3",
187
183
  children: [
188
184
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_JsonTree_index_cjs_namespaceObject.JsonTreeToolbar, {
189
185
  query: query,
@@ -195,6 +191,7 @@ function NodeIOView({ schema, value, onValueChange, basePath, readOnly = false,
195
191
  allCollapsed: allCollapsed,
196
192
  onToggleAll: containerPaths.length > 0 ? toggleAll : void 0,
197
193
  leading: tabSwitcher,
194
+ trailing: toolbarTrailing,
198
195
  controlsHidden: 'schema' !== activeTab,
199
196
  className: "shrink-0"
200
197
  }),
@@ -221,7 +218,8 @@ function NodeIOView({ schema, value, onValueChange, basePath, readOnly = false,
221
218
  pathForCopy: pathForCopy,
222
219
  onCopy: onCopy,
223
220
  virtualized: virtualized,
224
- emptyMessage: emptyMessage
221
+ emptyMessage: emptyMessage,
222
+ className: "py-1"
225
223
  })
226
224
  })
227
225
  }),
@@ -1,3 +1,3 @@
1
1
  import type { NodeIOViewProps } from './NodeIOView.types';
2
- export declare function NodeIOView({ schema, value, onValueChange, basePath, readOnly, title, titleIcon, titleBadge, titleTrailing, searchPlaceholder, emptyMessage, jsonView, extraTabs, defaultTab, onTabChange, beforeContent, rowWrapper, filters, decorateNode, deriveTypeIcon, renderValue, nodeActions, maxInlineActions, renderCodeEditor, pathForCopy, onCopy, virtualized, defaultCollapsedDepth, className, }: NodeIOViewProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function NodeIOView({ schema, value, onValueChange, basePath, readOnly, title, titleIcon, titleBadge, titleTrailing, toolbarTrailing, searchPlaceholder, emptyMessage, jsonView, extraTabs, defaultTab, onTabChange, beforeContent, rowWrapper, filters, decorateNode, deriveTypeIcon, renderValue, nodeActions, maxInlineActions, renderCodeEditor, pathForCopy, onCopy, virtualized, defaultCollapsedDepth, inset, className, }: NodeIOViewProps): import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=NodeIOView.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NodeIOView.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/NodeIOView/NodeIOView.tsx"],"names":[],"mappings":"AA2BA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAyC1D,wBAAgB,UAAU,CAAC,EACzB,MAAM,EACN,KAAK,EACL,aAAa,EACb,QAAQ,EACR,QAAgB,EAChB,KAAK,EACL,SAAS,EACT,UAAU,EACV,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,UAAU,EACV,WAAW,EACX,aAAa,EACb,UAAU,EACV,OAAO,EACP,YAAY,EACZ,cAAc,EACd,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,EACX,MAAM,EACN,WAAmB,EACnB,qBAAyB,EACzB,SAAS,GACV,EAAE,eAAe,2CAsMjB"}
1
+ {"version":3,"file":"NodeIOView.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/NodeIOView/NodeIOView.tsx"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAqC1D,wBAAgB,UAAU,CAAC,EACzB,MAAM,EACN,KAAK,EACL,aAAa,EACb,QAAQ,EACR,QAAgB,EAChB,KAAK,EACL,SAAS,EACT,UAAU,EACV,aAAa,EACb,eAAe,EACf,iBAAiB,EACjB,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,UAAU,EACV,WAAW,EACX,aAAa,EACb,UAAU,EACV,OAAO,EACP,YAAY,EACZ,cAAc,EACd,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,EACX,MAAM,EACN,WAAmB,EACnB,qBAAyB,EACzB,KAAa,EACb,SAAS,GACV,EAAE,eAAe,2CAkNjB"}
@@ -1,13 +1,11 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import { Button, DropdownMenu, DropdownMenuContent, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuTrigger, Tabs, TabsContent, TabsList, TabsTrigger, cn } from "@uipath/apollo-wind";
2
+ import { Button, DropdownMenu, DropdownMenuContent, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuTrigger, PanelTabsStrip, PanelTabsTrigger, Tabs, TabsContent, cn } from "@uipath/apollo-wind";
3
3
  import { ChevronDown } from "lucide-react";
4
4
  import { useMemo, useState } from "react";
5
5
  import { useSafeLingui } from "../../../i18n/index.js";
6
- import { JsonTreeToolbar, JsonTreeView, buildJsonTree, collectContainerPaths, removeValueAtPath, setValueAtPath } from "../JsonTree/index.js";
6
+ import { JsonTreeToolbar, JsonTreeView, buildJsonTree, collectContainerPaths, isPathCollapsed, removeValueAtPath, setValueAtPath } from "../JsonTree/index.js";
7
7
  import { PanelTitleBar } from "./PanelTitleBar.js";
8
- const TAB_LIST_CLASS = 'h-auto justify-start gap-0.5 rounded-lg bg-transparent p-0 text-muted-foreground';
9
- const TAB_TRIGGER_CLASS = 'inline-flex h-6 shrink-0 items-center whitespace-nowrap rounded-md px-2.5 text-xs font-medium text-muted-foreground shadow-none transition-colors hover:text-foreground data-[state=active]:bg-surface-overlay data-[state=active]:text-foreground data-[state=active]:shadow-sm';
10
- function NodeIOView({ schema, value, onValueChange, basePath, readOnly = false, title, titleIcon, titleBadge, titleTrailing, searchPlaceholder, emptyMessage, jsonView, extraTabs, defaultTab, onTabChange, beforeContent, rowWrapper, filters, decorateNode, deriveTypeIcon, renderValue, nodeActions, maxInlineActions, renderCodeEditor, pathForCopy, onCopy, virtualized = false, defaultCollapsedDepth = 2, className }) {
8
+ function NodeIOView({ schema, value, onValueChange, basePath, readOnly = false, title, titleIcon, titleBadge, titleTrailing, toolbarTrailing, searchPlaceholder, emptyMessage, jsonView, extraTabs, defaultTab, onTabChange, beforeContent, rowWrapper, filters, decorateNode, deriveTypeIcon, renderValue, nodeActions, maxInlineActions, renderCodeEditor, pathForCopy, onCopy, virtualized = false, defaultCollapsedDepth = 2, inset = false, className }) {
11
9
  const { _ } = useSafeLingui();
12
10
  const nodes = useMemo(()=>buildJsonTree({
13
11
  schema,
@@ -110,18 +108,16 @@ function NodeIOView({ schema, value, onValueChange, basePath, readOnly = false,
110
108
  })
111
109
  })
112
110
  ]
113
- }) : /*#__PURE__*/ jsx(TabsList, {
114
- className: TAB_LIST_CLASS,
115
- children: tabs.map((tab)=>/*#__PURE__*/ jsx(TabsTrigger, {
111
+ }) : /*#__PURE__*/ jsx(PanelTabsStrip, {
112
+ children: tabs.map((tab)=>/*#__PURE__*/ jsx(PanelTabsTrigger, {
116
113
  value: tab.id,
117
- className: TAB_TRIGGER_CLASS,
118
114
  children: tab.label
119
115
  }, tab.id))
120
116
  });
121
- const allCollapsed = containerPaths.length > 0 && containerPaths.every((c)=>collapsed[c.path]);
117
+ const allCollapsed = containerPaths.length > 0 && containerPaths.every((c)=>isPathCollapsed(collapsed, c.path));
122
118
  const toggleCollapsed = (path)=>setCollapsed((prev)=>({
123
119
  ...prev,
124
- [path]: !prev[path]
120
+ [path]: !isPathCollapsed(prev, path)
125
121
  }));
126
122
  const toggleAll = ()=>{
127
123
  setCollapsed(allCollapsed ? {} : Object.fromEntries(containerPaths.map((c)=>[
@@ -139,7 +135,7 @@ function NodeIOView({ schema, value, onValueChange, basePath, readOnly = false,
139
135
  });
140
136
  };
141
137
  return /*#__PURE__*/ jsxs("div", {
142
- className: cn('flex h-full min-h-0 flex-col gap-4', className),
138
+ className: cn('flex h-full min-h-0 flex-col gap-4', inset && 'p-(--mf-content-inset,1rem)', className),
143
139
  children: [
144
140
  title && /*#__PURE__*/ jsx(PanelTitleBar, {
145
141
  icon: titleIcon,
@@ -155,7 +151,7 @@ function NodeIOView({ schema, value, onValueChange, basePath, readOnly = false,
155
151
  /*#__PURE__*/ jsxs(Tabs, {
156
152
  value: activeTab,
157
153
  onValueChange: handleTabChange,
158
- className: "flex min-h-0 flex-1 flex-col gap-2",
154
+ className: "flex min-h-0 flex-1 flex-col gap-3",
159
155
  children: [
160
156
  /*#__PURE__*/ jsx(JsonTreeToolbar, {
161
157
  query: query,
@@ -167,6 +163,7 @@ function NodeIOView({ schema, value, onValueChange, basePath, readOnly = false,
167
163
  allCollapsed: allCollapsed,
168
164
  onToggleAll: containerPaths.length > 0 ? toggleAll : void 0,
169
165
  leading: tabSwitcher,
166
+ trailing: toolbarTrailing,
170
167
  controlsHidden: 'schema' !== activeTab,
171
168
  className: "shrink-0"
172
169
  }),
@@ -193,7 +190,8 @@ function NodeIOView({ schema, value, onValueChange, basePath, readOnly = false,
193
190
  pathForCopy: pathForCopy,
194
191
  onCopy: onCopy,
195
192
  virtualized: virtualized,
196
- emptyMessage: emptyMessage
193
+ emptyMessage: emptyMessage,
194
+ className: "py-1"
197
195
  })
198
196
  })
199
197
  }),
@@ -15,6 +15,7 @@ export interface NodeIOViewProps {
15
15
  titleIcon?: ReactNode;
16
16
  titleBadge?: string;
17
17
  titleTrailing?: ReactNode;
18
+ toolbarTrailing?: ReactNode;
18
19
  searchPlaceholder?: string;
19
20
  emptyMessage?: string;
20
21
  jsonView?: ReactNode;
@@ -34,6 +35,7 @@ export interface NodeIOViewProps {
34
35
  onCopy?: (event: CopyEvent) => void;
35
36
  virtualized?: boolean;
36
37
  defaultCollapsedDepth?: number;
38
+ inset?: boolean;
37
39
  className?: string;
38
40
  }
39
41
  //# sourceMappingURL=NodeIOView.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NodeIOView.types.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/NodeIOView/NodeIOView.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EACV,SAAS,EACT,cAAc,EACd,aAAa,EACb,UAAU,EACV,cAAc,EACd,oBAAoB,EACpB,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,EACnB,cAAc,EACd,WAAW,EACX,gBAAgB,EAChB,eAAe,EAChB,MAAM,aAAa,CAAC;AAGrB,MAAM,WAAW,aAAa;IAE5B,EAAE,EAAE,MAAM,CAAC;IAEX,KAAK,EAAE,MAAM,CAAC;IAEd,OAAO,EAAE,SAAS,CAAC;CACpB;AAED,MAAM,WAAW,eAAe;IAE9B,MAAM,CAAC,EAAE,UAAU,CAAC;IAEpB,KAAK,CAAC,EAAE,aAAa,CAAC;IAEtB,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,aAAa,EAAE,MAAM,EAAE,cAAc,KAAK,IAAI,CAAC;IAOtE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,aAAa,CAAC,EAAE,SAAS,CAAC;IAE1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,QAAQ,CAAC,EAAE,SAAS,CAAC;IAKrB,SAAS,CAAC,EAAE,aAAa,EAAE,CAAC;IAE5B,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAKtC,aAAa,CAAC,EAAE,SAAS,CAAC;IAM1B,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAEhC,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAEjC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,cAAc,GAAG,SAAS,CAAC;IAElE,cAAc,CAAC,EAAE,cAAc,CAAC;IAEhC,WAAW,CAAC,EAAE,eAAe,CAAC;IAM9B,WAAW,CAAC,EAAE,mBAAmB,CAAC;IAElC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IAMpC,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;IAEpC,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
1
+ {"version":3,"file":"NodeIOView.types.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/NodeIOView/NodeIOView.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EACV,SAAS,EACT,cAAc,EACd,aAAa,EACb,UAAU,EACV,cAAc,EACd,oBAAoB,EACpB,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,EACnB,cAAc,EACd,WAAW,EACX,gBAAgB,EAChB,eAAe,EAChB,MAAM,aAAa,CAAC;AAGrB,MAAM,WAAW,aAAa;IAE5B,EAAE,EAAE,MAAM,CAAC;IAEX,KAAK,EAAE,MAAM,CAAC;IAEd,OAAO,EAAE,SAAS,CAAC;CACpB;AAED,MAAM,WAAW,eAAe;IAE9B,MAAM,CAAC,EAAE,UAAU,CAAC;IAEpB,KAAK,CAAC,EAAE,aAAa,CAAC;IAEtB,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,aAAa,EAAE,MAAM,EAAE,cAAc,KAAK,IAAI,CAAC;IAOtE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,aAAa,CAAC,EAAE,SAAS,CAAC;IAM1B,eAAe,CAAC,EAAE,SAAS,CAAC;IAE5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,QAAQ,CAAC,EAAE,SAAS,CAAC;IAKrB,SAAS,CAAC,EAAE,aAAa,EAAE,CAAC;IAE5B,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAKtC,aAAa,CAAC,EAAE,SAAS,CAAC;IAM1B,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAEhC,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAEjC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,cAAc,GAAG,SAAS,CAAC;IAElE,cAAc,CAAC,EAAE,cAAc,CAAC;IAEhC,WAAW,CAAC,EAAE,eAAe,CAAC;IAM9B,WAAW,CAAC,EAAE,mBAAmB,CAAC;IAElC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IAMpC,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;IAEpC,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAO/B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -38,7 +38,7 @@ function findFieldElement(root, name) {
38
38
  for (const field of fields)if (field.getAttribute('data-field-name') === name) return field;
39
39
  return null;
40
40
  }
41
- function NodePropertyPanel({ panelTitle, dragHandleProps, onClose, nodeIcon, nodeLabel, nodeCategory, nodeDescription, nodeLabelPlaceholder, nodeDescriptionPlaceholder, onNodeLabelChange, onNodeLabelSubmit, onNodeDescriptionChange, onNodeDescriptionSubmit, nodeLabelError, nodeDescriptionError, action, schema, plugins, onSubmit, disabled, autoComplete, resetKey, className, contentInset = '1.5rem', children, headerExtra, sectionVariant, activeStepId, onActiveStepChange, changedFields }) {
41
+ function NodePropertyPanel({ panelTitle, dragHandleProps, onClose, nodeIcon, nodeLabel, nodeCategory, nodeDescription, nodeLabelPlaceholder, nodeDescriptionPlaceholder, onNodeLabelChange, onNodeLabelSubmit, onNodeDescriptionChange, onNodeDescriptionSubmit, nodeLabelError, nodeDescriptionError, action, schema, plugins, onSubmit, disabled, autoComplete, resetKey, className, contentInset = '1rem', children, headerExtra, sectionVariant, activeStepId, onActiveStepChange, changedFields }) {
42
42
  const { _ } = (0, index_cjs_namespaceObject.useSafeLingui)();
43
43
  const rootRef = (0, external_react_namespaceObject.useRef)(null);
44
44
  const scrolledKeyRef = (0, external_react_namespaceObject.useRef)(null);
@@ -109,7 +109,7 @@ function NodePropertyPanel({ panelTitle, dragHandleProps, onClose, nodeIcon, nod
109
109
  children: [
110
110
  panelTitle && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
111
111
  "data-slot": "node-property-panel-titlebar",
112
- className: "flex h-10 shrink-0 items-center justify-between px-2",
112
+ className: "flex h-10 shrink-0 items-center justify-between [padding-inline:var(--mf-content-inset,1rem)]",
113
113
  children: [
114
114
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
115
115
  className: "flex items-center gap-1",
@@ -117,7 +117,7 @@ function NodePropertyPanel({ panelTitle, dragHandleProps, onClose, nodeIcon, nod
117
117
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
118
118
  ...dragHandleProps,
119
119
  "data-slot": "node-property-panel-drag-handle",
120
- className: "grid size-8 cursor-grab touch-none place-items-center text-foreground-subtle active:cursor-grabbing",
120
+ className: "ml-[calc(-1*min(14px,var(--mf-content-inset,1rem)))] grid size-8 cursor-grab touch-none place-items-center text-foreground-subtle active:cursor-grabbing",
121
121
  children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.GripVertical, {
122
122
  size: 14
123
123
  })
@@ -143,7 +143,7 @@ function NodePropertyPanel({ panelTitle, dragHandleProps, onClose, nodeIcon, nod
143
143
  id: 'canvas.node_property_panel.close',
144
144
  message: 'Close'
145
145
  }),
146
- className: "grid size-6 place-items-center rounded text-foreground-muted transition hover:bg-surface-overlay hover:text-foreground",
146
+ className: "mr-[calc(-1*min(8px,var(--mf-content-inset,1rem)))] grid size-6 place-items-center rounded text-foreground-muted transition hover:bg-surface-overlay hover:text-foreground",
147
147
  children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.X, {
148
148
  size: 14
149
149
  })
@@ -153,7 +153,7 @@ function NodePropertyPanel({ panelTitle, dragHandleProps, onClose, nodeIcon, nod
153
153
  ]
154
154
  }),
155
155
  hasNodeHeader && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
156
- className: "flex shrink-0 items-center justify-between gap-4 py-4 [padding-inline:var(--mf-content-inset,1.5rem)]",
156
+ className: "flex shrink-0 items-center justify-between gap-4 py-4 [padding-inline:var(--mf-content-inset,1rem)]",
157
157
  children: [
158
158
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
159
159
  className: "flex min-w-0 flex-1 items-center gap-3.5",
@@ -254,7 +254,7 @@ function NodePropertyPanel({ panelTitle, dragHandleProps, onClose, nodeIcon, nod
254
254
  }, resetKey)
255
255
  })
256
256
  }) : /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
257
- className: "py-4 text-xs text-foreground-subtle [padding-inline:var(--mf-content-inset,1.5rem)]",
257
+ className: "py-4 text-xs text-foreground-subtle [padding-inline:var(--mf-content-inset,1rem)]",
258
258
  children: "No form schema defined for this node."
259
259
  })
260
260
  ]
@@ -1 +1 @@
1
- {"version":3,"file":"NodePropertyPanel.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/NodePropertyPanel/NodePropertyPanel.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAuDxE,wBAAgB,iBAAiB,CAAC,EAChC,UAAU,EACV,eAAe,EACf,OAAO,EACP,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,eAAe,EACf,oBAAoB,EACpB,0BAA0B,EAC1B,iBAAiB,EACjB,iBAAiB,EACjB,uBAAuB,EACvB,uBAAuB,EACvB,cAAc,EACd,oBAAoB,EACpB,MAAM,EACN,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,YAAuB,EACvB,QAAQ,EACR,WAAW,EACX,cAAc,EACd,YAAY,EACZ,kBAAkB,EAClB,aAAa,GACd,EAAE,sBAAsB,2CA8OxB"}
1
+ {"version":3,"file":"NodePropertyPanel.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/NodePropertyPanel/NodePropertyPanel.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAuDxE,wBAAgB,iBAAiB,CAAC,EAChC,UAAU,EACV,eAAe,EACf,OAAO,EACP,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,eAAe,EACf,oBAAoB,EACpB,0BAA0B,EAC1B,iBAAiB,EACjB,iBAAiB,EACjB,uBAAuB,EACvB,uBAAuB,EACvB,cAAc,EACd,oBAAoB,EACpB,MAAM,EACN,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,YAAqB,EACrB,QAAQ,EACR,WAAW,EACX,cAAc,EACd,YAAY,EACZ,kBAAkB,EAClB,aAAa,GACd,EAAE,sBAAsB,2CAoPxB"}
@@ -10,7 +10,7 @@ function findFieldElement(root, name) {
10
10
  for (const field of fields)if (field.getAttribute('data-field-name') === name) return field;
11
11
  return null;
12
12
  }
13
- function NodePropertyPanel({ panelTitle, dragHandleProps, onClose, nodeIcon, nodeLabel, nodeCategory, nodeDescription, nodeLabelPlaceholder, nodeDescriptionPlaceholder, onNodeLabelChange, onNodeLabelSubmit, onNodeDescriptionChange, onNodeDescriptionSubmit, nodeLabelError, nodeDescriptionError, action, schema, plugins, onSubmit, disabled, autoComplete, resetKey, className, contentInset = '1.5rem', children, headerExtra, sectionVariant, activeStepId, onActiveStepChange, changedFields }) {
13
+ function NodePropertyPanel({ panelTitle, dragHandleProps, onClose, nodeIcon, nodeLabel, nodeCategory, nodeDescription, nodeLabelPlaceholder, nodeDescriptionPlaceholder, onNodeLabelChange, onNodeLabelSubmit, onNodeDescriptionChange, onNodeDescriptionSubmit, nodeLabelError, nodeDescriptionError, action, schema, plugins, onSubmit, disabled, autoComplete, resetKey, className, contentInset = '1rem', children, headerExtra, sectionVariant, activeStepId, onActiveStepChange, changedFields }) {
14
14
  const { _ } = useSafeLingui();
15
15
  const rootRef = useRef(null);
16
16
  const scrolledKeyRef = useRef(null);
@@ -81,7 +81,7 @@ function NodePropertyPanel({ panelTitle, dragHandleProps, onClose, nodeIcon, nod
81
81
  children: [
82
82
  panelTitle && /*#__PURE__*/ jsxs("div", {
83
83
  "data-slot": "node-property-panel-titlebar",
84
- className: "flex h-10 shrink-0 items-center justify-between px-2",
84
+ className: "flex h-10 shrink-0 items-center justify-between [padding-inline:var(--mf-content-inset,1rem)]",
85
85
  children: [
86
86
  /*#__PURE__*/ jsxs("div", {
87
87
  className: "flex items-center gap-1",
@@ -89,7 +89,7 @@ function NodePropertyPanel({ panelTitle, dragHandleProps, onClose, nodeIcon, nod
89
89
  /*#__PURE__*/ jsx("div", {
90
90
  ...dragHandleProps,
91
91
  "data-slot": "node-property-panel-drag-handle",
92
- className: "grid size-8 cursor-grab touch-none place-items-center text-foreground-subtle active:cursor-grabbing",
92
+ className: "ml-[calc(-1*min(14px,var(--mf-content-inset,1rem)))] grid size-8 cursor-grab touch-none place-items-center text-foreground-subtle active:cursor-grabbing",
93
93
  children: /*#__PURE__*/ jsx(GripVertical, {
94
94
  size: 14
95
95
  })
@@ -115,7 +115,7 @@ function NodePropertyPanel({ panelTitle, dragHandleProps, onClose, nodeIcon, nod
115
115
  id: 'canvas.node_property_panel.close',
116
116
  message: 'Close'
117
117
  }),
118
- className: "grid size-6 place-items-center rounded text-foreground-muted transition hover:bg-surface-overlay hover:text-foreground",
118
+ className: "mr-[calc(-1*min(8px,var(--mf-content-inset,1rem)))] grid size-6 place-items-center rounded text-foreground-muted transition hover:bg-surface-overlay hover:text-foreground",
119
119
  children: /*#__PURE__*/ jsx(X, {
120
120
  size: 14
121
121
  })
@@ -125,7 +125,7 @@ function NodePropertyPanel({ panelTitle, dragHandleProps, onClose, nodeIcon, nod
125
125
  ]
126
126
  }),
127
127
  hasNodeHeader && /*#__PURE__*/ jsxs("div", {
128
- className: "flex shrink-0 items-center justify-between gap-4 py-4 [padding-inline:var(--mf-content-inset,1.5rem)]",
128
+ className: "flex shrink-0 items-center justify-between gap-4 py-4 [padding-inline:var(--mf-content-inset,1rem)]",
129
129
  children: [
130
130
  /*#__PURE__*/ jsxs("div", {
131
131
  className: "flex min-w-0 flex-1 items-center gap-3.5",
@@ -226,7 +226,7 @@ function NodePropertyPanel({ panelTitle, dragHandleProps, onClose, nodeIcon, nod
226
226
  }, resetKey)
227
227
  })
228
228
  }) : /*#__PURE__*/ jsx("div", {
229
- className: "py-4 text-xs text-foreground-subtle [padding-inline:var(--mf-content-inset,1.5rem)]",
229
+ className: "py-4 text-xs text-foreground-subtle [padding-inline:var(--mf-content-inset,1rem)]",
230
230
  children: "No form schema defined for this node."
231
231
  })
232
232
  ]