@elementor/editor-variables 3.33.0-150 → 3.33.0-152
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/index.js +10 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +13 -13
- package/src/components/variables-manager/variable-editable-cell.tsx +4 -2
- package/src/components/variables-manager/variables-manager-table.tsx +6 -1
package/dist/index.js
CHANGED
|
@@ -1063,6 +1063,7 @@ var VariableEditableCell = React7.memo(
|
|
|
1063
1063
|
autoEdit = false,
|
|
1064
1064
|
onRowRef,
|
|
1065
1065
|
onAutoEditComplete,
|
|
1066
|
+
gap = 1,
|
|
1066
1067
|
fieldType
|
|
1067
1068
|
}) => {
|
|
1068
1069
|
const [value, setValue] = (0, import_react8.useState)(initialValue);
|
|
@@ -1124,7 +1125,7 @@ var VariableEditableCell = React7.memo(
|
|
|
1124
1125
|
ref: rowRef,
|
|
1125
1126
|
direction: "row",
|
|
1126
1127
|
alignItems: "center",
|
|
1127
|
-
gap
|
|
1128
|
+
gap,
|
|
1128
1129
|
onDoubleClick: handleDoubleClick,
|
|
1129
1130
|
onKeyDown: handleKeyDown,
|
|
1130
1131
|
tabIndex: 0,
|
|
@@ -1141,7 +1142,7 @@ var VariableEditableCell = React7.memo(
|
|
|
1141
1142
|
ref: rowRef,
|
|
1142
1143
|
direction: "row",
|
|
1143
1144
|
alignItems: "center",
|
|
1144
|
-
gap
|
|
1145
|
+
gap,
|
|
1145
1146
|
onDoubleClick: handleDoubleClick,
|
|
1146
1147
|
onKeyDown: handleKeyDown,
|
|
1147
1148
|
tabIndex: 0,
|
|
@@ -1375,14 +1376,19 @@ var VariablesManagerTable = ({
|
|
|
1375
1376
|
}
|
|
1376
1377
|
},
|
|
1377
1378
|
editableElement: row.valueField,
|
|
1378
|
-
onRowRef: handleRowRef(row.id)
|
|
1379
|
+
onRowRef: handleRowRef(row.id),
|
|
1380
|
+
gap: 0.25
|
|
1379
1381
|
},
|
|
1380
1382
|
row.startIcon && row.startIcon({ value: row.value }),
|
|
1381
1383
|
/* @__PURE__ */ React9.createElement(
|
|
1382
1384
|
import_editor_ui2.EllipsisWithTooltip,
|
|
1383
1385
|
{
|
|
1384
1386
|
title: row.value,
|
|
1385
|
-
sx: {
|
|
1387
|
+
sx: {
|
|
1388
|
+
border: "4px solid transparent",
|
|
1389
|
+
lineHeight: "1",
|
|
1390
|
+
pt: 0.25
|
|
1391
|
+
}
|
|
1386
1392
|
},
|
|
1387
1393
|
row.value
|
|
1388
1394
|
)
|