@gem-sdk/core 19.1.0-staging.26 → 19.1.0-staging.31

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.
@@ -6,6 +6,11 @@
6
6
  handle
7
7
  isMobile
8
8
  sectionPosition
9
+ metafields {
10
+ id
11
+ key
12
+ value
13
+ }
9
14
  pageSections {
10
15
  cid
11
16
  component
@@ -6,6 +6,11 @@ function e(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0
6
6
  handle
7
7
  isMobile
8
8
  sectionPosition
9
+ metafields {
10
+ id
11
+ key
12
+ value
13
+ }
9
14
  pageSections {
10
15
  cid
11
16
  component
@@ -42758,9 +42758,9 @@ type AddonProviderProps = Pick<AddonContextProps, 'components'> & {
42758
42758
 
42759
42759
  declare const AddonProvider: React.FC<AddonProviderProps>;
42760
42760
  declare const useAddons: () => Record<string, React.ComponentType<any>>;
42761
- declare const useAddon: (id?: string) => React.ComponentType<any> | React.FC<BaseProps & {
42761
+ declare const useAddon: (id?: string) => React.FC<BaseProps & {
42762
42762
  children?: React.ReactNode;
42763
- }>;
42763
+ }> | React.ComponentType<any>;
42764
42764
 
42765
42765
  type BuilderComponentProps = {
42766
42766
  components: Record<string, React.ComponentType<any>>;
@@ -42772,9 +42772,9 @@ type BuilderComponentProviderProps = Pick<BuilderComponentProps, 'components'> &
42772
42772
  };
42773
42773
 
42774
42774
  declare const BuilderComponentProvider: React.FC<BuilderComponentProviderProps>;
42775
- declare const useBuilderComponent: (id?: string) => React.FC<BaseProps & {
42775
+ declare const useBuilderComponent: (id?: string) => React.ComponentType<BaseProps> | React.FC<BaseProps & {
42776
42776
  children?: React.ReactNode;
42777
- }> | React.ComponentType<BaseProps>;
42777
+ }>;
42778
42778
 
42779
42779
  type BuilderContextProps = {
42780
42780
  state: BuilderState | SectionData;
@@ -43787,6 +43787,7 @@ type ThemePageQueryVariables = Exact<{
43787
43787
  }>;
43788
43788
  type ThemePageQueryResponse = {
43789
43789
  themePage?: Maybe<Pick<ThemePage, 'id' | 'name' | 'handle' | 'isMobile' | 'sectionPosition'> & {
43790
+ metafields?: Maybe<Array<Maybe<Pick<ThemePageMeta, 'id' | 'key' | 'value'>>>>;
43790
43791
  pageSections?: Maybe<Array<Maybe<Pick<PageSection, 'cid' | 'component' | 'id' | 'deletedAt'>>>>;
43791
43792
  theme?: Maybe<Pick<Theme, 'id'> & {
43792
43793
  themeStyles?: Maybe<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "19.1.0-staging.26",
3
+ "version": "19.1.0-staging.31",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -28,8 +28,8 @@
28
28
  "type-check": "node ../../node_modules/typescript7/bin/tsc --noEmit"
29
29
  },
30
30
  "devDependencies": {
31
- "@gem-sdk/adapter-shopify": "19.1.0-staging.19",
32
- "@gem-sdk/styles": "19.1.0-staging.19",
31
+ "@gem-sdk/adapter-shopify": "19.1.0-staging.31",
32
+ "@gem-sdk/styles": "19.1.0-staging.31",
33
33
  "@types/classnames": "^2.3.1"
34
34
  },
35
35
  "dependencies": {