@elementor/editor-canvas 3.35.0-361 → 3.35.0-363

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@elementor/editor-canvas",
3
3
  "description": "Elementor Editor Canvas",
4
- "version": "3.35.0-361",
4
+ "version": "3.35.0-363",
5
5
  "private": false,
6
6
  "author": "Elementor Team",
7
7
  "homepage": "https://elementor.com/",
@@ -37,24 +37,24 @@
37
37
  "react-dom": "^18.3.1"
38
38
  },
39
39
  "dependencies": {
40
- "@elementor/editor": "3.35.0-361",
41
- "@elementor/editor-controls": "3.35.0-361",
42
- "@elementor/editor-documents": "3.35.0-361",
43
- "@elementor/editor-elements": "3.35.0-361",
44
- "@elementor/editor-interactions": "3.35.0-361",
45
- "@elementor/editor-mcp": "3.35.0-361",
46
- "@elementor/editor-notifications": "3.35.0-361",
47
- "@elementor/editor-props": "3.35.0-361",
48
- "@elementor/editor-responsive": "3.35.0-361",
49
- "@elementor/editor-styles": "3.35.0-361",
50
- "@elementor/editor-styles-repository": "3.35.0-361",
51
- "@elementor/editor-ui": "3.35.0-361",
52
- "@elementor/editor-v1-adapters": "3.35.0-361",
53
- "@elementor/schema": "3.35.0-361",
54
- "@elementor/twing": "3.35.0-361",
40
+ "@elementor/editor": "3.35.0-363",
41
+ "@elementor/editor-controls": "3.35.0-363",
42
+ "@elementor/editor-documents": "3.35.0-363",
43
+ "@elementor/editor-elements": "3.35.0-363",
44
+ "@elementor/editor-interactions": "3.35.0-363",
45
+ "@elementor/editor-mcp": "3.35.0-363",
46
+ "@elementor/editor-notifications": "3.35.0-363",
47
+ "@elementor/editor-props": "3.35.0-363",
48
+ "@elementor/editor-responsive": "3.35.0-363",
49
+ "@elementor/editor-styles": "3.35.0-363",
50
+ "@elementor/editor-styles-repository": "3.35.0-363",
51
+ "@elementor/editor-ui": "3.35.0-363",
52
+ "@elementor/editor-v1-adapters": "3.35.0-363",
53
+ "@elementor/schema": "3.35.0-363",
54
+ "@elementor/twing": "3.35.0-363",
55
55
  "@elementor/ui": "1.36.17",
56
- "@elementor/utils": "3.35.0-361",
57
- "@elementor/wp-media": "3.35.0-361",
56
+ "@elementor/utils": "3.35.0-363",
57
+ "@elementor/wp-media": "3.35.0-363",
58
58
  "@floating-ui/react": "^0.27.5",
59
59
  "@wordpress/i18n": "^5.13.0"
60
60
  },
@@ -1,12 +1,12 @@
1
1
  import { type Dispatch, type SetStateAction, useEffect, useMemo, useState } from 'react';
2
- import { type InteractionItem, interactionsRepository } from '@elementor/editor-interactions';
2
+ import { type InteractionItemPropValue, interactionsRepository } from '@elementor/editor-interactions';
3
3
  import { registerDataHook } from '@elementor/editor-v1-adapters';
4
4
 
5
5
  import { useOnMount } from './use-on-mount';
6
6
 
7
7
  type ProviderAndInteractionItems = {
8
8
  provider: ReturnType< typeof interactionsRepository.getProviders >[ 0 ];
9
- items: InteractionItem[];
9
+ items: InteractionItemPropValue[];
10
10
  };
11
11
 
12
12
  type ProviderAndSubscriber = {
@@ -101,7 +101,7 @@ function createProviderSubscriber( { provider, setInteractionItems }: CreateProv
101
101
 
102
102
  setInteractionItems( ( prev ) => ( {
103
103
  ...prev,
104
- [ providerKey ]: { provider, items },
104
+ [ providerKey ]: { provider, items: items as unknown as InteractionItemPropValue[] },
105
105
  } ) );
106
106
  } catch {}
107
107
  };