@elementor/editor-variables 3.33.0-152 → 3.33.0-153

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elementor/editor-variables",
3
- "version": "3.33.0-152",
3
+ "version": "3.33.0-153",
4
4
  "private": false,
5
5
  "author": "Elementor Team",
6
6
  "homepage": "https://elementor.com/",
@@ -39,19 +39,19 @@
39
39
  "dev": "tsup --config=../../tsup.dev.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@elementor/editor": "3.33.0-152",
43
- "@elementor/editor-canvas": "3.33.0-152",
44
- "@elementor/editor-controls": "3.33.0-152",
45
- "@elementor/editor-current-user": "3.33.0-152",
46
- "@elementor/editor-editing-panel": "3.33.0-152",
47
- "@elementor/editor-panels": "3.33.0-152",
48
- "@elementor/editor-props": "3.33.0-152",
49
- "@elementor/editor-ui": "3.33.0-152",
50
- "@elementor/editor-v1-adapters": "3.33.0-152",
51
- "@elementor/http-client": "3.33.0-152",
42
+ "@elementor/editor": "3.33.0-153",
43
+ "@elementor/editor-canvas": "3.33.0-153",
44
+ "@elementor/editor-controls": "3.33.0-153",
45
+ "@elementor/editor-current-user": "3.33.0-153",
46
+ "@elementor/editor-editing-panel": "3.33.0-153",
47
+ "@elementor/editor-panels": "3.33.0-153",
48
+ "@elementor/editor-props": "3.33.0-153",
49
+ "@elementor/editor-ui": "3.33.0-153",
50
+ "@elementor/editor-v1-adapters": "3.33.0-153",
51
+ "@elementor/http-client": "3.33.0-153",
52
52
  "@elementor/icons": "1.46.0",
53
- "@elementor/mixpanel": "3.33.0-152",
54
- "@elementor/schema": "3.33.0-152",
53
+ "@elementor/mixpanel": "3.33.0-153",
54
+ "@elementor/schema": "3.33.0-153",
55
55
  "@elementor/ui": "1.36.12",
56
56
  "@wordpress/i18n": "^5.13.0"
57
57
  },
@@ -22,7 +22,7 @@ export const useLabelError = ( initialError?: LabelErrorProps ) => {
22
22
  };
23
23
  };
24
24
 
25
- type LabelFieldProps = {
25
+ export type LabelFieldProps = {
26
26
  value: string;
27
27
  error?: LabelErrorProps;
28
28
  onChange: ( value: string ) => void;
@@ -79,6 +79,7 @@ export const LabelField = ( {
79
79
  inputProps={ {
80
80
  maxLength: VARIABLE_LABEL_MAX_LENGTH,
81
81
  ...( selectOnShow && { onFocus: ( e: React.FocusEvent< HTMLInputElement > ) => e.target.select() } ),
82
+ 'aria-label': 'Name',
82
83
  } }
83
84
  // eslint-disable-next-line jsx-a11y/no-autofocus
84
85
  autoFocus={ focusOnShow }
@@ -20,9 +20,9 @@ import { __ } from '@wordpress/i18n';
20
20
  import { type TVariablesList } from '../../storage';
21
21
  import { getVariableType } from '../../variables-registry/variable-type-registry';
22
22
  import { LabelField } from '../fields/label-field';
23
- import { VariableEditMenu, type VariableManagerMenuAction } from './variable-edit-menu';
23
+ import { VariableEditMenu, type VariableManagerMenuAction } from './utils/variable-edit-menu';
24
+ import { VariableTableCell } from './utils/variable-table-cell';
24
25
  import { VariableEditableCell } from './variable-editable-cell';
25
- import { VariableTableCell } from './variable-table-cell';
26
26
 
27
27
  type Props = {
28
28
  menuActions: VariableManagerMenuAction[];