@soma-vertical-web/multi-lib 0.0.65 → 0.0.66

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 (63) hide show
  1. package/contexts/contexts/plp/PLPConstants.d.ts +6 -0
  2. package/contexts/contexts/plp/PLPInfiniteContext.tsx.d.ts +1 -1
  3. package/contexts/contexts/search/Constants.d.ts +6 -0
  4. package/contexts/contexts/search/Facets.d.ts +1 -1
  5. package/contexts/contexts/search/Products.d.ts +1 -1
  6. package/contexts/contexts/search/Search.d.ts +1 -1
  7. package/contexts/hooks/useScrollRestoration.d.ts +1 -1
  8. package/contexts/index.d.ts +4 -4
  9. package/data/helpers/search/search.d.ts +2 -0
  10. package/index-BBxYNFkz.mjs +416 -0
  11. package/index-CiMxj6Pg.mjs +412 -0
  12. package/index-CwBIv223.js +1 -0
  13. package/index-DKnolQoT.mjs +412 -0
  14. package/index.js +21 -21
  15. package/index.mjs +8264 -7197
  16. package/index2.js +1 -1
  17. package/index2.mjs +97 -94
  18. package/layout/index.d.ts +54 -8
  19. package/layout/team-component/PLPNavigation/Composite/BreadCrumb.d.ts +1 -3
  20. package/layout/team-component/PLPNavigation/Composite/Content.d.ts +1 -1
  21. package/layout/team-component/PLPNavigation/Composite/Filters.d.ts +1 -3
  22. package/layout/team-component/PLPNavigation/Composite/Root.d.ts +2 -2
  23. package/layout/team-component/PLPNavigation/Composite/Selected/Item.d.ts +1 -1
  24. package/layout/team-component/PLPNavigation/Composite/Selected/Selected.d.ts +1 -1
  25. package/layout/team-component/PLPNavigation/Composite/Selected/interfaces.d.ts +1 -7
  26. package/layout/team-component/PLPNavigation/PLPNavigation.d.ts +6 -6
  27. package/layout/team-component/Sort/Sort.d.ts +1 -1
  28. package/layout/template/PDC/Composite/Empty/Empty.d.ts +1 -1
  29. package/layout/template/PDC/Composite/Filters/Filters.d.ts +3 -5
  30. package/layout/template/PDC/Composite/Grid/Banners.d.ts +1 -1
  31. package/layout/template/PDC/Composite/Grid/Grid.d.ts +1 -1
  32. package/layout/template/PDC/Composite/Grid/NavigationTotal.d.ts +2 -3
  33. package/layout/template/PDC/Composite/InfiniteScroller/Banners/Banners.d.ts +1 -1
  34. package/layout/template/PDC/Composite/InfiniteScroller/InfiniteScroller.d.ts +1 -3
  35. package/layout/template/PDC/Composite/InfiniteScroller/Page/Composite/Card.d.ts +1 -1
  36. package/layout/template/PDC/Composite/InfiniteScroller/Page/Page.d.ts +1 -1
  37. package/layout/template/PDC/Composite/InfiniteScroller/Page/index.d.ts +1 -1
  38. package/layout/template/PDC/Composite/Navigation/Navigation.d.ts +1 -3
  39. package/layout/template/PDC/Composite/Notification/Notification.d.ts +1 -1
  40. package/layout/template/PDC/Composite/Pagination/Pagination.d.ts +1 -1
  41. package/layout/template/PDC/Composite/Pagination/helpers.d.ts +1 -2
  42. package/layout/template/PDC/Composite/Products/Products.d.ts +1 -1
  43. package/layout/template/PDC/PDC.d.ts +1 -1
  44. package/layout/template/PDC/index.d.ts +8 -8
  45. package/layout/template/SearchResult/Composite/Empty.d.ts +7 -0
  46. package/layout/template/SearchResult/Composite/Grid.d.ts +7 -0
  47. package/layout/template/SearchResult/Composite/GridHeader.d.ts +3 -0
  48. package/layout/template/SearchResult/Composite/Loading.d.ts +7 -0
  49. package/layout/template/SearchResult/Composite/Sort.d.ts +4 -0
  50. package/layout/template/SearchResult/SearchContent.d.ts +4 -0
  51. package/layout/template/SearchResult/SearchResult.d.ts +7 -0
  52. package/layout/template/SearchResult/index.d.ts +1 -0
  53. package/package.json +1 -1
  54. package/style.css +1 -1
  55. package/types/cms/ContentTypes/Search/index.d.ts +2 -2
  56. package/types/constants.d.ts +41 -1
  57. package/types/contexts/contexts/plp.d.ts +38 -7
  58. package/types/contexts/contexts/search.d.ts +18 -16
  59. package/types/contexts/hooks/index.d.ts +12 -0
  60. package/types/layout/team-components/PLPNavigation/index.d.ts +3 -14
  61. package/types/layout/team-components/Sort/index.d.ts +2 -5
  62. package/types/layout/templates/PLP/index.d.ts +122 -3
  63. package/types/layout/templates/SearchResult/index.d.ts +44 -0
package/layout/index.d.ts CHANGED
@@ -14,27 +14,27 @@ export declare const layout: {
14
14
  };
15
15
  PLPNavigation: {
16
16
  BreadCrumb: {
17
- ({ ICONS, ...props }: import('../types/layout/team-components/PLPNavigation').PLPBreadcrumbProps): import("react/jsx-runtime").JSX.Element;
17
+ (): import("react/jsx-runtime").JSX.Element;
18
18
  displayName: string;
19
19
  };
20
20
  Content: {
21
- ({ children, ICONS, PDC_NAVIGATION, searchParams, ...props }: import('../types/layout/team-components/PLPNavigation').PLPContentProps): import("react/jsx-runtime").JSX.Element;
21
+ ({ children, ...props }: import('../types/layout/team-components/PLPNavigation').PLPContentProps): import("react/jsx-runtime").JSX.Element;
22
22
  displayName: string;
23
23
  };
24
24
  Filters: {
25
- ({ ICONS, PDC_NAVIGATION, searchParams }: import('../types/layout/team-components/PLPNavigation').PLPNavigationFiltersProps): import("react/jsx-runtime").JSX.Element;
25
+ (): import("react/jsx-runtime").JSX.Element;
26
26
  displayName: string;
27
27
  };
28
28
  Root: {
29
- ({ children, onSort, setOpenFilters, style, PDC_NAVIGATION, ICONS, searchParams, ...props }: import('../types/layout/team-components/PLPNavigation').PLPRootProps): import("react/jsx-runtime").JSX.Element;
29
+ ({ children, onSort, setOpenFilters, style, ...props }: import('../types/layout/team-components/PLPNavigation').PLPNavigationRootProps): import("react/jsx-runtime").JSX.Element;
30
30
  displayName: string;
31
31
  };
32
32
  Selected: {
33
- ({ callback, selected, CONSTANTS, ...props }: import('./team-component/PLPNavigation/Composite/Selected/interfaces').SelectedProps): import("react/jsx-runtime").JSX.Element;
33
+ ({ callback, selected, ...props }: import('./team-component/PLPNavigation/Composite/Selected/interfaces').SelectedProps): import("react/jsx-runtime").JSX.Element;
34
34
  displayName: string;
35
35
  };
36
36
  SelectedItem: {
37
- ({ callback, facet, CONSTANTS }: import('./team-component/PLPNavigation/Composite/Selected/interfaces').SelectedItemProps): import("react/jsx-runtime").JSX.Element;
37
+ ({ callback, facet }: import('./team-component/PLPNavigation/Composite/Selected/interfaces').SelectedItemProps): import("react/jsx-runtime").JSX.Element;
38
38
  displayName: string;
39
39
  };
40
40
  Total: {
@@ -126,7 +126,7 @@ export declare const layout: {
126
126
  };
127
127
  };
128
128
  Sort: {
129
- ({ handleSelectValue, sortListOpen, setSortListOpen, searchParams, CONSTANTS, ...props }: import('../types/layout/team-components/Sort').SortProps): import("react/jsx-runtime").JSX.Element;
129
+ ({ handleSelectValue, sortListOpen, setSortListOpen, searchParams, ICONS, ...props }: import('../types/layout/team-components/Sort').SortProps): import("react/jsx-runtime").JSX.Element;
130
130
  displayName: string;
131
131
  };
132
132
  UserMenu: {
@@ -198,7 +198,6 @@ export declare const layout: {
198
198
  };
199
199
  };
200
200
  template: {
201
- pdp: typeof pdp;
202
201
  minicart: {
203
202
  Body: {
204
203
  ({ children, ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, PLP_NOT_RESULT, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER }: import('../types/layout/templates/MiniCart').ModalBodyProps): import("react/jsx-runtime").JSX.Element;
@@ -251,6 +250,53 @@ export declare const layout: {
251
250
  displayName: string;
252
251
  };
253
252
  };
253
+ pdc: {
254
+ ({ className, ...props }: import('../types/layout/templates/PLP').PLPRootProps): import("react/jsx-runtime").JSX.Element;
255
+ displayName: string;
256
+ };
257
+ pdc_composites: {
258
+ Empty: {
259
+ ({ className, content }: import('../types/layout/templates/PLP').EmptyProps): import("react/jsx-runtime").JSX.Element;
260
+ displayName: string;
261
+ };
262
+ Filters: {
263
+ (): import("react/jsx-runtime").JSX.Element | null;
264
+ displayName: string;
265
+ };
266
+ Grid: {
267
+ ({ infinite }: import('../types/layout/templates/PLP').GridProps): import("react/jsx-runtime").JSX.Element;
268
+ displayName: string;
269
+ };
270
+ InfiniteScroller: {
271
+ (): import("react/jsx-runtime").JSX.Element;
272
+ displayName: string;
273
+ };
274
+ Spinner: {
275
+ (props: import('react').HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
276
+ displayName: string;
277
+ };
278
+ Navigation: {
279
+ (): import("react/jsx-runtime").JSX.Element;
280
+ displayName: string;
281
+ };
282
+ Notification: {
283
+ ({ skus, ICONS, NEWSLETTER_CONFIGS, NOTIFY_INFO, PRODUCT_CARD_TEXTS, Z_INDEX_WAR, ...props }: import('../types/layout/templates/PLP').NotificationProps): import("react/jsx-runtime").JSX.Element;
284
+ displayName: string;
285
+ };
286
+ Pagination: {
287
+ ({ 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;
288
+ displayName: string;
289
+ };
290
+ Products: {
291
+ ({ 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, 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, WishListToggle }: import('../types/layout/templates/PLP').ProductsProps): import("react/jsx-runtime").JSX.Element;
292
+ displayName: string;
293
+ };
294
+ };
295
+ pdp: typeof pdp;
296
+ searchResult: {
297
+ ({ className, searchParams, CONSTANTS }: import('../types/layout/templates/SearchResult').SearchProps): import("react/jsx-runtime").JSX.Element;
298
+ displayName: string;
299
+ };
254
300
  };
255
301
  utils: {
256
302
  EventCollector: ({ page, data }: import('react').PropsWithChildren & import('../types/data/events').CollectorProps) => null;
@@ -1,7 +1,5 @@
1
- import { PLPBreadcrumbProps } from '../../../../types/layout/team-components/PLPNavigation';
2
-
3
1
  declare const BreadCrumb: {
4
- ({ ICONS, ...props }: PLPBreadcrumbProps): import("react/jsx-runtime").JSX.Element;
2
+ (): import("react/jsx-runtime").JSX.Element;
5
3
  displayName: string;
6
4
  };
7
5
  export default BreadCrumb;
@@ -1,7 +1,7 @@
1
1
  import { PLPContentProps } from '../../../../types/layout/team-components/PLPNavigation';
2
2
 
3
3
  declare const Content: {
4
- ({ children, ICONS, PDC_NAVIGATION, searchParams, ...props }: PLPContentProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ children, ...props }: PLPContentProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default Content;
@@ -1,7 +1,5 @@
1
- import { PLPNavigationFiltersProps } from '../../../../types/layout/team-components/PLPNavigation';
2
-
3
1
  declare const Filters: {
4
- ({ ICONS, PDC_NAVIGATION, searchParams }: PLPNavigationFiltersProps): import("react/jsx-runtime").JSX.Element;
2
+ (): import("react/jsx-runtime").JSX.Element;
5
3
  displayName: string;
6
4
  };
7
5
  export default Filters;
@@ -1,7 +1,7 @@
1
- import { PLPRootProps } from '../../../../types/layout/team-components/PLPNavigation';
1
+ import { PLPNavigationRootProps } from '../../../../types/layout/team-components/PLPNavigation';
2
2
 
3
3
  declare const Root: {
4
- ({ children, onSort, setOpenFilters, style, PDC_NAVIGATION, ICONS, searchParams, ...props }: PLPRootProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ children, onSort, setOpenFilters, style, ...props }: PLPNavigationRootProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default Root;
@@ -1,7 +1,7 @@
1
1
  import { SelectedItemProps } from './interfaces';
2
2
 
3
3
  declare const Item: {
4
- ({ callback, facet, CONSTANTS }: SelectedItemProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ callback, facet }: SelectedItemProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default Item;
@@ -1,7 +1,7 @@
1
1
  import { SelectedProps } from './interfaces';
2
2
 
3
3
  declare const Selected: {
4
- ({ callback, selected, CONSTANTS, ...props }: SelectedProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ callback, selected, ...props }: SelectedProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default Selected;
@@ -1,16 +1,10 @@
1
- import { ICONSType, PLP_FILTERS_COLORSType, PLP_FILTERSType } from '../../../../../types/constants';
2
1
  import { FacetsContextProps } from '../../../../../types/contexts/contexts/search';
3
2
 
4
3
  export type SelectedFacetProps = FacetsContextProps['selectedFacets'][0];
5
4
  export interface SelectedItemProps {
6
5
  facet: SelectedFacetProps;
7
6
  callback(value: SelectedFacetProps, remove: boolean): void;
8
- CONSTANTS: {
9
- ICONS: ICONSType;
10
- PLP_FILTERS: PLP_FILTERSType;
11
- PLP_FILTERS_COLORS: PLP_FILTERS_COLORSType;
12
- };
13
7
  }
14
- export interface SelectedProps extends Pick<SelectedItemProps, 'callback' | 'CONSTANTS'> {
8
+ export interface SelectedProps extends Pick<SelectedItemProps, 'callback'> {
15
9
  selected: SelectedFacetProps[];
16
10
  }
@@ -1,26 +1,26 @@
1
1
  declare const PLPNavigation: {
2
2
  BreadCrumb: {
3
- ({ ICONS, ...props }: import('../../../types/layout/team-components/PLPNavigation').PLPBreadcrumbProps): import("react/jsx-runtime").JSX.Element;
3
+ (): import("react/jsx-runtime").JSX.Element;
4
4
  displayName: string;
5
5
  };
6
6
  Content: {
7
- ({ children, ICONS, PDC_NAVIGATION, searchParams, ...props }: import('../../../types/layout/team-components/PLPNavigation').PLPContentProps): import("react/jsx-runtime").JSX.Element;
7
+ ({ children, ...props }: import('../../../types/layout/team-components/PLPNavigation').PLPContentProps): import("react/jsx-runtime").JSX.Element;
8
8
  displayName: string;
9
9
  };
10
10
  Filters: {
11
- ({ ICONS, PDC_NAVIGATION, searchParams }: import('../../../types/layout/team-components/PLPNavigation').PLPNavigationFiltersProps): import("react/jsx-runtime").JSX.Element;
11
+ (): import("react/jsx-runtime").JSX.Element;
12
12
  displayName: string;
13
13
  };
14
14
  Root: {
15
- ({ children, onSort, setOpenFilters, style, PDC_NAVIGATION, ICONS, searchParams, ...props }: import('../../../types/layout/team-components/PLPNavigation').PLPRootProps): import("react/jsx-runtime").JSX.Element;
15
+ ({ children, onSort, setOpenFilters, style, ...props }: import('../../../types/layout/team-components/PLPNavigation').PLPNavigationRootProps): import("react/jsx-runtime").JSX.Element;
16
16
  displayName: string;
17
17
  };
18
18
  Selected: {
19
- ({ callback, selected, CONSTANTS, ...props }: import('./Composite/Selected/interfaces').SelectedProps): import("react/jsx-runtime").JSX.Element;
19
+ ({ callback, selected, ...props }: import('./Composite/Selected/interfaces').SelectedProps): import("react/jsx-runtime").JSX.Element;
20
20
  displayName: string;
21
21
  };
22
22
  SelectedItem: {
23
- ({ callback, facet, CONSTANTS }: import('./Composite/Selected/interfaces').SelectedItemProps): import("react/jsx-runtime").JSX.Element;
23
+ ({ callback, facet }: import('./Composite/Selected/interfaces').SelectedItemProps): import("react/jsx-runtime").JSX.Element;
24
24
  displayName: string;
25
25
  };
26
26
  Total: {
@@ -1,7 +1,7 @@
1
1
  import { SortProps } from '../../../types/layout/team-components/Sort';
2
2
 
3
3
  declare const Sort: {
4
- ({ handleSelectValue, sortListOpen, setSortListOpen, searchParams, CONSTANTS, ...props }: SortProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ handleSelectValue, sortListOpen, setSortListOpen, searchParams, ICONS, ...props }: SortProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default Sort;
@@ -1,7 +1,7 @@
1
1
  import { EmptyProps } from '../../../../../types/layout/templates/PLP';
2
2
 
3
3
  declare const Empty: {
4
- ({ content, className, ICONS, PLP_NOT_RESULT }: EmptyProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ className, content }: EmptyProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default Empty;
@@ -1,7 +1,5 @@
1
- import { FiltersProps } from '../../../../../types/layout/templates/PLP';
2
-
3
- declare const Filters: {
4
- ({ ICONS, PLP_FILTERS, PLP_FILTERS_COLORS, PLP_FILTERS_EMPTY, PLP_FILTERS_TITLE, PLP_SIZE_ORDER, }: FiltersProps): import("react/jsx-runtime").JSX.Element;
1
+ declare const FiltersWrapper: {
2
+ (): import("react/jsx-runtime").JSX.Element | null;
5
3
  displayName: string;
6
4
  };
7
- export default Filters;
5
+ export default FiltersWrapper;
@@ -1,7 +1,7 @@
1
1
  import { BannersProps } from '../../../../../types/layout/templates/PLP';
2
2
 
3
3
  declare const Banners: {
4
- ({ gap, isMobile, ICONS, PRODUCT_CARD_IMAGE_ASPECT_RATIO }: BannersProps): import("react/jsx-runtime").JSX.Element[] | null;
4
+ ({ gap, isMobile }: BannersProps): import("react/jsx-runtime").JSX.Element[] | null;
5
5
  displayName: string;
6
6
  };
7
7
  export default Banners;
@@ -1,7 +1,7 @@
1
1
  import { GridProps } from '../../../../../types/layout/templates/PLP';
2
2
 
3
3
  declare const Grid: {
4
- ({ infinite, InfiniteScrollerProps, PDCContentProps }: GridProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ infinite }: GridProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default Grid;
@@ -1,8 +1,7 @@
1
1
  declare const NavigationTotal: {
2
- ({ parent, total, }: {
3
- parent: HTMLElement | null;
2
+ ({ total, }: {
4
3
  total: number;
5
- }): import("react/jsx-runtime").JSX.Element;
4
+ }): import('react').ReactPortal | null;
6
5
  displayName: string;
7
6
  };
8
7
  export default NavigationTotal;
@@ -1,7 +1,7 @@
1
1
  import { InfiniteBannersProps } from '../../../../../../types/layout/templates/PLP';
2
2
 
3
3
  declare const Banners: {
4
- ({ columns, count, gap, ICONS, PRODUCT_CARD_IMAGE_ASPECT_RATIO }: InfiniteBannersProps): import("react/jsx-runtime").JSX.Element[] | null;
4
+ ({ columns, count, gap }: InfiniteBannersProps): import("react/jsx-runtime").JSX.Element[] | null;
5
5
  displayName: string;
6
6
  };
7
7
  export default Banners;
@@ -1,7 +1,5 @@
1
- import { InfiniteScrollerProps } from '../../../../../types/layout/templates/PLP';
2
-
3
1
  declare const InfiniteScroller: {
4
- ({ Notification, searchParams, ITEMS_PER_PAGE, ...props }: InfiniteScrollerProps): import("react/jsx-runtime").JSX.Element;
2
+ (): import("react/jsx-runtime").JSX.Element;
5
3
  displayName: string;
6
4
  };
7
5
  export default InfiniteScroller;
@@ -1,7 +1,7 @@
1
1
  import { PageCardProps } from '../../../../../../../types/layout/templates/PLP';
2
2
 
3
3
  declare const Card: {
4
- ({ first, gap, isMobile, item, index, last, order, page, showVideo, WishListToggle, CONSTANTS }: PageCardProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ first, gap, isMobile, item, index, last, order, page, showVideo, }: PageCardProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default Card;
@@ -1,7 +1,7 @@
1
1
  import { PageProps } from '../../../../../../types/layout/templates/PLP';
2
2
 
3
3
  declare const Page: {
4
- ({ count, gap, page, WishListToggle, CONSTANTS }: PageProps): import("react/jsx-runtime").JSX.Element[] | null;
4
+ ({ count, gap, page }: PageProps): import("react/jsx-runtime").JSX.Element[] | null;
5
5
  displayName: string;
6
6
  };
7
7
  export default Page;
@@ -4,7 +4,7 @@ declare const Page: {
4
4
  displayName: string;
5
5
  };
6
6
  Card: {
7
- ({ first, gap, isMobile, item, index, last, order, page, showVideo, WishListToggle, CONSTANTS }: import('../../../../../../types/layout/templates/PLP').PageCardProps): import("react/jsx-runtime").JSX.Element;
7
+ ({ first, gap, isMobile, item, index, last, order, page, showVideo, }: import('../../../../../../types/layout/templates/PLP').PageCardProps): import("react/jsx-runtime").JSX.Element;
8
8
  displayName: string;
9
9
  };
10
10
  Loader: {
@@ -1,7 +1,5 @@
1
- import { NavigationProps } from '../../../../../types/layout/templates/PLP';
2
-
3
1
  declare const Navigation: {
4
- ({ searchParams, ICONS, PDC_NAVIGATION, PLP_FILTERS, PLP_FILTERS_COLORS, Z_INDEX_WAR }: NavigationProps): import("react/jsx-runtime").JSX.Element;
2
+ (): import("react/jsx-runtime").JSX.Element;
5
3
  displayName: string;
6
4
  };
7
5
  export default Navigation;
@@ -1,7 +1,7 @@
1
1
  import { NotificationProps } from '../../../../../types/layout/templates/PLP';
2
2
 
3
3
  declare const Notification: {
4
- ({ skus, ...props }: NotificationProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ skus, ICONS, NEWSLETTER_CONFIGS, NOTIFY_INFO, PRODUCT_CARD_TEXTS, Z_INDEX_WAR, ...props }: NotificationProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default Notification;
@@ -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_PAGE, ITEMS_PER_SECTION, 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;
5
5
  displayName: string;
6
6
  };
7
7
  export default Pagination;
@@ -1,9 +1,8 @@
1
- import { ReadonlyURLSearchParams } from 'next/navigation';
2
1
  import { PaginantionOptionsProps } from '../../../../../types/layout/templates/PLP';
3
2
 
4
3
  export declare const getCurrentPagination: () => number;
5
4
  export declare const getPage: (index: number, itemsPerPage: number, totalPages: number) => number;
6
- export declare const createQueryString: (name: string, value: string, searchParams: ReadonlyURLSearchParams) => string;
5
+ export declare const createQueryString: (name: string, value: string, searchParams: URLSearchParams) => string;
7
6
  export declare const createPages: (startPage: number, endPage: number) => number[];
8
7
  export declare const paginationOptions: ({ currentPage, total, maxVisiblePages, SEARCH_PAGE_ITEM_THRESHOLD }: PaginantionOptionsProps) => {
9
8
  startPage: number;
@@ -1,7 +1,7 @@
1
1
  import { ProductsProps } from '../../../../../types/layout/templates/PLP';
2
2
 
3
3
  declare const Products: {
4
- ({ isMobile, items, WishListToggle, ICONS, NEWSLETTER_CONFIGS, NOTIFY_INFO, PRODUCTCARD_CONSTANTS }: ProductsProps): import("react/jsx-runtime").JSX.Element;
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, 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, WishListToggle }: ProductsProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default Products;
@@ -1,7 +1,7 @@
1
1
  import { PLPRootProps } from '../../../types/layout/templates/PLP';
2
2
 
3
3
  declare const PDC: {
4
- ({ searchParams, className, PLP_INFINITE_SCROLL, PLP_SORT_DEFAULT, PLPFiltersProps, PLPGridProps, PLPNavigationProps, PLPPaginationProps, }: PLPRootProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ className, ...props }: PLPRootProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default PDC;
@@ -1,18 +1,18 @@
1
1
  declare const PDC: {
2
2
  Empty: {
3
- ({ content, className, ICONS, PLP_NOT_RESULT }: import('../../../types/layout/templates/PLP').EmptyProps): import("react/jsx-runtime").JSX.Element;
3
+ ({ className, content }: import('../../../types/layout/templates/PLP').EmptyProps): import("react/jsx-runtime").JSX.Element;
4
4
  displayName: string;
5
5
  };
6
6
  Filters: {
7
- ({ ICONS, PLP_FILTERS, PLP_FILTERS_COLORS, PLP_FILTERS_EMPTY, PLP_FILTERS_TITLE, PLP_SIZE_ORDER, }: import('../../../types/layout/templates/PLP').FiltersProps): import("react/jsx-runtime").JSX.Element;
7
+ (): import("react/jsx-runtime").JSX.Element | null;
8
8
  displayName: string;
9
9
  };
10
10
  Grid: {
11
- ({ infinite, InfiniteScrollerProps, PDCContentProps }: import('../../../types/layout/templates/PLP').GridProps): import("react/jsx-runtime").JSX.Element;
11
+ ({ infinite }: import('../../../types/layout/templates/PLP').GridProps): import("react/jsx-runtime").JSX.Element;
12
12
  displayName: string;
13
13
  };
14
14
  InfiniteScroller: {
15
- ({ Notification, searchParams, ITEMS_PER_PAGE, ...props }: import('../../../types/layout/templates/PLP').InfiniteScrollerProps): import("react/jsx-runtime").JSX.Element;
15
+ (): import("react/jsx-runtime").JSX.Element;
16
16
  displayName: string;
17
17
  };
18
18
  Spinner: {
@@ -20,19 +20,19 @@ declare const PDC: {
20
20
  displayName: string;
21
21
  };
22
22
  Navigation: {
23
- ({ searchParams, ICONS, PDC_NAVIGATION, PLP_FILTERS, PLP_FILTERS_COLORS, Z_INDEX_WAR }: import('../../../types/layout/templates/PLP').NavigationProps): import("react/jsx-runtime").JSX.Element;
23
+ (): import("react/jsx-runtime").JSX.Element;
24
24
  displayName: string;
25
25
  };
26
26
  Notification: {
27
- ({ skus, ...props }: import('../../../types/layout/templates/PLP').NotificationProps): import("react/jsx-runtime").JSX.Element;
27
+ ({ skus, ICONS, NEWSLETTER_CONFIGS, NOTIFY_INFO, PRODUCT_CARD_TEXTS, Z_INDEX_WAR, ...props }: import('../../../types/layout/templates/PLP').NotificationProps): import("react/jsx-runtime").JSX.Element;
28
28
  displayName: string;
29
29
  };
30
30
  Pagination: {
31
- ({ query, type, searchParams, ITEMS_DEFAULT_SORT, ITEMS_PER_PAGE, ITEMS_PER_SECTION, 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;
32
32
  displayName: string;
33
33
  };
34
34
  Products: {
35
- ({ isMobile, items, WishListToggle, ICONS, NEWSLETTER_CONFIGS, NOTIFY_INFO, PRODUCTCARD_CONSTANTS }: import('../../../types/layout/templates/PLP').ProductsProps): import("react/jsx-runtime").JSX.Element;
35
+ ({ 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, 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, WishListToggle }: import('../../../types/layout/templates/PLP').ProductsProps): import("react/jsx-runtime").JSX.Element;
36
36
  displayName: string;
37
37
  };
38
38
  };
@@ -0,0 +1,7 @@
1
+ import { ISearchEmpty } from '../../../../types/layout/templates/SearchResult';
2
+
3
+ declare const SearchEmpty: {
4
+ ({ term }: ISearchEmpty): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
7
+ export default SearchEmpty;
@@ -0,0 +1,7 @@
1
+ import { SearchResultContentProps } from '../../../../types/layout/templates/SearchResult';
2
+
3
+ declare const SearchResultContent: {
4
+ ({ isMobile, query }: SearchResultContentProps): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
7
+ export default SearchResultContent;
@@ -0,0 +1,3 @@
1
+ export declare const GridHeader: ({ query }: {
2
+ query?: string;
3
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { ISearchLoading } from '../../../../types/layout/templates/SearchResult';
2
+
3
+ declare const SearchLoading: {
4
+ ({ isLoading, quantity, term }: ISearchLoading): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
7
+ export default SearchLoading;
@@ -0,0 +1,4 @@
1
+ import { ISearchSort } from '../../../../types/layout/templates/SearchResult';
2
+
3
+ declare const SearchSort: ({ term }: ISearchSort) => import("react/jsx-runtime").JSX.Element;
4
+ export default SearchSort;
@@ -0,0 +1,4 @@
1
+ import { SearchContentProps } from '../../../types/layout/templates/SearchResult';
2
+
3
+ declare const SearchContent: ({ className }: SearchContentProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default SearchContent;
@@ -0,0 +1,7 @@
1
+ import { SearchProps } from '../../../types/layout/templates/SearchResult';
2
+
3
+ declare const Search: {
4
+ ({ className, searchParams, CONSTANTS }: SearchProps): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
7
+ export default Search;
@@ -0,0 +1 @@
1
+ export { default } from './SearchResult';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soma-vertical-web/multi-lib",
3
- "version": "0.0.65",
3
+ "version": "0.0.66",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {