@soma-vertical-web/multi-lib 0.0.51 → 0.0.52

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.
package/constants.d.ts CHANGED
@@ -12,7 +12,6 @@ export declare const PLP_FILTERS_SORT: {
12
12
  discount_desc: string;
13
13
  name_asc: string;
14
14
  };
15
- default_option: string;
16
15
  };
17
16
  export declare const PDPShelfType: readonly ["whosawalsosaw", "whosawalsobought", "whoboughtalsobought", "accessories", "similars", "showtogether", "suggestions"];
18
17
  export declare const FACET_CROSS_SELLING_MAP: {
@@ -23,7 +22,6 @@ export declare const FACET_CROSS_SELLING_MAP: {
23
22
  readonly accessories: "accessories";
24
23
  readonly suggestions: "suggestions";
25
24
  };
26
- export declare const SORT_OPTIONS: string[];
27
25
  export declare const ObjectFitsDefault: readonly ["contain", "cover", "fill", "none"];
28
26
  export declare const SEARCH_PAGE_DEFAULT_PAGINATION: {
29
27
  nextPage: boolean;
@@ -1,6 +1,6 @@
1
1
  import { PLPContextProps, PLPProviderProps } from '../../../types/contexts/contexts/plp';
2
2
 
3
3
  declare const PLPContext: import('react').Context<PLPContextProps>;
4
- declare const PLPProvider: ({ children, slug, searchParams, collectionId, brand, itemsPerPage }: PLPProviderProps) => import("react/jsx-runtime").JSX.Element;
4
+ declare const PLPProvider: ({ children, slug, searchParams, collectionId, brand, itemsPerPage, PLP_SORT_DEFAULT }: PLPProviderProps) => import("react/jsx-runtime").JSX.Element;
5
5
  declare const usePLPContext: () => PLPContextProps;
6
6
  export { PLPContext, PLPProvider, usePLPContext };
@@ -1,5 +1,5 @@
1
1
  import { FacetsContextProps, FacetsProviderProps } from '../../../types/contexts/contexts/search';
2
2
 
3
- declare const FacetsProvider: ({ children, searchParams, forceUpdate, }: FacetsProviderProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const FacetsProvider: ({ children, searchParams, forceUpdate, PLP_SORT_DEFAULT }: FacetsProviderProps) => import("react/jsx-runtime").JSX.Element;
4
4
  declare const useFacetsContext: () => FacetsContextProps;
5
5
  export { FacetsProvider, useFacetsContext };
@@ -82,7 +82,7 @@ export declare const contexts: {
82
82
  };
83
83
  };
84
84
  plp: {
85
- provider: ({ children, slug, searchParams, collectionId, brand, itemsPerPage }: import('../types/contexts/contexts/plp').PLPProviderProps) => import("react/jsx-runtime").JSX.Element;
85
+ provider: ({ children, slug, searchParams, collectionId, brand, itemsPerPage, PLP_SORT_DEFAULT }: import('../types/contexts/contexts/plp').PLPProviderProps) => import("react/jsx-runtime").JSX.Element;
86
86
  hook: () => import('../types/contexts/contexts/plp').PLPContextProps;
87
87
  };
88
88
  plpFilter: {
@@ -103,7 +103,7 @@ export declare const contexts: {
103
103
  };
104
104
  searchFacets: {
105
105
  hook: () => import('../types/contexts/contexts/search').FacetsContextProps;
106
- provider: ({ children, searchParams, forceUpdate, }: import('../types/contexts/contexts/search').FacetsProviderProps) => import("react/jsx-runtime").JSX.Element;
106
+ provider: ({ children, searchParams, forceUpdate, PLP_SORT_DEFAULT }: import('../types/contexts/contexts/search').FacetsProviderProps) => import("react/jsx-runtime").JSX.Element;
107
107
  };
108
108
  searchProducts: {
109
109
  hook: () => import('../types/contexts/contexts/search').ProductsContextProps;