@soma-vertical-web/multi-lib 0.0.62 → 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.
- package/cms/ContentTypes/HelpButton/FormatHelpButtonContent.d.ts +13 -0
- package/cms/ContentTypes/HelpButton/HelpButtonContent.d.ts +3 -0
- package/cms/ContentTypes/Search/SearchContent.d.ts +1 -1
- package/cms/Sections/EmbedLive/Component.d.ts +4 -0
- package/cms/Sections/ProductCarousel/Composite/CommonShelf.d.ts +4 -0
- package/cms/Sections/ProductCarousel/Composite/RecommendationShelf.d.ts +4 -0
- package/cms/Sections/ProductCarousel/ProductCarousel.d.ts +4 -0
- package/cms/Sections/ProductCarousel/request.d.ts +24 -0
- package/cms/index.d.ts +4 -1
- package/cms/server.d.ts +1 -0
- package/contexts/hooks/useScrollRestoration.d.ts +3 -0
- package/contexts/hooks/useScrollRestorationInfinite.d.ts +4 -0
- package/index.js +16 -16
- package/index.mjs +5467 -5053
- package/index2.js +1 -1
- package/index2.mjs +875 -824
- package/layout/index.d.ts +1 -0
- package/layout/team-component/BuyPackage/helpers.d.ts +1 -1
- package/layout/team-component/HelpButton/Composite/Body.d.ts +4 -0
- package/layout/team-component/HelpButton/Composite/CallToAction.d.ts +7 -0
- package/layout/team-component/HelpButton/Composite/Wrapper.d.ts +4 -0
- package/layout/team-component/HelpButton/HelpButton.d.ts +4 -0
- package/layout/team-component/HelpButton/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Empty/Empty.d.ts +7 -0
- package/layout/template/PDC/Composite/Empty/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Filters/Filters.d.ts +7 -0
- package/layout/template/PDC/Composite/Filters/helpers.d.ts +4 -0
- package/layout/template/PDC/Composite/Filters/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Grid/Banners.d.ts +7 -0
- package/layout/template/PDC/Composite/Grid/Grid.d.ts +7 -0
- package/layout/template/PDC/Composite/Grid/NavigationTotal.d.ts +8 -0
- package/layout/template/PDC/Composite/Grid/index.d.ts +1 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Banners/Banners.d.ts +7 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Banners/index.d.ts +1 -0
- package/layout/template/PDC/Composite/InfiniteScroller/InfiniteScroller.d.ts +7 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Loading/Loading.d.ts +7 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Loading/index.d.ts +1 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Page/Composite/Anchor.d.ts +7 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Page/Composite/Card.d.ts +7 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Page/Composite/Loader.d.ts +9 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Page/Composite/NextPage.d.ts +7 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Page/Page.d.ts +7 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Page/index.d.ts +21 -0
- package/layout/template/PDC/Composite/InfiniteScroller/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Navigation/Navigation.d.ts +7 -0
- package/layout/template/PDC/Composite/Navigation/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Notification/Notification.d.ts +7 -0
- package/layout/template/PDC/Composite/Notification/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Pagination/Arrow/Arrow.d.ts +7 -0
- package/layout/template/PDC/Composite/Pagination/Arrow/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Pagination/Arrow/interfaces.d.ts +8 -0
- package/layout/template/PDC/Composite/Pagination/Layout/Layout.d.ts +7 -0
- package/layout/template/PDC/Composite/Pagination/Layout/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Pagination/PageEllipses/PageEllipses.d.ts +7 -0
- package/layout/template/PDC/Composite/Pagination/PageEllipses/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Pagination/PageEllipses/interfaces.d.ts +10 -0
- package/layout/template/PDC/Composite/Pagination/Pages/Pages.d.ts +7 -0
- package/layout/template/PDC/Composite/Pagination/Pages/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Pagination/Pages/interfaces.d.ts +7 -0
- package/layout/template/PDC/Composite/Pagination/Pagination.d.ts +7 -0
- package/layout/template/PDC/Composite/Pagination/helpers.d.ts +12 -0
- package/layout/template/PDC/Composite/Pagination/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Products/Products.d.ts +7 -0
- package/layout/template/PDC/Composite/Products/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Spinner/index.d.ts +7 -0
- package/layout/template/PDC/PDC.d.ts +7 -0
- package/layout/template/PDC/index.d.ts +39 -0
- package/package.json +1 -1
- package/style.css +1 -1
- package/types/cms/ContentTypes/HelpButton/index.d.ts +17 -6
- package/types/cms/Sections/EmbedLive/index.d.ts +13 -0
- package/types/cms/Sections/ProductCarousel/index.d.ts +36 -2
- package/types/layout/team-components/HelpButton/index.d.ts +9 -3
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IContentTypeResponseBase } from '../../../types/cms/Factories';
|
|
2
|
+
|
|
3
|
+
export declare const formatHelpButtonContent: (data: IContentTypeResponseBase[]) => {
|
|
4
|
+
iconLabel: string;
|
|
5
|
+
label: string;
|
|
6
|
+
content: never[];
|
|
7
|
+
helpButtonSize?: undefined;
|
|
8
|
+
} | {
|
|
9
|
+
iconLabel: any;
|
|
10
|
+
label: any;
|
|
11
|
+
helpButtonSize: any;
|
|
12
|
+
content: any;
|
|
13
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SearchContentProps } from '../../../types/cms/ContentTypes/Search';
|
|
2
2
|
|
|
3
|
-
export declare const SearchContent: ({ SectionZone, CMS_PROJECT_NAME, storeId, previewId }: SearchContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const SearchContent: ({ SectionZone, CMS_PROJECT_NAME, storeId, previewId, }: SearchContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -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
|
@@ -15,10 +15,13 @@ export declare const clientCMS: {
|
|
|
15
15
|
TipbarScreening: ({ CONSTANTS, data }: import('../types/cms/ContentTypes/Tipbar').TipbarScreeningProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
ImageGrid: (data: import('../types/cms/Sections/ImageGrid').ImageGridSectionType) => import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
SearchPageScreening: ({ children, data, SectionZone, className, }: import('../types/cms/ContentTypes/Search').SearchPageScrenningProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
SearchContent: ({ SectionZone, CMS_PROJECT_NAME, storeId, previewId }: import('../types/cms/ContentTypes/Search').SearchContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
SearchContent: ({ SectionZone, CMS_PROJECT_NAME, storeId, previewId, }: import('../types/cms/ContentTypes/Search').SearchContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
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
|
};
|
package/cms/server.d.ts
CHANGED
|
@@ -37,5 +37,6 @@ export declare const serverCMS: {
|
|
|
37
37
|
description: string;
|
|
38
38
|
} | null>;
|
|
39
39
|
SearchPageContent: ({ children, SectionZone, className, ...props }: import('../types/cms/ContentTypes/Search').SearchPageContentProps) => Promise<import("react/jsx-runtime").JSX.Element>;
|
|
40
|
+
HelpButtonContent: ({ HelpButton, ICONS, className, ...props }: import('../types/cms/ContentTypes/HelpButton').HelpButtonContentProps) => Promise<import("react/jsx-runtime").JSX.Element>;
|
|
40
41
|
};
|
|
41
42
|
};
|