@soma-vertical-web/multi-lib 0.0.59 → 0.0.61

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 (77) hide show
  1. package/data/helpers/product/orderSizes.d.ts +3 -0
  2. package/index-ASRiF3PD.js +1 -0
  3. package/index-BRfMTuMz.mjs +405 -0
  4. package/index-BzNV29ol.mjs +402 -0
  5. package/index-C5zOWvXN.js +1 -0
  6. package/index-CbOiLJQX.mjs +403 -0
  7. package/index-CiBRnp7U.js +1 -0
  8. package/index-D3ONVIla.mjs +412 -0
  9. package/index-DJR4CcKO.mjs +398 -0
  10. package/index-D__YfUie.js +1 -0
  11. package/index-drKDwA8_.js +1 -0
  12. package/index.js +9 -9
  13. package/index.mjs +1349 -1367
  14. package/layout/index.d.ts +1 -1
  15. package/layout/team-component/Header/index.d.ts +1 -1
  16. package/layout/team-component/ImageZoom/Composite/ButtonClose.d.ts +4 -0
  17. package/layout/team-component/ImageZoom/Composite/Common/BlurImage.d.ts +3 -0
  18. package/layout/team-component/ImageZoom/Composite/Desktop/ImageDesktop.d.ts +5 -0
  19. package/layout/team-component/ImageZoom/Composite/Desktop/ImagesThumbs.d.ts +5 -0
  20. package/layout/team-component/ImageZoom/Composite/Desktop/WrapperDesktop.d.ts +4 -0
  21. package/layout/team-component/ImageZoom/Composite/Mobile/Carousel.d.ts +7 -0
  22. package/layout/team-component/ImageZoom/Composite/Mobile/ImageMobile.d.ts +7 -0
  23. package/layout/team-component/ImageZoom/Composite/Mobile/ImageZoom.d.ts +7 -0
  24. package/layout/team-component/ImageZoom/Composite/Mobile/WrapperMobile.d.ts +4 -0
  25. package/layout/team-component/ImageZoom/Composite/Mobile/ZoomPopup.d.ts +7 -0
  26. package/layout/team-component/ImageZoom/ImageZoom.d.ts +7 -0
  27. package/layout/team-component/ImageZoom/index.d.ts +1 -0
  28. package/layout/team-component/Notify/Composite/Controls.d.ts +7 -0
  29. package/layout/team-component/Notify/Composite/Form.d.ts +7 -0
  30. package/layout/team-component/Notify/Composite/Loading.d.ts +7 -0
  31. package/layout/team-component/Notify/Composite/Selector.d.ts +7 -0
  32. package/layout/team-component/Notify/Composite/Status.d.ts +7 -0
  33. package/layout/team-component/Notify/helpers.d.ts +3 -0
  34. package/layout/team-component/Notify/index.d.ts +7 -0
  35. package/layout/team-component/Table/Composite/Head.d.ts +4 -0
  36. package/layout/team-component/Table/Composite/Root.d.ts +4 -0
  37. package/layout/team-component/Table/Composite/Rows.d.ts +4 -0
  38. package/layout/team-component/Table/Table.d.ts +6 -0
  39. package/layout/team-component/Table/index.d.ts +1 -0
  40. package/layout/template/PDP/Composite/BreadCrumb/index.d.ts +7 -0
  41. package/layout/template/PDP/Composite/Containers/Gallery.d.ts +3 -0
  42. package/layout/template/PDP/Composite/Containers/Main.d.ts +3 -0
  43. package/layout/template/PDP/Composite/Containers/PDP.d.ts +3 -0
  44. package/layout/template/PDP/Composite/Containers/Secondary.d.ts +3 -0
  45. package/layout/template/PDP/Composite/Containers/index.d.ts +6 -0
  46. package/layout/template/PDP/Composite/Credits/index.d.ts +7 -0
  47. package/layout/template/PDP/Composite/Info/Divider.d.ts +4 -0
  48. package/layout/template/PDP/Composite/Info/MainContent/Actions/AddToCart.d.ts +4 -0
  49. package/layout/template/PDP/Composite/Info/MainContent/Actions/AddToCartObserver.d.ts +6 -0
  50. package/layout/template/PDP/Composite/Info/MainContent/Actions/AddToWishlist.d.ts +4 -0
  51. package/layout/template/PDP/Composite/Info/MainContent/Actions/index.d.ts +4 -0
  52. package/layout/template/PDP/Composite/Info/MainContent/BottomNavigation/Actions.d.ts +4 -0
  53. package/layout/template/PDP/Composite/Info/MainContent/BottomNavigation/index.d.ts +4 -0
  54. package/layout/template/PDP/Composite/Info/MainContent/Header/index.d.ts +8 -0
  55. package/layout/template/PDP/Composite/Info/MainContent/Links/index.d.ts +4 -0
  56. package/layout/template/PDP/Composite/Info/MainContent/Price/index.d.ts +4 -0
  57. package/layout/template/PDP/Composite/Info/MainContent/ProductMeasurements/index.d.ts +4 -0
  58. package/layout/template/PDP/Composite/Info/MainContent/Root.d.ts +4 -0
  59. package/layout/template/PDP/Composite/Info/MainContent/Similars/AccessibilityInfo.d.ts +2 -0
  60. package/layout/template/PDP/Composite/Info/MainContent/Similars/Items.d.ts +4 -0
  61. package/layout/template/PDP/Composite/Info/MainContent/Similars/ToggleWrapper.d.ts +4 -0
  62. package/layout/template/PDP/Composite/Info/MainContent/Similars/index.d.ts +3 -0
  63. package/layout/template/PDP/Composite/Info/MainContent/Sizes/index.d.ts +4 -0
  64. package/layout/template/PDP/Composite/Info/MainContent/SubSectionWrapper.d.ts +4 -0
  65. package/layout/template/PDP/Composite/Info/Root.d.ts +6 -0
  66. package/layout/template/PDP/Composite/Info/SecondaryContent/DescriptionsTabs.d.ts +2 -0
  67. package/layout/template/PDP/Composite/Info/SecondaryContent/Freight.d.ts +4 -0
  68. package/layout/template/QuickShop/Composite/Body.d.ts +4 -0
  69. package/layout/template/QuickShop/Composite/Header.d.ts +3 -0
  70. package/layout/template/QuickShop/Composite/Similars.d.ts +7 -0
  71. package/layout/template/QuickShop/index.d.ts +3 -0
  72. package/package.json +1 -1
  73. package/types/constants.d.ts +21 -1
  74. package/types/contexts/contexts/global.d.ts +1 -0
  75. package/types/layout/team-components/Header/index.d.ts +3 -2
  76. package/types/layout/team-components/Table/index.d.ts +22 -0
  77. 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,4 @@
1
+ import { ButtonCloseProps } from '../../../../types/layout/team-components/ImageZoom';
2
+
3
+ declare const ButtonClose: React.FC<ButtonCloseProps>;
4
+ export default ButtonClose;
@@ -0,0 +1,3 @@
1
+ import { BlurImageProps } from '../../../../../types/layout/team-components/ImageZoom';
2
+
3
+ export declare const BlurImage: ({ image }: BlurImageProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ import { ImageDesktopProps } from '../../../../../types/layout/team-components/ImageZoom';
3
+
4
+ declare const ImageDesktop: React.FC<ImageDesktopProps>;
5
+ export default ImageDesktop;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ import { ImagesThumbsProps } from '../../../../../types/layout/team-components/ImageZoom';
3
+
4
+ declare const ImagesThumbs: React.FC<ImagesThumbsProps>;
5
+ export default ImagesThumbs;
@@ -0,0 +1,4 @@
1
+ import { WrapperDesktopProps } from '../../../../../types/layout/team-components/ImageZoom';
2
+
3
+ declare const WrapperDesktop: React.FC<WrapperDesktopProps>;
4
+ export default WrapperDesktop;
@@ -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,4 @@
1
+ import { MobileWrapperProps } from '../../../../../types/layout/team-components/ImageZoom';
2
+
3
+ declare const WrapperMobile: React.FC<MobileWrapperProps>;
4
+ export default WrapperMobile;
@@ -0,0 +1,7 @@
1
+ declare const ZoomPopup: {
2
+ ({ loaded }: {
3
+ loaded?: boolean;
4
+ }): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
7
+ export default ZoomPopup;
@@ -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 { ControlProps } from '../../../../types/layout/team-components/Notify';
2
+
3
+ declare const Controls: {
4
+ ({ isMobile, ICONS, NOTIFY_INFO }: ControlProps): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
7
+ export default Controls;
@@ -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
+ declare const Loading: {
2
+ ({ isLoading }: {
3
+ isLoading?: boolean;
4
+ }): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
7
+ export default Loading;
@@ -0,0 +1,7 @@
1
+ import { SelectorProps } from '../../../../types/layout/team-components/Notify';
2
+
3
+ declare const Selector: {
4
+ ({ children, label, skus, sku, setSku, }: SelectorProps): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
7
+ export default Selector;
@@ -0,0 +1,7 @@
1
+ import { StatusProps } from '../../../../types/layout/team-components/Notify';
2
+
3
+ declare const Status: {
4
+ ({ status, ICONS, PRODUCT_CARD_TEXTS }: StatusProps): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
7
+ export default Status;
@@ -0,0 +1,3 @@
1
+ import { SKU } from '../../../types/layout/team-components/Notify';
2
+
3
+ export declare const equalSKU: (a?: SKU | null, b?: SKU | null) => boolean;
@@ -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,4 @@
1
+ import { HeadProps } from '../../../../types/layout/team-components/Table';
2
+
3
+ declare const Head: ({ head, className, }: HeadProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default Head;
@@ -0,0 +1,4 @@
1
+ import { RootProps } from '../../../../types/layout/team-components/Table';
2
+
3
+ declare const Root: ({ children, className, }: RootProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default Root;
@@ -0,0 +1,4 @@
1
+ import { RowsProps } from '../../../../types/layout/team-components/Table';
2
+
3
+ declare const Rows: ({ rows, className, }: RowsProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default Rows;
@@ -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,7 @@
1
+ import { BreadCrumbProps } from '../../../../../types/layout/templates/PDP';
2
+
3
+ declare const BreadCrumb: {
4
+ ({ className, device, ICONS }: BreadCrumbProps): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
7
+ export default BreadCrumb;
@@ -0,0 +1,3 @@
1
+ import { PDPCommonContainerProps } from '../../../../../types/layout/templates/PDP';
2
+
3
+ export declare const GalleryContainer: ({ children, className, ...props }: PDPCommonContainerProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { PDPCommonContainerProps } from '../../../../../types/layout/templates/PDP';
2
+
3
+ export declare const MainContainer: ({ children, className, ...props }: PDPCommonContainerProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { PDPCommonContainerProps } from '../../../../../types/layout/templates/PDP';
2
+
3
+ export declare const PDPContainer: ({ children, className, ...props }: PDPCommonContainerProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { PDPCommonContainerProps } from '../../../../../types/layout/templates/PDP';
2
+
3
+ export declare const SecondaryContainer: ({ children, className, ...props }: PDPCommonContainerProps) => import("react/jsx-runtime").JSX.Element;
@@ -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
+ };
@@ -0,0 +1,7 @@
1
+ import { CreditsProps } from '../../../../../types/layout/templates/PDP';
2
+
3
+ declare const PDPCredits: {
4
+ ({ className }: CreditsProps): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
7
+ export default PDPCredits;
@@ -0,0 +1,4 @@
1
+ import { DividerProps } from '@soma-vertical-web/core-components/src/lib/Utils/interfaces';
2
+
3
+ declare const PDPDivider: ({ className, ...props }: DividerProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default PDPDivider;
@@ -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 { AddToWishlistProps } from '../../../../../../../types/layout/templates/PDP';
2
+
3
+ declare const AddToWishlist: ({ ICONS }: AddToWishlistProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default AddToWishlist;
@@ -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 { BottomNavigationActionsProps } from '../../../../../../../types/layout/templates/PDP';
2
+
3
+ declare const Actions: ({ addToCartBtnSize, BUY_BUTTON_LABELS }: BottomNavigationActionsProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default Actions;
@@ -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,8 @@
1
+ declare const PDPHeader: {
2
+ ({ className, titleId, }: {
3
+ className?: string;
4
+ titleId?: string;
5
+ }): import("react/jsx-runtime").JSX.Element;
6
+ displayName: string;
7
+ };
8
+ export default PDPHeader;
@@ -0,0 +1,4 @@
1
+ import { PDPLinksProps } from '../../../../../../../types/layout/templates/PDP';
2
+
3
+ declare const PDPLinks: ({ className, hasIcons, ICONS, PDP_INFO }: PDPLinksProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default PDPLinks;
@@ -0,0 +1,4 @@
1
+ import { PDPPriceProps } from '../../../../../../../types/layout/templates/PDP';
2
+
3
+ declare const PDPPrice: ({ layout }: PDPPriceProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default PDPPrice;
@@ -0,0 +1,4 @@
1
+ import { ProductMeasurementsProps } from '../../../../../../../types/layout/templates/PDP';
2
+
3
+ declare const ProductMeasurements: ({ ICONS, SIZES, Z_INDEX_WAR }: ProductMeasurementsProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default ProductMeasurements;
@@ -0,0 +1,4 @@
1
+ import { PropsWithChildren } from 'react';
2
+
3
+ declare const PDPMainContent: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
4
+ export default PDPMainContent;
@@ -0,0 +1,2 @@
1
+ declare const AccessibilityInfo: () => import("react/jsx-runtime").JSX.Element;
2
+ export default AccessibilityInfo;
@@ -0,0 +1,4 @@
1
+ import { ItemsProps } from '../../../../../../../types/layout/templates/PDP';
2
+
3
+ declare const Items: ({ productId, similars, TOGGLE_STYLE_MODIFIER }: ItemsProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default Items;
@@ -0,0 +1,4 @@
1
+ import { ToggleWrapperProps } from '../../../../../../../types/layout/templates/PDP';
2
+
3
+ declare const ToggleWrapper: ({ children, link, TOGGLE_STYLE_MODIFIER }: ToggleWrapperProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default ToggleWrapper;
@@ -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;
@@ -0,0 +1,4 @@
1
+ import { SubSectionProps } from '../../../../../../types/layout/templates/PDP';
2
+
3
+ declare const PDPSubSectionWrapper: ({ children, className, type }: SubSectionProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default PDPSubSectionWrapper;
@@ -0,0 +1,6 @@
1
+ import { PropsWithChildren } from 'react';
2
+
3
+ declare const PDPMainInfo: ({ children, className, }: PropsWithChildren<{
4
+ className?: string;
5
+ }>) => import("react/jsx-runtime").JSX.Element;
6
+ export default PDPMainInfo;
@@ -0,0 +1,2 @@
1
+ declare const DescriptionsTabs: () => import("react/jsx-runtime").JSX.Element;
2
+ export default DescriptionsTabs;
@@ -0,0 +1,4 @@
1
+ import { FreightProps } from '../../../../../../types/layout/templates/PDP';
2
+
3
+ declare const Freight: ({ CURRENCY, DELIVERY_INFO_BOXES_ALLOWED, FREIGHT_CALCULATION, Z_INDEX_WAR }: FreightProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default Freight;
@@ -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;
@@ -0,0 +1,3 @@
1
+ import { QuickShopHeaderProps } from '../../../../types/layout/templates/QuickShop';
2
+
3
+ export default function HeaderModal({ headerTitle, isMobile, ICONS }: QuickShopHeaderProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { SimilarsProps } from '../../../../types/layout/templates/QuickShop';
2
+
3
+ declare const Similars: {
4
+ ({ TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER }: SimilarsProps): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
7
+ export default Similars;
@@ -0,0 +1,3 @@
1
+ import { QuickShopProps } from '../../../types/layout/templates/QuickShop';
2
+
3
+ export default function QuickShop({ callBackProductAdded, QUICKSHOP, ICONS, ...OTHERCONSTANTS }: QuickShopProps): import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soma-vertical-web/multi-lib",
3
- "version": "0.0.59",
3
+ "version": "0.0.61",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
@@ -2,6 +2,7 @@ import { Size } from '@soma-vertical-web/core-components/src/lib/TextField/inter
2
2
  import { EditorState } from 'draft-js';
3
3
  import { CSSProperties } from 'react';
4
4
  import { FACET_CROSS_SELLING_MAP, ObjectFitsDefault, PLP_FILTERS_SORT } from '../constants';
5
+ import { Sizes, VariantsExtended } from '@soma-vertical-web/core-components/src/lib/Button/interfaces';
5
6
 
6
7
  export interface CrossSellingFacet {
7
8
  key: keyof typeof FACET_CROSS_SELLING_MAP;
@@ -48,7 +49,26 @@ export type ITEMS_PER_PAGEType = number;
48
49
  export type LEGAL_INFORMATION_TEXTType = string;
49
50
  export type MAIN_IMAGEType = string;
50
51
  export type MENU_MOB_BTN_SIDEType = 'left' | 'right';
51
- export type MENU_INFOType = Record<string, Record<string, string>>;
52
+ export type MENU_INFOType = {
53
+ login: {
54
+ button_text: string;
55
+ button_icon: string;
56
+ };
57
+ navigation_bar: {
58
+ config: {
59
+ button_variant: VariantsExtended;
60
+ button_size: Sizes;
61
+ };
62
+ items: {
63
+ button_text: string;
64
+ button_icon: string;
65
+ href?: string;
66
+ openUserMenu?: boolean;
67
+ openCart?: boolean;
68
+ eventContent?: 'user_menu' | 'minicart' | 'store' | string;
69
+ }[];
70
+ };
71
+ };
52
72
  export type MENU_NAVIGATION_BAR_ALLOWEDType = boolean;
53
73
  export type MESSAGE_CASHBACKType = {
54
74
  title: string;
@@ -12,6 +12,7 @@ export interface GlobalContextProps extends PropsWithChildren {
12
12
  bannerVariant: VariantsType;
13
13
  position: HeaderPositionsType;
14
14
  }>;
15
+ deviceValidated: boolean;
15
16
  }
16
17
  export interface GlobalProviderProps extends PropsWithChildren {
17
18
  headerConfigs: HeaderConfigsType;
@@ -64,8 +64,9 @@ export type HeaderConfigsType = {
64
64
  home_default_position: HeaderPositionsType;
65
65
  logo_svg?: string;
66
66
  };
67
- export type HeaderContainerProps = {
67
+ export interface HeaderContainerProps {
68
68
  tipBar?: ReactNode;
69
69
  minicartStyleModifiers?: string;
70
- };
70
+ menuV2?: ReactNode;
71
+ }
71
72
  export {};
@@ -0,0 +1,22 @@
1
+ import { PropsWithChildren, ReactElement } from 'react';
2
+
3
+ export type ITableHead = Array<string | ReactElement>;
4
+ export type ITableRows = Array<(string | ReactElement)[]>;
5
+ export interface ITable {
6
+ head: ITableHead;
7
+ rows: ITableRows;
8
+ }
9
+ export type HeadProps = {
10
+ className?: string;
11
+ head: ITableHead;
12
+ };
13
+ export interface RootProps extends PropsWithChildren {
14
+ className?: string;
15
+ }
16
+ export interface CellArea {
17
+ text: string;
18
+ }
19
+ export type RowsProps = {
20
+ className?: string;
21
+ rows: ITableRows;
22
+ };
@@ -0,0 +1,21 @@
1
+ import { BUY_BUTTON_LABELSType, ICONSType, QUICKSHOPType, TEXTURE_IMAGEType, TOGGLE_STYLE_MODIFIERType } from '../../../constants';
2
+ import { PDPSizesProps } from '../PDP';
3
+
4
+ export type SimilarsProps = {
5
+ TEXTURE_IMAGE: TEXTURE_IMAGEType;
6
+ TOGGLE_STYLE_MODIFIER: TOGGLE_STYLE_MODIFIERType;
7
+ };
8
+ export interface BodyProps extends PDPSizesProps, SimilarsProps {
9
+ callBackProductAdded?: Function;
10
+ BUY_BUTTON_LABELS: BUY_BUTTON_LABELSType;
11
+ }
12
+ export interface QuickShopProps extends BodyProps {
13
+ QUICKSHOP: QUICKSHOPType;
14
+ TEXTURE_IMAGE: TEXTURE_IMAGEType;
15
+ TOGGLE_STYLE_MODIFIER: TOGGLE_STYLE_MODIFIERType;
16
+ }
17
+ export interface QuickShopHeaderProps {
18
+ headerTitle: string;
19
+ isMobile?: boolean;
20
+ ICONS: ICONSType;
21
+ }