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

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.
@@ -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.FC<BaseProps & {
42761
+ declare const useAddon: (id?: string) => React.ComponentType<any> | React.FC<BaseProps & {
42762
42762
  children?: React.ReactNode;
42763
- }> | React.ComponentType<any>;
42763
+ }>;
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.ComponentType<BaseProps> | React.FC<BaseProps & {
42775
+ declare const useBuilderComponent: (id?: string) => React.FC<BaseProps & {
42776
42776
  children?: React.ReactNode;
42777
- }>;
42777
+ }> | React.ComponentType<BaseProps>;
42778
42778
 
42779
42779
  type BuilderContextProps = {
42780
42780
  state: BuilderState | SectionData;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "19.1.0-staging.31",
3
+ "version": "21.0.0",
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.31",
32
- "@gem-sdk/styles": "19.1.0-staging.31",
31
+ "@gem-sdk/adapter-shopify": "21.0.0",
32
+ "@gem-sdk/styles": "21.0.0",
33
33
  "@types/classnames": "^2.3.1"
34
34
  },
35
35
  "dependencies": {