@gem-sdk/core 1.13.24 → 1.13.38

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.
@@ -16,6 +16,7 @@
16
16
  }
17
17
  }
18
18
  }
19
+ totalCount
19
20
  }
20
21
  }
21
22
  `;
@@ -14,6 +14,7 @@
14
14
  }
15
15
  }
16
16
  }
17
+ totalCount
17
18
  }
18
19
  }
19
20
  `;
@@ -204,6 +204,7 @@ type Mapped$4<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
204
204
  active?: boolean;
205
205
  };
206
206
  devices?: ResponsiveConfig<U>;
207
+ emptyOnClear?: boolean;
207
208
  } : {
208
209
  id: K;
209
210
  label?: string;
@@ -234,6 +235,7 @@ type Mapped$4<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
234
235
  focus?: boolean;
235
236
  active?: boolean;
236
237
  };
238
+ emptyOnClear?: boolean;
237
239
  default?: T;
238
240
  };
239
241
  type SharedControlType<T> = {
@@ -7378,7 +7380,7 @@ declare const ShopProvider: React.FC<ShopProviderProps>;
7378
7380
  declare const useShopStore: <U>(selector: (state: ExtractState<StoreApi<ShopContextProps>>) => U, equalityFn?: ((a: U, b: U) => boolean) | undefined) => U;
7379
7381
 
7380
7382
  type CollectionSelectFragment = Pick<Collection, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt' | 'title' | 'handle' | 'description' | 'descriptionHtml' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'tags' | 'isStorefront' | 'isSample'> & {
7381
- products?: Maybe<{
7383
+ products?: Maybe<Pick<ProductConnection, 'totalCount'> & {
7382
7384
  edges: Array<{
7383
7385
  node?: Maybe<Pick<Product, 'id' | 'title' | 'handle' | 'description' | 'status'> & {
7384
7386
  featuredImage?: Maybe<Pick<Media, 'src'>>;
@@ -7524,7 +7526,7 @@ type CollectionsQueryResponse = {
7524
7526
  collections?: Maybe<{
7525
7527
  edges: Array<{
7526
7528
  node?: Maybe<Pick<Collection, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt' | 'title' | 'handle' | 'description' | 'descriptionHtml' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'tags' | 'isStorefront' | 'isSample'> & {
7527
- products?: Maybe<{
7529
+ products?: Maybe<Pick<ProductConnection, 'totalCount'> & {
7528
7530
  edges: Array<{
7529
7531
  node?: Maybe<Pick<Product, 'id' | 'title' | 'handle' | 'description' | 'status'> & {
7530
7532
  featuredImage?: Maybe<Pick<Media, 'src'>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.13.24",
3
+ "version": "1.13.38",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "devDependencies": {
27
27
  "@gem-sdk/adapter-shopify": "1.12.0",
28
- "@gem-sdk/styles": "1.13.9"
28
+ "@gem-sdk/styles": "1.13.31"
29
29
  },
30
30
  "dependencies": {
31
31
  "react-error-boundary": "4.0.3",