@soma-vertical-web/multi-lib 1.0.16 → 1.0.18

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.
Files changed (34) hide show
  1. package/cms/ContentTypes/LPLojas/LPLojaClientWrapper.d.ts +1 -1
  2. package/cms/ContentTypes/LPLojas/typing.d.ts +1 -0
  3. package/cms/index.d.ts +1 -1
  4. package/contexts/contexts/plp/FilterContext.d.ts +1 -1
  5. package/contexts/contexts/plp/PLPContext.d.ts +1 -1
  6. package/contexts/contexts/search/Facets.d.ts +1 -1
  7. package/contexts/contexts/search/QueryFacets.d.ts +5 -0
  8. package/contexts/contexts/search/QueryProducts.d.ts +5 -0
  9. package/contexts/contexts/search/RootTank.d.ts +9 -0
  10. package/contexts/contexts/search/Search.d.ts +1 -1
  11. package/contexts/index.d.ts +4 -4
  12. package/data/helpers/plp/index.d.ts +2 -2
  13. package/data/helpers/search/facets.d.ts +1 -0
  14. package/data/helpers/search/index.d.ts +4 -0
  15. package/data/helpers/search/search.d.ts +1 -0
  16. package/data/index.d.ts +2 -0
  17. package/index-BlwJMBFA.mjs +1890 -0
  18. package/index-dtcYsqh-.js +4 -0
  19. package/index.js +16 -16
  20. package/index.mjs +10382 -8224
  21. package/index2.js +1 -1
  22. package/index2.mjs +631 -678
  23. package/layout/index.d.ts +2 -2
  24. package/layout/template/PDC/Composite/Pagination/Pagination.d.ts +1 -1
  25. package/layout/template/PDC/PDC.d.ts +1 -1
  26. package/layout/template/PDC/index.d.ts +1 -1
  27. package/layout/template/SearchResult/Composite/Products.d.ts +7 -0
  28. package/package.json +1 -1
  29. package/server.d.ts +4 -0
  30. package/style.css +1 -1
  31. package/types/contexts/contexts/plp.d.ts +42 -8
  32. package/types/contexts/contexts/search.d.ts +28 -16
  33. package/types/layout/team-components/PLPNavigation/index.d.ts +0 -2
  34. package/types/layout/templates/PLP/index.d.ts +2 -2
package/layout/index.d.ts CHANGED
@@ -260,7 +260,7 @@ export declare const layout: {
260
260
  };
261
261
  };
262
262
  pdc: {
263
- ({ className, ...props }: import('../types/layout/templates/PLP').PLPRootProps): import("react/jsx-runtime").JSX.Element;
263
+ ({ className }: import('../types/layout/templates/PLP').PLPRootProps): import("react/jsx-runtime").JSX.Element;
264
264
  displayName: string;
265
265
  };
266
266
  pdc_composites: {
@@ -293,7 +293,7 @@ export declare const layout: {
293
293
  displayName: string;
294
294
  };
295
295
  Pagination: {
296
- ({ query, type, searchParams, ITEMS_DEFAULT_SORT, ITEMS_PER_SECTION, ITEMS_PER_PAGE, SEARCH_PAGE_ITEM_THRESHOLD, VARIANT_PAGINATION, ...props }: import('../types/layout/templates/PLP').PaginationProps): import("react/jsx-runtime").JSX.Element;
296
+ ({ query, type, searchParams, ITEMS_DEFAULT_SORT, ITEMS_PER_SECTION, ITEMS_PER_PAGE, SEARCH_PAGE_ITEM_THRESHOLD, VARIANT_PAGINATION, ...props }: import('../types/layout/templates/PLP').PaginationProps): import("react/jsx-runtime").JSX.Element | null;
297
297
  displayName: string;
298
298
  };
299
299
  Products: {
@@ -1,7 +1,7 @@
1
1
  import { PaginationProps } from '../../../../../types/layout/templates/PLP';
2
2
 
3
3
  declare const Pagination: {
4
- ({ query, type, searchParams, ITEMS_DEFAULT_SORT, ITEMS_PER_SECTION, ITEMS_PER_PAGE, SEARCH_PAGE_ITEM_THRESHOLD, VARIANT_PAGINATION, ...props }: PaginationProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ query, type, searchParams, ITEMS_DEFAULT_SORT, ITEMS_PER_SECTION, ITEMS_PER_PAGE, SEARCH_PAGE_ITEM_THRESHOLD, VARIANT_PAGINATION, ...props }: PaginationProps): import("react/jsx-runtime").JSX.Element | null;
5
5
  displayName: string;
6
6
  };
7
7
  export default Pagination;
@@ -1,7 +1,7 @@
1
1
  import { PLPRootProps } from '../../../types/layout/templates/PLP';
2
2
 
3
3
  declare const PDC: {
4
- ({ className, ...props }: PLPRootProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ className }: PLPRootProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default PDC;
@@ -28,7 +28,7 @@ declare const PDC: {
28
28
  displayName: string;
29
29
  };
30
30
  Pagination: {
31
- ({ query, type, searchParams, ITEMS_DEFAULT_SORT, ITEMS_PER_SECTION, ITEMS_PER_PAGE, SEARCH_PAGE_ITEM_THRESHOLD, VARIANT_PAGINATION, ...props }: import('../../../types/layout/templates/PLP').PaginationProps): import("react/jsx-runtime").JSX.Element;
31
+ ({ query, type, searchParams, ITEMS_DEFAULT_SORT, ITEMS_PER_SECTION, ITEMS_PER_PAGE, SEARCH_PAGE_ITEM_THRESHOLD, VARIANT_PAGINATION, ...props }: import('../../../types/layout/templates/PLP').PaginationProps): import("react/jsx-runtime").JSX.Element | null;
32
32
  displayName: string;
33
33
  };
34
34
  Products: {
@@ -0,0 +1,7 @@
1
+ import { ProductsProps } from '../../../../types/layout/templates/PLP';
2
+
3
+ declare const Products: {
4
+ ({ isMobile, items, BUY_BUTTON_LABELS, ICONS, MAIN_IMAGE, NEWSLETTER_CONFIGS, NOTIFY_INFO, PLP_GRID_SCROLL_BACK, PLP_INFINITE_SCROLL, PLP_PRODUCT_SIMILAR_DELAY, PLP_SHOW_VIDEO_ON_PRODUCT_CARD, PLP_SIZE_ORDER, PRODUCT_CARD_IMAGE_ASPECT_RATIO, PRODUCT_CARD_TEXTS, PRODUCT_CARD_TOP_WISHLIST_TOGGLE, PRODUCT_IMAGE_DIMENSIONS, SECOND_IMAGE, StoreConfig_MainSellerId, TEXTURE_IMAGE, Z_INDEX_WAR, }: ProductsProps): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
7
+ export default Products;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soma-vertical-web/multi-lib",
3
- "version": "1.0.16",
3
+ "version": "1.0.18",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
package/server.d.ts CHANGED
@@ -28,6 +28,10 @@ declare const serverHelpers: {
28
28
  value: string;
29
29
  key: string;
30
30
  }[];
31
+ selectedFacets: (facets: string[]) => {
32
+ key: string;
33
+ value: string;
34
+ }[];
31
35
  filterNonCategorySelected: (facets: import('./types/data/api/search/facets').Facet[], base?: string | null) => import('./types/data/api/search/facets').Facet<import('./types/data/api/search/facets').FacetValueBoolean | import('./types/data/api/search/facets').FacetValueRange>[];
32
36
  };
33
37
  product: typeof productHelpers;