@gem-sdk/core 1.53.0-dev.10 → 1.53.0-dev.9

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.
@@ -22,13 +22,13 @@ const InteractionSuffix = ({ tag, uid })=>{
22
22
  const currentInteraction = PageContext.usePageStore((s)=>s.interactionData?.item);
23
23
  const isSelectOnPage = PageContext.usePageStore((s)=>s.interactionData?.isSelectOnPage);
24
24
  const isCurrentInteractionTarget = react.useMemo(()=>{
25
- return currentInteraction?.targets?.find((t)=>t.uid === uid && !t.isEntirePage);
25
+ return currentInteraction?.targets?.find((t)=>t.uid === uid);
26
26
  }, [
27
27
  currentInteraction,
28
28
  uid
29
29
  ]);
30
30
  const isCurrentInteractionTrigger = react.useMemo(()=>{
31
- return currentInteraction?.self?.uid === uid && !currentInteraction?.self?.isEntirePage;
31
+ return currentInteraction?.self?.uid === uid;
32
32
  }, [
33
33
  currentInteraction,
34
34
  uid
@@ -20,13 +20,13 @@ const InteractionSuffix = ({ tag, uid })=>{
20
20
  const currentInteraction = usePageStore((s)=>s.interactionData?.item);
21
21
  const isSelectOnPage = usePageStore((s)=>s.interactionData?.isSelectOnPage);
22
22
  const isCurrentInteractionTarget = useMemo(()=>{
23
- return currentInteraction?.targets?.find((t)=>t.uid === uid && !t.isEntirePage);
23
+ return currentInteraction?.targets?.find((t)=>t.uid === uid);
24
24
  }, [
25
25
  currentInteraction,
26
26
  uid
27
27
  ]);
28
28
  const isCurrentInteractionTrigger = useMemo(()=>{
29
- return currentInteraction?.self?.uid === uid && !currentInteraction?.self?.isEntirePage;
29
+ return currentInteraction?.self?.uid === uid;
30
30
  }, [
31
31
  currentInteraction,
32
32
  uid
@@ -8433,7 +8433,6 @@ type InteractionElement<E, T> = {
8433
8433
  elementTag?: string;
8434
8434
  targetOutsideSelector?: string;
8435
8435
  targetInsideSelector?: string;
8436
- isEntirePage?: boolean;
8437
8436
  };
8438
8437
  declare enum InteractionTargetEvent {
8439
8438
  'gp:change-background-color' = 0,
@@ -8497,7 +8496,6 @@ type InteractionTarget = {
8497
8496
  targetOutsideSelector?: string;
8498
8497
  targetInsideSelector?: string;
8499
8498
  events?: InteractionTargetEventObject[];
8500
- isEntirePage?: boolean;
8501
8499
  };
8502
8500
  type InteractionTargetEventObject = {
8503
8501
  event: InteractionTargetEvent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.53.0-dev.10",
3
+ "version": "1.53.0-dev.9",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",