@elementor/editor-variables 3.35.0-475 → 3.35.0-477
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.d.mts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -15
- package/src/components/variables-manager/variables-manager-table.tsx +1 -6
- package/src/variables-registry/create-variable-type-registry.ts +1 -8
package/dist/index.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import { PropType } from '@elementor/editor-props';
|
|
|
3
3
|
import { z } from '@elementor/schema';
|
|
4
4
|
import * as _elementor_editor_canvas from '@elementor/editor-canvas';
|
|
5
5
|
import * as react from 'react';
|
|
6
|
-
import {
|
|
6
|
+
import { KeyboardEvent } from 'react';
|
|
7
7
|
import * as _mui_material from '@mui/material';
|
|
8
8
|
|
|
9
9
|
declare function init(): void;
|
|
@@ -104,7 +104,6 @@ type ValueFieldProps = {
|
|
|
104
104
|
value: string;
|
|
105
105
|
message: string;
|
|
106
106
|
};
|
|
107
|
-
ref?: RefObject<HTMLElement | null>;
|
|
108
107
|
onKeyDown?: (event: KeyboardEvent<HTMLElement>) => void;
|
|
109
108
|
};
|
|
110
109
|
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { PropType } from '@elementor/editor-props';
|
|
|
3
3
|
import { z } from '@elementor/schema';
|
|
4
4
|
import * as _elementor_editor_canvas from '@elementor/editor-canvas';
|
|
5
5
|
import * as react from 'react';
|
|
6
|
-
import {
|
|
6
|
+
import { KeyboardEvent } from 'react';
|
|
7
7
|
import * as _mui_material from '@mui/material';
|
|
8
8
|
|
|
9
9
|
declare function init(): void;
|
|
@@ -104,7 +104,6 @@ type ValueFieldProps = {
|
|
|
104
104
|
value: string;
|
|
105
105
|
message: string;
|
|
106
106
|
};
|
|
107
|
-
ref?: RefObject<HTMLElement | null>;
|
|
108
107
|
onKeyDown?: (event: KeyboardEvent<HTMLElement>) => void;
|
|
109
108
|
};
|
|
110
109
|
|
package/dist/index.js
CHANGED
|
@@ -1589,7 +1589,7 @@ var VariablesManagerTable = ({
|
|
|
1589
1589
|
import_ui11.TableRow,
|
|
1590
1590
|
{
|
|
1591
1591
|
...itemProps,
|
|
1592
|
-
ref:
|
|
1592
|
+
ref: itemProps.ref,
|
|
1593
1593
|
selected: isDragged,
|
|
1594
1594
|
sx: {
|
|
1595
1595
|
...showIndicationBefore && {
|
|
@@ -1695,11 +1695,6 @@ var VariablesManagerTable = ({
|
|
|
1695
1695
|
onValidationChange,
|
|
1696
1696
|
error
|
|
1697
1697
|
}) => row.valueField?.({
|
|
1698
|
-
ref: {
|
|
1699
|
-
current: variableRowRefs.current.get(
|
|
1700
|
-
"table-ref-" + row.id
|
|
1701
|
-
)
|
|
1702
|
-
},
|
|
1703
1698
|
value,
|
|
1704
1699
|
onChange,
|
|
1705
1700
|
onPropTypeKeyChange: (type) => {
|