@ikas/storefront 0.0.53 → 0.0.55

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.
@@ -149,6 +149,15 @@ export declare enum ProductFilterDisplayTypeEnum {
149
149
  NUMBER_RANGE_LIST = "NUMBER_RANGE_LIST",
150
150
  SWATCH = "SWATCH"
151
151
  }
152
+ /**
153
+ * ProductFilter Sort Type Enum
154
+ */
155
+ export declare enum ProductFilterSortTypeEnum {
156
+ ALPHABETICAL_ASC = "ALPHABETICAL_ASC",
157
+ ALPHABETICAL_DESC = "ALPHABETICAL_DESC",
158
+ PRODUCT_COUNT_ASC = "PRODUCT_COUNT_ASC",
159
+ PRODUCT_COUNT_DESC = "PRODUCT_COUNT_DESC"
160
+ }
152
161
  /**
153
162
  * Product Filter Type Enum Codes
154
163
  */
@@ -408,6 +417,7 @@ export interface SearchInput {
408
417
  export interface SearchInputFilterListInput {
409
418
  id: string;
410
419
  type: ProductFilterTypeEnum;
420
+ useAndFilter?: boolean | null;
411
421
  valueList: string[];
412
422
  }
413
423
  export interface SearchInputOrderByInput {
@@ -1,4 +1,4 @@
1
- import { ProductFilterDisplayTypeEnum, ProductFilterTypeEnum } from "../../../__generated__/global-types";
1
+ import { ProductFilterDisplayTypeEnum, ProductFilterTypeEnum, ProductFilterSortTypeEnum } from "../../../__generated__/global-types";
2
2
  export interface getProductFilterData_getProductFilterData_values {
3
3
  __typename: "ApplicableProductFilterValue";
4
4
  colorCode: string | null;
@@ -7,6 +7,13 @@ export interface getProductFilterData_getProductFilterData_values {
7
7
  name: string;
8
8
  thumbnailImageId: string | null;
9
9
  }
10
+ export interface getProductFilterData_getProductFilterData_settings {
11
+ __typename: "ProductFilterSettings";
12
+ showCollapsedOnDesktop: boolean;
13
+ showCollapsedOnMobile: boolean;
14
+ sortType: ProductFilterSortTypeEnum;
15
+ useAndFilter: boolean | null;
16
+ }
10
17
  export interface getProductFilterData_getProductFilterData {
11
18
  __typename: "ProductFilterData";
12
19
  customValues: string[] | null;
@@ -18,6 +25,7 @@ export interface getProductFilterData_getProductFilterData {
18
25
  order: number;
19
26
  type: ProductFilterTypeEnum;
20
27
  values: getProductFilterData_getProductFilterData_values[] | null;
28
+ settings: getProductFilterData_getProductFilterData_settings | null;
21
29
  }
22
30
  export interface getProductFilterData {
23
31
  getProductFilterData: getProductFilterData_getProductFilterData[];
@@ -1,3 +1,35 @@
1
1
  import * as React from "react";
2
- import { ImageProps } from "next/image";
2
+ import { ImageLoader } from "next/image";
3
+ import { IkasImage } from "../../models/index";
3
4
  export declare const Image: React.FC<ImageProps>;
5
+ declare const VALID_LAYOUT_VALUES: readonly [
6
+ "fill",
7
+ "fixed",
8
+ "intrinsic",
9
+ "responsive",
10
+ undefined
11
+ ];
12
+ declare type LayoutValue = typeof VALID_LAYOUT_VALUES[number];
13
+ declare type ImgElementStyle = NonNullable<JSX.IntrinsicElements["img"]["style"]>;
14
+ declare type ImageProps = Omit<JSX.IntrinsicElements["img"], "src" | "srcSet" | "ref" | "width" | "height" | "loading" | "style"> & {
15
+ loader?: ImageLoader;
16
+ priority?: boolean;
17
+ loading?: "lazy" | "eager" | undefined;
18
+ objectFit?: ImgElementStyle["objectFit"];
19
+ objectPosition?: ImgElementStyle["objectPosition"];
20
+ image: IkasImage;
21
+ sizes: string;
22
+ } & ({
23
+ width?: never;
24
+ height?: never;
25
+ unsized: true;
26
+ } | {
27
+ width?: never;
28
+ height?: never;
29
+ layout: "fill";
30
+ } | {
31
+ width: number | string;
32
+ height: number | string;
33
+ layout?: Exclude<LayoutValue, "fill">;
34
+ });
35
+ export {};