@gem-sdk/core 1.46.0-staging.31 → 1.46.0-staging.35
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/cjs/contexts/SectionContext.js +0 -1
- package/dist/cjs/hooks/animation/useAnimationPreview.js +0 -1
- package/dist/cjs/hooks/animation/useApplyAnimation.js +0 -1
- package/dist/esm/contexts/SectionContext.js +0 -1
- package/dist/esm/hooks/animation/useAnimationPreview.js +0 -1
- package/dist/esm/hooks/animation/useApplyAnimation.js +0 -1
- package/dist/types/index.d.ts +0 -3
- package/package.json +1 -1
|
@@ -10,7 +10,6 @@ const SectionContext = /*#__PURE__*/ react.createContext(null);
|
|
|
10
10
|
const createSectionProvider = (data)=>zustand.createStore((set, get)=>({
|
|
11
11
|
data: data ?? {},
|
|
12
12
|
getSection: (id)=>{
|
|
13
|
-
console.log('get().data', get().data);
|
|
14
13
|
const section = get().data[id];
|
|
15
14
|
return section ?? undefined;
|
|
16
15
|
},
|
|
@@ -5,7 +5,6 @@ var react = require('react');
|
|
|
5
5
|
const useAnimationPreview = ({ props, playAnimation, cancelAnimation, setAnimationOnFinish, setToolbarActive })=>{
|
|
6
6
|
const previewAnimation = react.useCallback((e)=>{
|
|
7
7
|
const { uid, isCancel } = e.detail;
|
|
8
|
-
console.log('props.uid !== uid', props.uid !== uid, props.uid, uid);
|
|
9
8
|
if (props.uid !== uid) return;
|
|
10
9
|
cancelAnimation();
|
|
11
10
|
if (isCancel) {
|
|
@@ -8,7 +8,6 @@ const SectionContext = /*#__PURE__*/ createContext(null);
|
|
|
8
8
|
const createSectionProvider = (data)=>createStore((set, get)=>({
|
|
9
9
|
data: data ?? {},
|
|
10
10
|
getSection: (id)=>{
|
|
11
|
-
console.log('get().data', get().data);
|
|
12
11
|
const section = get().data[id];
|
|
13
12
|
return section ?? undefined;
|
|
14
13
|
},
|
|
@@ -3,7 +3,6 @@ import { useCallback } from 'react';
|
|
|
3
3
|
const useAnimationPreview = ({ props, playAnimation, cancelAnimation, setAnimationOnFinish, setToolbarActive })=>{
|
|
4
4
|
const previewAnimation = useCallback((e)=>{
|
|
5
5
|
const { uid, isCancel } = e.detail;
|
|
6
|
-
console.log('props.uid !== uid', props.uid !== uid, props.uid, uid);
|
|
7
6
|
if (props.uid !== uid) return;
|
|
8
7
|
cancelAnimation();
|
|
9
8
|
if (isCancel) {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -5433,9 +5433,6 @@ type PublishedThemePage$1 = {
|
|
|
5433
5433
|
themePageOnlineStoreData?: Maybe$1<Array<Maybe$1<PublishedThemePageOnlineStoreData$1>>>;
|
|
5434
5434
|
type: PublishedThemePageType$1;
|
|
5435
5435
|
updatedAt?: Maybe$1<Scalars$2['Time']>;
|
|
5436
|
-
publishedAt?: Maybe$1<Scalars$2['Time']>;
|
|
5437
|
-
isPlatformDefault?: boolean;
|
|
5438
|
-
platformOriginalTemplateContent?: string;
|
|
5439
5436
|
};
|
|
5440
5437
|
type PublishedThemePageCustomSection$1 = {
|
|
5441
5438
|
id: Scalars$2['ID'];
|