@soma-vertical-web/multi-lib 1.0.19 → 1.0.20
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/contexts/contexts/plp/FilterContext.d.ts +1 -1
- package/contexts/contexts/plp/PLPContext.d.ts +1 -1
- package/contexts/contexts/search/Facets.d.ts +1 -1
- package/contexts/contexts/search/Search.d.ts +1 -1
- package/contexts/hooks/useSimilars.d.ts +7 -0
- package/contexts/index.d.ts +4 -4
- package/data/helpers/plp/index.d.ts +2 -2
- package/data/helpers/search/facets.d.ts +0 -1
- package/data/helpers/search/index.d.ts +0 -4
- package/data/helpers/search/search.d.ts +0 -1
- package/data/index.d.ts +0 -2
- package/index-CpUjW-m9.mjs +1877 -0
- package/index-xWhZ_YcF.js +4 -0
- package/index.js +17 -17
- package/index.mjs +8437 -10416
- package/index2.js +1 -1
- package/index2.mjs +613 -685
- package/layout/index.d.ts +3 -3
- package/layout/template/PDC/Composite/Pagination/Pagination.d.ts +1 -1
- package/layout/template/PDC/Composite/Products/Products.d.ts +1 -1
- package/layout/template/PDC/PDC.d.ts +1 -1
- package/layout/template/PDC/index.d.ts +2 -2
- package/layout/template/PDP/Composite/Info/MainContent/Similars/index.d.ts +1 -1
- package/layout/template/PDP/index.d.ts +2 -2
- package/package.json +1 -1
- package/server.d.ts +1 -7
- package/style.css +1 -1
- package/types/cms/Sections/SectionZone/index.d.ts +1 -0
- package/types/contexts/contexts/plp.d.ts +9 -42
- package/types/contexts/contexts/search.d.ts +15 -34
- package/types/contexts/hooks/index.d.ts +12 -0
- package/types/layout/team-components/PLPNavigation/index.d.ts +2 -0
- package/types/layout/team-components/ProductCard/index.d.ts +1 -0
- package/types/layout/team-components/ProductList/index.d.ts +2 -1
- package/types/layout/templates/PDP/index.d.ts +1 -2
- package/types/layout/templates/PLP/index.d.ts +3 -2
package/layout/index.d.ts
CHANGED
|
@@ -260,7 +260,7 @@ export declare const layout: {
|
|
|
260
260
|
};
|
|
261
261
|
};
|
|
262
262
|
pdc: {
|
|
263
|
-
({ className }: import('../types/layout/templates/PLP').PLPRootProps): import("react/jsx-runtime").JSX.Element;
|
|
263
|
+
({ className, ...props }: import('../types/layout/templates/PLP').PLPRootProps): import("react/jsx-runtime").JSX.Element;
|
|
264
264
|
displayName: string;
|
|
265
265
|
};
|
|
266
266
|
pdc_composites: {
|
|
@@ -293,11 +293,11 @@ 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;
|
|
297
297
|
displayName: string;
|
|
298
298
|
};
|
|
299
299
|
Products: {
|
|
300
|
-
({ 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, }: import('../types/layout/templates/PLP').ProductsProps): import("react/jsx-runtime").JSX.Element;
|
|
300
|
+
({ 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, storeId, }: import('../types/layout/templates/PLP').ProductsProps): import("react/jsx-runtime").JSX.Element;
|
|
301
301
|
displayName: string;
|
|
302
302
|
};
|
|
303
303
|
};
|
|
@@ -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;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Pagination;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ProductsProps } from '../../../../../types/layout/templates/PLP';
|
|
2
2
|
|
|
3
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;
|
|
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, storeId, }: 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
|
-
({ className }: 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;
|
|
@@ -28,11 +28,11 @@ 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;
|
|
32
32
|
displayName: string;
|
|
33
33
|
};
|
|
34
34
|
Products: {
|
|
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, 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, }: 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, 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, storeId, }: import('../../../types/layout/templates/PLP').ProductsProps): import("react/jsx-runtime").JSX.Element;
|
|
36
36
|
displayName: string;
|
|
37
37
|
};
|
|
38
38
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PDPSimilarsType } from '../../../../../../../types/layout/templates/PDP';
|
|
2
2
|
|
|
3
|
-
export declare const PDPSimilars: ({ children,
|
|
3
|
+
export declare const PDPSimilars: ({ children, storeId, productId, PDP_INFO, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER, }: PDPSimilarsType) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PDPSimilars } from './Composite/Info/MainContent/Similars/index';
|
|
1
2
|
import { default as AccessibilityInfo } from './Composite/Info/MainContent/Similars/AccessibilityInfo';
|
|
2
3
|
import { default as Actions } from './Composite/Info/MainContent/Actions';
|
|
3
4
|
import { default as BreadCrumb } from './Composite/BreadCrumb';
|
|
@@ -11,11 +12,10 @@ import { default as MainContent } from './Composite/Info/MainContent/Root';
|
|
|
11
12
|
import { default as MainInfo } from './Composite/Info/Root';
|
|
12
13
|
import { default as Price } from './Composite/Info/MainContent/Price';
|
|
13
14
|
import { default as ProductMeasurements } from './Composite/Info/MainContent/ProductMeasurements';
|
|
14
|
-
import { default as SimilarsItems } from './Composite/Info/MainContent/Similars/Items';
|
|
15
15
|
import { default as Sizes } from './Composite/Info/MainContent/Sizes';
|
|
16
16
|
import { default as SubSectionWrapper } from './Composite/Info/MainContent/SubSectionWrapper';
|
|
17
17
|
import { containers } from './Composite/Containers';
|
|
18
18
|
import { default as Divider } from './Composite/Info/Divider';
|
|
19
19
|
import { default as GoldenTag } from './Composite/Info/MainContent/Header/GoldenTag';
|
|
20
20
|
|
|
21
|
-
export { AccessibilityInfo, Actions, BreadCrumb, Credits, DescriptionsTabs, Divider, Freight, Gallery, GoldenTag, Header, Links, MainContent, MainInfo, Price, ProductMeasurements,
|
|
21
|
+
export { AccessibilityInfo, Actions, BreadCrumb, Credits, DescriptionsTabs, Divider, Freight, Gallery, GoldenTag, Header, Links, MainContent, MainInfo, Price, ProductMeasurements, Sizes, SubSectionWrapper, PDPSimilars, containers, };
|
package/package.json
CHANGED
package/server.d.ts
CHANGED
|
@@ -28,10 +28,6 @@ declare const serverHelpers: {
|
|
|
28
28
|
value: string;
|
|
29
29
|
key: string;
|
|
30
30
|
}[];
|
|
31
|
-
selectedFacets: (facets: string[]) => {
|
|
32
|
-
key: string;
|
|
33
|
-
value: string;
|
|
34
|
-
}[];
|
|
35
31
|
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>[];
|
|
36
32
|
};
|
|
37
33
|
product: typeof productHelpers;
|
|
@@ -54,9 +50,7 @@ declare const serverHelpers: {
|
|
|
54
50
|
};
|
|
55
51
|
declare const serverComponents: {
|
|
56
52
|
template: {
|
|
57
|
-
pdp: {
|
|
58
|
-
PDPSimilars: ({ children, apiUrl, productId, ClientItems, PDP_INFO, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER }: import('./types/layout/templates/PDP').PDPSimilarsType) => Promise<import("react/jsx-runtime").JSX.Element>;
|
|
59
|
-
};
|
|
53
|
+
pdp: {};
|
|
60
54
|
};
|
|
61
55
|
};
|
|
62
56
|
export { serverAPIs, serverHelpers, serverCMS, serverComponents };
|