@soma-vertical-web/multi-lib 0.0.60 → 0.0.62
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/index.d.ts +0 -2
- package/data/helpers/product/orderSizes.d.ts +3 -0
- package/index-ASRiF3PD.js +1 -0
- package/index-BRfMTuMz.mjs +405 -0
- package/index-BzNV29ol.mjs +402 -0
- package/index-C5zOWvXN.js +1 -0
- package/index-CbOiLJQX.mjs +403 -0
- package/index-CiBRnp7U.js +1 -0
- package/index-D3ONVIla.mjs +412 -0
- package/index-DD12Nl4r.mjs +412 -0
- package/index-DJR4CcKO.mjs +398 -0
- package/index-DJeLEsRl.js +1 -0
- package/index-D__YfUie.js +1 -0
- package/index-drKDwA8_.js +1 -0
- package/index.js +28 -27
- package/index.mjs +7440 -5960
- package/index2.js +1 -1
- package/index2.mjs +545 -529
- package/layout/index.d.ts +1 -1
- package/layout/team-component/Header/index.d.ts +1 -1
- package/layout/team-component/ImageZoom/Composite/ButtonClose.d.ts +4 -0
- package/layout/team-component/ImageZoom/Composite/Common/BlurImage.d.ts +3 -0
- package/layout/team-component/ImageZoom/Composite/Desktop/ImageDesktop.d.ts +5 -0
- package/layout/team-component/ImageZoom/Composite/Desktop/ImagesThumbs.d.ts +5 -0
- package/layout/team-component/ImageZoom/Composite/Desktop/WrapperDesktop.d.ts +4 -0
- package/layout/team-component/ImageZoom/Composite/Mobile/Carousel.d.ts +7 -0
- package/layout/team-component/ImageZoom/Composite/Mobile/ImageMobile.d.ts +7 -0
- package/layout/team-component/ImageZoom/Composite/Mobile/ImageZoom.d.ts +7 -0
- package/layout/team-component/ImageZoom/Composite/Mobile/WrapperMobile.d.ts +4 -0
- package/layout/team-component/ImageZoom/Composite/Mobile/ZoomPopup.d.ts +7 -0
- package/layout/team-component/ImageZoom/ImageZoom.d.ts +7 -0
- package/layout/team-component/ImageZoom/index.d.ts +1 -0
- package/layout/team-component/Notify/Composite/Controls.d.ts +7 -0
- package/layout/team-component/Notify/Composite/Form.d.ts +7 -0
- package/layout/team-component/Notify/Composite/Loading.d.ts +7 -0
- package/layout/team-component/Notify/Composite/Selector.d.ts +7 -0
- package/layout/team-component/Notify/Composite/Status.d.ts +7 -0
- package/layout/team-component/Notify/helpers.d.ts +3 -0
- package/layout/team-component/Notify/index.d.ts +7 -0
- package/layout/team-component/Table/Composite/Head.d.ts +4 -0
- package/layout/team-component/Table/Composite/Root.d.ts +4 -0
- package/layout/team-component/Table/Composite/Rows.d.ts +4 -0
- package/layout/team-component/Table/Table.d.ts +6 -0
- package/layout/team-component/Table/index.d.ts +1 -0
- package/layout/template/PDP/Composite/BreadCrumb/index.d.ts +7 -0
- package/layout/template/PDP/Composite/Containers/Gallery.d.ts +3 -0
- package/layout/template/PDP/Composite/Containers/Main.d.ts +3 -0
- package/layout/template/PDP/Composite/Containers/PDP.d.ts +3 -0
- package/layout/template/PDP/Composite/Containers/Secondary.d.ts +3 -0
- package/layout/template/PDP/Composite/Containers/index.d.ts +6 -0
- package/layout/template/PDP/Composite/Credits/index.d.ts +7 -0
- package/layout/template/PDP/Composite/Gallery/Wrapper.d.ts +2 -2
- package/layout/template/PDP/Composite/Gallery/index.d.ts +1 -1
- package/layout/template/PDP/Composite/Info/Divider.d.ts +4 -0
- package/layout/template/PDP/Composite/Info/MainContent/Actions/AddToCart.d.ts +4 -0
- package/layout/template/PDP/Composite/Info/MainContent/Actions/AddToCartObserver.d.ts +6 -0
- package/layout/template/PDP/Composite/Info/MainContent/Actions/AddToWishlist.d.ts +4 -0
- package/layout/template/PDP/Composite/Info/MainContent/Actions/index.d.ts +4 -0
- package/layout/template/PDP/Composite/Info/MainContent/BottomNavigation/Actions.d.ts +4 -0
- package/layout/template/PDP/Composite/Info/MainContent/BottomNavigation/index.d.ts +4 -0
- package/layout/template/PDP/Composite/Info/MainContent/Header/index.d.ts +8 -0
- package/layout/template/PDP/Composite/Info/MainContent/Links/index.d.ts +4 -0
- package/layout/template/PDP/Composite/Info/MainContent/Price/index.d.ts +4 -0
- package/layout/template/PDP/Composite/Info/MainContent/ProductMeasurements/index.d.ts +4 -0
- package/layout/template/PDP/Composite/Info/MainContent/Root.d.ts +4 -0
- package/layout/template/PDP/Composite/Info/MainContent/Similars/AccessibilityInfo.d.ts +2 -0
- package/layout/template/PDP/Composite/Info/MainContent/Similars/Items.d.ts +4 -0
- package/layout/template/PDP/Composite/Info/MainContent/Similars/ToggleWrapper.d.ts +4 -0
- package/layout/template/PDP/Composite/Info/MainContent/Similars/index.d.ts +3 -0
- package/layout/template/PDP/Composite/Info/MainContent/Sizes/index.d.ts +4 -0
- package/layout/template/PDP/Composite/Info/MainContent/SubSectionWrapper.d.ts +4 -0
- package/layout/template/PDP/Composite/Info/Root.d.ts +6 -0
- package/layout/template/PDP/Composite/Info/SecondaryContent/DescriptionsTabs.d.ts +2 -0
- package/layout/template/PDP/Composite/Info/SecondaryContent/Freight.d.ts +4 -0
- package/layout/template/PDP/index.d.ts +18 -1
- package/layout/template/QuickShop/Composite/Body.d.ts +4 -0
- package/layout/template/QuickShop/Composite/Header.d.ts +3 -0
- package/layout/template/QuickShop/Composite/Similars.d.ts +7 -0
- package/layout/template/QuickShop/index.d.ts +3 -0
- package/package.json +1 -1
- package/server.d.ts +8 -1
- package/style.css +1 -1
- package/types/constants.d.ts +72 -7
- package/types/contexts/contexts/global.d.ts +1 -0
- package/types/contexts/contexts/pdp.d.ts +5 -46
- package/types/data/helpers/index.d.ts +6 -1
- package/types/layout/team-components/Header/index.d.ts +3 -2
- package/types/layout/team-components/ImageZoom/index.d.ts +36 -3
- package/types/layout/team-components/Notify/index.d.ts +22 -2
- package/types/layout/team-components/Table/index.d.ts +22 -0
- package/types/layout/templates/PDP/index.d.ts +144 -4
- package/types/layout/templates/QuickShop/index.d.ts +21 -0
package/layout/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export declare const layout: {
|
|
|
4
4
|
teamComponents: {
|
|
5
5
|
FreightCalculation: ({ className, sellerId, skuId, quantity, size, seller, local, CONSTANTS_PROPS, }: import('../types/layout/team-components/FreightCalculation').FreightCalculationProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
Header: {
|
|
7
|
-
({ tipBar, minicartStyleModifiers }: import('../types/layout/team-components/Header').HeaderContainerProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
({ tipBar, minicartStyleModifiers, menuV2 }: import('../types/layout/team-components/Header').HeaderContainerProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
displayName: string;
|
|
9
9
|
};
|
|
10
10
|
Link: ({ children, adornments, className, disableUnderline, href, mode, size, title, onClick, disablePadding, ...props }: import('./team-component/Link/interfaces').TeamLinkProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HeaderContainerProps } from '../../../types/layout/team-components/Header';
|
|
2
2
|
|
|
3
3
|
declare const Header: {
|
|
4
|
-
({ tipBar, minicartStyleModifiers }: HeaderContainerProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
({ tipBar, minicartStyleModifiers, menuV2 }: HeaderContainerProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Header;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CarouselProps } from '../../../../../types/layout/team-components/ImageZoom';
|
|
2
|
+
|
|
3
|
+
declare const Carousel: {
|
|
4
|
+
({ images, setCurrent, setFirstImgLoaded, ICONS, PRODUCT_IMAGE_DIMENSIONS }: CarouselProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default Carousel;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ImageZoomMobileProps } from '../../../../../types/layout/team-components/ImageZoom';
|
|
2
|
+
|
|
3
|
+
declare const ImageMobile: {
|
|
4
|
+
({ images, ICONS, PRODUCT_IMAGE_DIMENSIONS, ...props }: ImageZoomMobileProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default ImageMobile;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ImageMobileProps } from '../../../../../types/layout/team-components/ImageZoom';
|
|
2
|
+
|
|
3
|
+
declare const ImageZoom: {
|
|
4
|
+
({ imgRef, image, PRODUCT_IMAGE_DIMENSIONS }: ImageMobileProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default ImageZoom;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ImageZoomRootProps } from '../../../types/layout/team-components/ImageZoom';
|
|
2
|
+
|
|
3
|
+
declare const ImageZoom: {
|
|
4
|
+
({ images, initialSelectedImageIndex, setShowImageZoom, ICONS, PRODUCT_IMAGE_DIMENSIONS, Z_INDEX_WAR, ...OTHERCONSTANTS }: ImageZoomRootProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default ImageZoom;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ImageZoom';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FormProps } from '../../../../types/layout/team-components/Notify';
|
|
2
|
+
|
|
3
|
+
declare const Form: {
|
|
4
|
+
({ color, delay, sku, setStatus, setIsLoading, NEWSLETTER_CONFIGS, NOTIFY_INFO }: FormProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default Form;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AvailabilityNotifyProps } from '../../../types/layout/team-components/Notify';
|
|
2
|
+
|
|
3
|
+
declare const AvailabilityNotify: {
|
|
4
|
+
({ color, open, setVisible, skus, sku, setSku, ICONS, NEWSLETTER_CONFIGS, NOTIFY_INFO, PRODUCT_CARD_TEXTS, Z_INDEX_WAR }: AvailabilityNotifyProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default AvailabilityNotify;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const Table: {
|
|
2
|
+
Head: ({ head, className, }: import('../../../types/layout/team-components/Table').HeadProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
Rows: ({ rows, className, }: import('../../../types/layout/team-components/Table').RowsProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
Root: ({ children, className, }: import('../../../types/layout/team-components/Table').RootProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
};
|
|
6
|
+
export default Table;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Table';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const containers: {
|
|
2
|
+
gallery: ({ children, className, ...props }: import('../../../../../types/layout/templates/PDP').PDPCommonContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
pdp: ({ children, className, ...props }: import('../../../../../types/layout/templates/PDP').PDPCommonContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
main: ({ children, className, ...props }: import('../../../../../types/layout/templates/PDP').PDPCommonContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
secondary: ({ children, className, ...props }: import('../../../../../types/layout/templates/PDP').PDPCommonContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GalleryWrapperProps } from '../../../../../types/
|
|
1
|
+
import { GalleryWrapperProps } from '../../../../../types/layout/templates/PDP/index';
|
|
2
2
|
|
|
3
|
-
declare const GalleryWrapper: ({ productImgs, PRODUCT_IMAGE_DIMENSIONS,
|
|
3
|
+
declare const GalleryWrapper: ({ productImgs, PRODUCT_IMAGE_DIMENSIONS, ...OTHERCONSTANTS }: GalleryWrapperProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default GalleryWrapper;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GalleryProps } from '../../../../../types/layout/templates/PDP';
|
|
2
2
|
|
|
3
3
|
declare const Gallery: {
|
|
4
|
-
({ TEXTURE_IMAGE, PRODUCT_IMAGE_DIMENSIONS,
|
|
4
|
+
({ TEXTURE_IMAGE, PRODUCT_IMAGE_DIMENSIONS, ...OTHERCONSTANTS }: GalleryProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Gallery;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { AddToCartProps } from '../../../../../../../types/layout/templates/PDP';
|
|
2
|
+
|
|
3
|
+
declare const AddToCart: ({ onAddCallBack, onDisabledClickCallBack, addToCartBtnSize, BUY_BUTTON_LABELS }: AddToCartProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default AddToCart;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Dispatch, PropsWithChildren, SetStateAction } from 'react';
|
|
2
|
+
|
|
3
|
+
declare const AddToCartObserver: ({ children, setShowBottomNavigation, }: PropsWithChildren<{
|
|
4
|
+
setShowBottomNavigation: Dispatch<SetStateAction<boolean>>;
|
|
5
|
+
}>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default AddToCartObserver;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { PDPActionsProps } from '../../../../../../../types/layout/templates/PDP';
|
|
2
|
+
|
|
3
|
+
declare const PDPActions: ({ showWishlist, callBack, addToCartBtnSize, BUY_BUTTON_LABELS, ICONS, Z_INDEX_WAR }: PDPActionsProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default PDPActions;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { BottomNavigationProps } from '../../../../../../../types/layout/templates/PDP';
|
|
2
|
+
|
|
3
|
+
declare const BottomNavigation: ({ addToCartBtnSize, BUY_BUTTON_LABELS, Z_INDEX_WAR }: BottomNavigationProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
4
|
+
export default BottomNavigation;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { PDPSimilarsType } from '../../../../../../../types/layout/templates/PDP';
|
|
2
|
+
|
|
3
|
+
export declare const PDPSimilars: ({ children, apiUrl, productId, ClientItems, PDP_INFO, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER }: PDPSimilarsType) => Promise<import("react/jsx-runtime").JSX.Element>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { PDPSizesProps } from '../../../../../../../types/layout/templates/PDP';
|
|
2
|
+
|
|
3
|
+
declare const PDPSizes: ({ PDP_INFO, PLP_SIZE_ORDER, ICONS, NEWSLETTER_CONFIGS, NOTIFY_INFO, PRODUCT_CARD_TEXTS, Z_INDEX_WAR }: PDPSizesProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default PDPSizes;
|
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
import { default as AccessibilityInfo } from './Composite/Info/MainContent/Similars/AccessibilityInfo';
|
|
2
|
+
import { default as Actions } from './Composite/Info/MainContent/Actions';
|
|
3
|
+
import { default as BreadCrumb } from './Composite/BreadCrumb';
|
|
4
|
+
import { default as Credits } from './Composite/Credits';
|
|
5
|
+
import { default as DescriptionsTabs } from './Composite/Info/SecondaryContent/DescriptionsTabs';
|
|
6
|
+
import { default as Freight } from './Composite/Info/SecondaryContent/Freight';
|
|
1
7
|
import { default as Gallery } from './Composite/Gallery';
|
|
8
|
+
import { default as Header } from './Composite/Info/MainContent/Header';
|
|
9
|
+
import { default as Links } from './Composite/Info/MainContent/Links';
|
|
10
|
+
import { default as MainContent } from './Composite/Info/MainContent/Root';
|
|
11
|
+
import { default as MainInfo } from './Composite/Info/Root';
|
|
12
|
+
import { default as Price } from './Composite/Info/MainContent/Price';
|
|
13
|
+
import { default as ProductMeasurements } from './Composite/Info/MainContent/ProductMeasurements';
|
|
14
|
+
import { default as SimilarsItems } from './Composite/Info/MainContent/Similars/Items';
|
|
15
|
+
import { default as Sizes } from './Composite/Info/MainContent/Sizes';
|
|
16
|
+
import { default as SubSectionWrapper } from './Composite/Info/MainContent/SubSectionWrapper';
|
|
17
|
+
import { containers } from './Composite/Containers';
|
|
18
|
+
import { default as Divider } from './Composite/Info/Divider';
|
|
2
19
|
|
|
3
|
-
export { Gallery, };
|
|
20
|
+
export { AccessibilityInfo, Actions, BreadCrumb, Credits, DescriptionsTabs, Divider, Freight, Gallery, Header, Links, MainContent, MainInfo, Price, ProductMeasurements, SimilarsItems, Sizes, SubSectionWrapper, containers };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { BodyProps } from '../../../../types/layout/templates/QuickShop';
|
|
2
|
+
|
|
3
|
+
declare const Body: ({ callBackProductAdded, BUY_BUTTON_LABELS, ICONS, NEWSLETTER_CONFIGS, NOTIFY_INFO, PDP_INFO, PLP_SIZE_ORDER, PRODUCT_CARD_TEXTS, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER, Z_INDEX_WAR }: BodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default Body;
|
package/package.json
CHANGED
package/server.d.ts
CHANGED
|
@@ -32,4 +32,11 @@ declare const serverHelpers: {
|
|
|
32
32
|
};
|
|
33
33
|
product: typeof productHelpers;
|
|
34
34
|
};
|
|
35
|
-
|
|
35
|
+
declare const serverComponents: {
|
|
36
|
+
template: {
|
|
37
|
+
pdp: {
|
|
38
|
+
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>;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export { serverAPIs, serverHelpers, serverCMS, serverComponents };
|