@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.
Files changed (35) hide show
  1. package/cms/ContentTypes/Footer/Footer.d.ts +1 -1
  2. package/cms/Sections/Banner/Composite/Content.d.ts +1 -1
  3. package/cms/Sections/ProductCarousel/ProductCarousel.d.ts +2 -2
  4. package/cms/index.d.ts +2 -2
  5. package/cms/server.d.ts +1 -1
  6. package/contexts/contexts/Session.d.ts +1 -1
  7. package/contexts/hooks/useOperations.d.ts +1 -1
  8. package/contexts/index.d.ts +1 -1
  9. package/index-4tOP7lCS.js +4 -0
  10. package/index-ByhWQJ9Z.mjs +1844 -0
  11. package/index-Dj1bg0lu.mjs +1826 -0
  12. package/index-DvhdPe3b.js +4 -0
  13. package/index.js +16 -16
  14. package/index.mjs +7940 -7046
  15. package/index2.js +1 -1
  16. package/index2.mjs +189 -190
  17. package/layout/index.d.ts +2 -2
  18. package/layout/team-component/BackToTop/BackToTop.d.ts +1 -1
  19. package/layout/team-component/Footer/Footer.d.ts +1 -1
  20. package/layout/team-component/ProductList/Composite/Card/Actions.d.ts +1 -1
  21. package/layout/template/MiniCart/Composite/Card/Composite/Sku.d.ts +1 -1
  22. package/layout/template/MiniCart/Composite/Card/Composite/Style.d.ts +1 -1
  23. package/layout/template/MiniCart/Composite/Card/index.d.ts +2 -2
  24. package/layout/template/PDC/Composite/Grid/Banners.d.ts +1 -1
  25. package/layout/template/PDC/Composite/InfiniteScroller/Banners/Banners.d.ts +1 -1
  26. package/layout/utils/SessionEvent/index.d.ts +3 -1
  27. package/package.json +1 -1
  28. package/style.css +1 -1
  29. package/types/cms/ContentTypes/Footer/index.d.ts +1 -0
  30. package/types/cms/Sections/BannerCarousel/index.d.ts +2 -1
  31. package/types/cms/Sections/SectionZone/index.d.ts +1 -0
  32. package/types/contexts/contexts/session.d.ts +2 -1
  33. package/types/data/events/index.d.ts +3 -0
  34. package/types/layout/team-components/BackToTop/index.d.ts +1 -0
  35. 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;
@@ -5,6 +5,7 @@ export type BannerConstants = {
5
5
  ICONS: ICONSType;
6
6
  TEXTCONTENT_EXPANDED?: TEXTCONTENT_EXPANDEDType;
7
7
  TIME_ZONE: TIME_ZONEType;
8
+ className?: string;
8
9
  };
9
10
  export type ProductCarouselConstants = {
10
11
  CONSTANTS: {
@@ -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 {
@@ -107,4 +107,7 @@ export type HandleSelectPromotionEventType = {
107
107
  promotion: PromotionType;
108
108
  index?: number;
109
109
  };
110
+ export type SessionEventProps = {
111
+ accountName: string;
112
+ };
110
113
  export {};
@@ -7,4 +7,5 @@ export interface BackToTopProps extends CardProps {
7
7
  adornment?: ReactNode;
8
8
  iconPosition?: VerticalPosition | HorizontalPosition;
9
9
  scrollToOptions?: ScrollToOptions;
10
+ classNameButton?: string;
10
11
  }
@@ -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;