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

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 (58) hide show
  1. package/cms/Sections/EmbedLive/Component.d.ts +4 -0
  2. package/cms/Sections/ProductCarousel/Composite/CommonShelf.d.ts +4 -0
  3. package/cms/Sections/ProductCarousel/Composite/RecommendationShelf.d.ts +4 -0
  4. package/cms/Sections/ProductCarousel/ProductCarousel.d.ts +4 -0
  5. package/cms/Sections/ProductCarousel/request.d.ts +24 -0
  6. package/cms/index.d.ts +3 -0
  7. package/contexts/hooks/useScrollRestoration.d.ts +3 -0
  8. package/contexts/hooks/useScrollRestorationInfinite.d.ts +4 -0
  9. package/index.js +19 -19
  10. package/index.mjs +4990 -4693
  11. package/layout/template/PDC/Composite/Empty/Empty.d.ts +7 -0
  12. package/layout/template/PDC/Composite/Empty/index.d.ts +1 -0
  13. package/layout/template/PDC/Composite/Filters/Filters.d.ts +7 -0
  14. package/layout/template/PDC/Composite/Filters/helpers.d.ts +4 -0
  15. package/layout/template/PDC/Composite/Filters/index.d.ts +1 -0
  16. package/layout/template/PDC/Composite/Grid/Banners.d.ts +7 -0
  17. package/layout/template/PDC/Composite/Grid/Grid.d.ts +7 -0
  18. package/layout/template/PDC/Composite/Grid/NavigationTotal.d.ts +8 -0
  19. package/layout/template/PDC/Composite/Grid/index.d.ts +1 -0
  20. package/layout/template/PDC/Composite/InfiniteScroller/Banners/Banners.d.ts +7 -0
  21. package/layout/template/PDC/Composite/InfiniteScroller/Banners/index.d.ts +1 -0
  22. package/layout/template/PDC/Composite/InfiniteScroller/InfiniteScroller.d.ts +7 -0
  23. package/layout/template/PDC/Composite/InfiniteScroller/Loading/Loading.d.ts +7 -0
  24. package/layout/template/PDC/Composite/InfiniteScroller/Loading/index.d.ts +1 -0
  25. package/layout/template/PDC/Composite/InfiniteScroller/Page/Composite/Anchor.d.ts +7 -0
  26. package/layout/template/PDC/Composite/InfiniteScroller/Page/Composite/Card.d.ts +7 -0
  27. package/layout/template/PDC/Composite/InfiniteScroller/Page/Composite/Loader.d.ts +9 -0
  28. package/layout/template/PDC/Composite/InfiniteScroller/Page/Composite/NextPage.d.ts +7 -0
  29. package/layout/template/PDC/Composite/InfiniteScroller/Page/Page.d.ts +7 -0
  30. package/layout/template/PDC/Composite/InfiniteScroller/Page/index.d.ts +21 -0
  31. package/layout/template/PDC/Composite/InfiniteScroller/index.d.ts +1 -0
  32. package/layout/template/PDC/Composite/Navigation/Navigation.d.ts +7 -0
  33. package/layout/template/PDC/Composite/Navigation/index.d.ts +1 -0
  34. package/layout/template/PDC/Composite/Notification/Notification.d.ts +7 -0
  35. package/layout/template/PDC/Composite/Notification/index.d.ts +1 -0
  36. package/layout/template/PDC/Composite/Pagination/Arrow/Arrow.d.ts +7 -0
  37. package/layout/template/PDC/Composite/Pagination/Arrow/index.d.ts +1 -0
  38. package/layout/template/PDC/Composite/Pagination/Arrow/interfaces.d.ts +8 -0
  39. package/layout/template/PDC/Composite/Pagination/Layout/Layout.d.ts +7 -0
  40. package/layout/template/PDC/Composite/Pagination/Layout/index.d.ts +1 -0
  41. package/layout/template/PDC/Composite/Pagination/PageEllipses/PageEllipses.d.ts +7 -0
  42. package/layout/template/PDC/Composite/Pagination/PageEllipses/index.d.ts +1 -0
  43. package/layout/template/PDC/Composite/Pagination/PageEllipses/interfaces.d.ts +10 -0
  44. package/layout/template/PDC/Composite/Pagination/Pages/Pages.d.ts +7 -0
  45. package/layout/template/PDC/Composite/Pagination/Pages/index.d.ts +1 -0
  46. package/layout/template/PDC/Composite/Pagination/Pages/interfaces.d.ts +7 -0
  47. package/layout/template/PDC/Composite/Pagination/Pagination.d.ts +7 -0
  48. package/layout/template/PDC/Composite/Pagination/helpers.d.ts +12 -0
  49. package/layout/template/PDC/Composite/Pagination/index.d.ts +1 -0
  50. package/layout/template/PDC/Composite/Products/Products.d.ts +7 -0
  51. package/layout/template/PDC/Composite/Products/index.d.ts +1 -0
  52. package/layout/template/PDC/Composite/Spinner/index.d.ts +7 -0
  53. package/layout/template/PDC/PDC.d.ts +7 -0
  54. package/layout/template/PDC/index.d.ts +39 -0
  55. package/package.json +1 -1
  56. package/style.css +1 -1
  57. package/types/cms/Sections/EmbedLive/index.d.ts +13 -0
  58. package/types/cms/Sections/ProductCarousel/index.d.ts +36 -2
@@ -0,0 +1,4 @@
1
+ import { EmbedLiveProps } from 'libs/multi-lib/src/types/cms/Sections/EmbedLive';
2
+
3
+ declare const EmbedLive: ({ data }: EmbedLiveProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default EmbedLive;
@@ -0,0 +1,4 @@
1
+ import { ICommonShelf } from '../../../../types/cms/Sections/ProductCarousel';
2
+
3
+ declare const CollectionShelf: ({ collectionSearch, title, CONSTANTS, WishListToggle, }: ICommonShelf) => import("react/jsx-runtime").JSX.Element | null;
4
+ export default CollectionShelf;
@@ -0,0 +1,4 @@
1
+ import { IRecomendationShelf } from '../../../../types/cms/Sections/ProductCarousel';
2
+
3
+ declare const RecommendationShelf: ({ recommendationSearch, title, CONSTANTS, WishListToggle, }: IRecomendationShelf) => import("react/jsx-runtime").JSX.Element | null;
4
+ export default RecommendationShelf;
@@ -0,0 +1,4 @@
1
+ import { ProductCarouselProps, PDPProductCarouselProps } from '../../../types/cms/Sections/ProductCarousel';
2
+
3
+ export declare const PDPProductCarousel: ({ data, CONSTANTS, WishListToggle, }: PDPProductCarouselProps) => import("react/jsx-runtime").JSX.Element[];
4
+ export declare const ProductCarousel: ({ data, CONSTANTS, WishListToggle, }: ProductCarouselProps) => import("react/jsx-runtime").JSX.Element[];
@@ -0,0 +1,24 @@
1
+ type Params = {
2
+ count: number;
3
+ sort: string;
4
+ };
5
+ type CollectionSearchArgs = {
6
+ type: 'collectionSearch';
7
+ term?: string;
8
+ facets?: {
9
+ key: string;
10
+ value: string;
11
+ }[];
12
+ params?: Params;
13
+ };
14
+ type RecommendationSearchArgs = {
15
+ type: 'recommendationSearch';
16
+ facets?: {
17
+ key: 'whosawalsosaw' | 'whosawalsobought' | 'whoboughtalsobought' | 'accessories' | 'similars' | 'showtogether' | 'suggestions' | undefined;
18
+ value: string | undefined;
19
+ }[];
20
+ params?: Params;
21
+ };
22
+ type ProductsApiArgs = CollectionSearchArgs | RecommendationSearchArgs;
23
+ export declare const productsApi: (args: ProductsApiArgs) => Promise<any>;
24
+ export {};
package/cms/index.d.ts CHANGED
@@ -19,6 +19,9 @@ export declare const clientCMS: {
19
19
  NewsletterSection: ({ data: { componentIndex, ...props }, ClientNewsletterSection, }: import('../types/cms/Sections/Newsletter').NewsLetterSectionType & {
20
20
  ClientNewsletterSection: React.ComponentType<any>;
21
21
  }) => import("react/jsx-runtime").JSX.Element;
22
+ PDPProductCarousel: ({ data, CONSTANTS, WishListToggle, }: import('../types/cms/Sections/ProductCarousel').PDPProductCarouselProps) => import("react/jsx-runtime").JSX.Element[];
23
+ ProductCarousel: ({ data, CONSTANTS, WishListToggle, }: import('../types/cms/Sections/ProductCarousel').ProductCarouselProps) => import("react/jsx-runtime").JSX.Element[];
24
+ EmbedLive: ({ data }: import('../types/cms/Sections/EmbedLive').EmbedLiveProps) => import("react/jsx-runtime").JSX.Element;
22
25
  };
23
26
  helpers: typeof helpers;
24
27
  };
@@ -0,0 +1,3 @@
1
+ import { UseScrollRestorationProps } from '../../types/contexts/hooks';
2
+
3
+ export declare const useScrollRestoration: ({ productCount, searchParams, PLP_GRID_SCROLL_BACK }: UseScrollRestorationProps) => void;
@@ -0,0 +1,4 @@
1
+ import { UseScrollRestorationInfiniteProps } from '../../types/contexts/hooks';
2
+
3
+ export declare const useScrollRestorationInfinite: ({ pages, load, PLP_GRID_SCROLL_BACK }: UseScrollRestorationInfiniteProps) => void;
4
+ export default useScrollRestorationInfinite;