@gem-sdk/core 1.36.23 → 1.37.1

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.
@@ -30,5 +30,33 @@
30
30
  }
31
31
  }
32
32
  `;
33
+ const PreviewThemePageSelect = `
34
+ fragment PreviewThemePageSelect on PublishedThemePage {
35
+ id
36
+ name
37
+ handle
38
+ isMobile
39
+ sectionPosition
40
+ pageSections {
41
+ ...PublishedPageSectionSelect
42
+ }
43
+ themePageCustomSections {
44
+ ...PublishedCustomSectionSelect
45
+ }
46
+ themePageDataSEO {
47
+ ...DataSEOSelect
48
+ }
49
+ pageStyle {
50
+ ...PublishedThemeStyleSelect
51
+ }
52
+ themePageAnalytic {
53
+ ...AnalyticSelect
54
+ }
55
+ themePageCustomCode {
56
+ ...CustomCodeSelect
57
+ }
58
+ }
59
+ `;
33
60
 
61
+ exports.PreviewThemePageSelect = PreviewThemePageSelect;
34
62
  exports.PublishedThemePageSelect = PublishedThemePageSelect;
@@ -11,10 +11,10 @@ var customCode_generated = require('../fragments/custom-code.generated.js');
11
11
  const PreviewPageDocument = `
12
12
  query previewPage($handleURL: String, $pageType: PublishedThemePageType!) {
13
13
  previewPage(handleURL: $handleURL, pageType: $pageType) {
14
- ...PublishedThemePageSelect
14
+ ...PreviewThemePageSelect
15
15
  }
16
16
  }
17
- ${publishedThemePage_generated.PublishedThemePageSelect}
17
+ ${publishedThemePage_generated.PreviewThemePageSelect}
18
18
  ${publishedPageSection_generated.PublishedPageSectionSelect}
19
19
  ${publishedCustomSection_generated.PublishedCustomSectionSelect}
20
20
  ${dataSeo_generated.DataSeoSelect}
@@ -28,5 +28,32 @@
28
28
  }
29
29
  }
30
30
  `;
31
+ const PreviewThemePageSelect = `
32
+ fragment PreviewThemePageSelect on PublishedThemePage {
33
+ id
34
+ name
35
+ handle
36
+ isMobile
37
+ sectionPosition
38
+ pageSections {
39
+ ...PublishedPageSectionSelect
40
+ }
41
+ themePageCustomSections {
42
+ ...PublishedCustomSectionSelect
43
+ }
44
+ themePageDataSEO {
45
+ ...DataSEOSelect
46
+ }
47
+ pageStyle {
48
+ ...PublishedThemeStyleSelect
49
+ }
50
+ themePageAnalytic {
51
+ ...AnalyticSelect
52
+ }
53
+ themePageCustomCode {
54
+ ...CustomCodeSelect
55
+ }
56
+ }
57
+ `;
31
58
 
32
- export { PublishedThemePageSelect };
59
+ export { PreviewThemePageSelect, PublishedThemePageSelect };
@@ -1,4 +1,4 @@
1
- import { PublishedThemePageSelect } from '../fragments/published-theme-page.generated.js';
1
+ import { PreviewThemePageSelect } from '../fragments/published-theme-page.generated.js';
2
2
  import { PublishedPageSectionSelect } from '../fragments/published-page-section.generated.js';
3
3
  import { PublishedCustomSectionSelect } from '../fragments/published-custom-section.generated.js';
4
4
  import { DataSeoSelect } from '../fragments/data-seo.generated.js';
@@ -9,10 +9,10 @@ import { CustomCodeSelect } from '../fragments/custom-code.generated.js';
9
9
  const PreviewPageDocument = `
10
10
  query previewPage($handleURL: String, $pageType: PublishedThemePageType!) {
11
11
  previewPage(handleURL: $handleURL, pageType: $pageType) {
12
- ...PublishedThemePageSelect
12
+ ...PreviewThemePageSelect
13
13
  }
14
14
  }
15
- ${PublishedThemePageSelect}
15
+ ${PreviewThemePageSelect}
16
16
  ${PublishedPageSectionSelect}
17
17
  ${PublishedCustomSectionSelect}
18
18
  ${DataSeoSelect}
@@ -115,6 +115,7 @@ type BaseProps<Setting = unknown, Style = unknown, Advanced = Record<string, any
115
115
  uid?: string;
116
116
  builderData?: BlockEntity;
117
117
  };
118
+ customAttrs?: Object;
118
119
  styles?: Style;
119
120
  setting?: Setting;
120
121
  advanced?: Advanced;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.36.23",
3
+ "version": "1.37.1",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",