@soma-vertical-web/multi-lib 1.0.2 → 1.0.4
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/Footer/Footer.d.ts +1 -1
- package/cms/Sections/Banner/Composite/Content.d.ts +1 -1
- package/cms/Sections/ProductCarousel/ProductCarousel.d.ts +2 -2
- package/cms/index.d.ts +2 -2
- package/cms/server.d.ts +1 -1
- package/contexts/contexts/Session.d.ts +1 -1
- package/contexts/hooks/useOperations.d.ts +1 -1
- package/contexts/index.d.ts +1 -1
- package/index-4tOP7lCS.js +4 -0
- package/index-ByhWQJ9Z.mjs +1844 -0
- package/index-Dj1bg0lu.mjs +1826 -0
- package/index-DvhdPe3b.js +4 -0
- package/index.js +16 -16
- package/index.mjs +7940 -7046
- package/index2.js +1 -1
- package/index2.mjs +189 -190
- package/layout/index.d.ts +2 -2
- package/layout/team-component/BackToTop/BackToTop.d.ts +1 -1
- package/layout/team-component/Footer/Footer.d.ts +1 -1
- package/layout/team-component/ProductList/Composite/Card/Actions.d.ts +1 -1
- package/layout/template/MiniCart/Composite/Card/Composite/Sku.d.ts +1 -1
- package/layout/template/MiniCart/Composite/Card/Composite/Style.d.ts +1 -1
- package/layout/template/MiniCart/Composite/Card/index.d.ts +2 -2
- package/layout/template/PDC/Composite/Grid/Banners.d.ts +1 -1
- package/layout/template/PDC/Composite/InfiniteScroller/Banners/Banners.d.ts +1 -1
- package/layout/utils/SessionEvent/index.d.ts +3 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/types/cms/ContentTypes/Footer/index.d.ts +1 -0
- package/types/cms/Sections/BannerCarousel/index.d.ts +2 -1
- package/types/cms/Sections/SectionZone/index.d.ts +1 -0
- package/types/contexts/contexts/session.d.ts +2 -1
- package/types/data/events/index.d.ts +3 -0
- package/types/layout/team-components/BackToTop/index.d.ts +1 -0
- package/types/layout/templates/PLP/index.d.ts +2 -2
|
@@ -82,6 +82,7 @@ export interface FooterContentProps extends GetContentTypeParams {
|
|
|
82
82
|
FooterSupport: ComponentType<FooterProps>;
|
|
83
83
|
ICONS: ICONSType;
|
|
84
84
|
LEGAL_INFORMATION_TEXT: LEGAL_INFORMATION_TEXTType;
|
|
85
|
+
hasFooterStamps: boolean;
|
|
85
86
|
}
|
|
86
87
|
export interface GenerateFooterContentTypeProps {
|
|
87
88
|
ICONS: ICONSType;
|
|
@@ -2,6 +2,7 @@ import { ICONSType } from '../../../constants';
|
|
|
2
2
|
import { BannerType } from '../Banner';
|
|
3
3
|
import { ISectionResponseBase } from '../../Factories';
|
|
4
4
|
import { BannerCarouselConstants } from '../SectionZone';
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
5
6
|
|
|
6
7
|
export type TControllerPosition = 'superior-direita' | 'inferior-direita' | 'dentro-inferior-centro' | 'dentro-inferior-esquerda';
|
|
7
8
|
export interface BannerCarouselSectionType extends ISectionResponseBase {
|
|
@@ -21,7 +22,7 @@ export interface BannerCarouselSectionType extends ISectionResponseBase {
|
|
|
21
22
|
first?: boolean;
|
|
22
23
|
};
|
|
23
24
|
}
|
|
24
|
-
export type BannerCarouselProps = BannerCarouselSectionType & BannerCarouselConstants
|
|
25
|
+
export type BannerCarouselProps = BannerCarouselSectionType & BannerCarouselConstants & HTMLAttributes<HTMLDivElement>;
|
|
25
26
|
export interface BannerCarouselControllersType {
|
|
26
27
|
prevOnClick: () => void;
|
|
27
28
|
nextOnClick: () => void;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { AUTH_TOKEN_COOKIEType } from '../../constants';
|
|
3
|
+
import { SessionEventProps } from '../../data/events';
|
|
3
4
|
|
|
4
|
-
export interface SessionProviderProps extends PropsWithChildren {
|
|
5
|
+
export interface SessionProviderProps extends PropsWithChildren, SessionEventProps {
|
|
5
6
|
AUTH_TOKEN_COOKIE: AUTH_TOKEN_COOKIEType;
|
|
6
7
|
}
|
|
7
8
|
interface BrandRef {
|
|
@@ -22,11 +22,11 @@ export interface BannerPropsExtended extends BannerType {
|
|
|
22
22
|
columns: number;
|
|
23
23
|
position_grid: number;
|
|
24
24
|
}
|
|
25
|
-
export interface BannersProps {
|
|
25
|
+
export interface BannersProps extends HTMLAttributes<HTMLDivElement> {
|
|
26
26
|
gap: number;
|
|
27
27
|
isMobile: boolean;
|
|
28
28
|
}
|
|
29
|
-
export interface InfiniteBannersProps {
|
|
29
|
+
export interface InfiniteBannersProps extends HTMLAttributes<HTMLDivElement> {
|
|
30
30
|
columns: number;
|
|
31
31
|
count: number;
|
|
32
32
|
gap: number;
|