@soma-vertical-web/multi-lib 1.0.1 → 1.0.3
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/hooks/useOperations.d.ts +1 -1
- package/index-4WXjd-uR.js +4 -0
- package/index-4tOP7lCS.js +4 -0
- package/index-ByhWQJ9Z.mjs +1844 -0
- package/index-CCvTne7y.mjs +1826 -0
- package/index.js +13 -13
- package/index.mjs +3952 -3828
- package/index2.js +1 -1
- package/index2.mjs +407 -404
- package/layout/index.d.ts +3 -3
- 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/template/SearchModal/Composite/Recommendations.d.ts +4 -2
- package/layout/template/SearchModal/SearchModal.d.ts +1 -1
- package/package.json +1 -1
- package/server.d.ts +16 -0
- 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/layout/team-components/BackToTop/index.d.ts +1 -0
- package/types/layout/templates/PLP/index.d.ts +2 -2
- package/types/layout/templates/SearchModal/index.d.ts +1 -2
package/layout/index.d.ts
CHANGED
|
@@ -149,7 +149,7 @@ export declare const layout: {
|
|
|
149
149
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
150
150
|
};
|
|
151
151
|
Footer: {
|
|
152
|
-
({ data: { links: { links }, }, payments, socialInfo, socialMedias, adornment, LEGAL_INFORMATION_TEXT, ICONS, className, hasFooterStamps }: import('../types/layout/team-components/Footer').IFooter): import("react/jsx-runtime").JSX.Element;
|
|
152
|
+
({ data: { links: { links }, }, payments, socialInfo, socialMedias, adornment, LEGAL_INFORMATION_TEXT, ICONS, className, hasFooterStamps, }: import('../types/layout/team-components/Footer').IFooter): import("react/jsx-runtime").JSX.Element;
|
|
153
153
|
displayName: string;
|
|
154
154
|
};
|
|
155
155
|
FooterSupport: ({ content, CONSTANTS }: import('../types/cms/ContentTypes/Footer').FooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -157,7 +157,7 @@ export declare const layout: {
|
|
|
157
157
|
({ title, ...props }: import('../types/layout/team-components/AddToCart').AddToCartProps): import("react/jsx-runtime").JSX.Element;
|
|
158
158
|
displayName: string;
|
|
159
159
|
};
|
|
160
|
-
BackToTop: ({ children, className, adornment, iconPosition, scrollToOptions, style, ...props }: import('../types/layout/team-components/BackToTop').BackToTopProps) => import("react/jsx-runtime").JSX.Element;
|
|
160
|
+
BackToTop: ({ children, className, classNameButton, adornment, iconPosition, scrollToOptions, style, ...props }: import('../types/layout/team-components/BackToTop').BackToTopProps) => import("react/jsx-runtime").JSX.Element;
|
|
161
161
|
HelpButton: ({ className, data, ICONS, ...props }: import('../types/layout/team-components/HelpButton').HelpButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
162
162
|
BuyPackage: ({ CONSTANTS, inView, products, innerRef, }: import('../types/layout/team-components/BuyPackage').BuyPackageProps) => import("react/jsx-runtime").JSX.Element;
|
|
163
163
|
Filter: {
|
|
@@ -331,7 +331,7 @@ export declare const layout: {
|
|
|
331
331
|
};
|
|
332
332
|
LPCadastro: typeof LPCadastro;
|
|
333
333
|
SearchModal: {
|
|
334
|
-
({ className, trends, CONSTANTS,
|
|
334
|
+
({ className, trends, CONSTANTS, SectionZone }: import('../types/layout/templates/SearchModal').SearchModalProps): import("react/jsx-runtime").JSX.Element;
|
|
335
335
|
displayName: string;
|
|
336
336
|
};
|
|
337
337
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { BackToTopProps } from '../../../types/layout/team-components/BackToTop';
|
|
2
2
|
|
|
3
|
-
declare const BackToTop: ({ children, className, adornment, iconPosition, scrollToOptions, style, ...props }: BackToTopProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const BackToTop: ({ children, className, classNameButton, adornment, iconPosition, scrollToOptions, style, ...props }: BackToTopProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default BackToTop;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IFooter } from '../../../types/layout/team-components/Footer';
|
|
2
2
|
|
|
3
3
|
declare const Footer: {
|
|
4
|
-
({ data: { links: { links }, }, payments, socialInfo, socialMedias, adornment, LEGAL_INFORMATION_TEXT, ICONS, className, hasFooterStamps }: IFooter): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
({ data: { links: { links }, }, payments, socialInfo, socialMedias, adornment, LEGAL_INFORMATION_TEXT, ICONS, className, hasFooterStamps, }: IFooter): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Footer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CardProps } from '../../../../../types/layout/team-components/ProductList';
|
|
2
2
|
|
|
3
3
|
declare const Actions: {
|
|
4
|
-
({ isKit, parent, productId, setNotify, CONSTANTS }: CardProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
({ isKit, parent, productId, setNotify, CONSTANTS, }: CardProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Actions;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SkuCardProps } from '../../../../../../types/layout/templates/MiniCart';
|
|
2
2
|
|
|
3
3
|
declare const Sku: {
|
|
4
|
-
({ product, MINICART_CONFIG, NAME_SPLIT_SYMBOL, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER }: SkuCardProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
({ product, MINICART_CONFIG, NAME_SPLIT_SYMBOL, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER, }: SkuCardProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Sku;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StyleCardProps } from '../../../../../../types/layout/templates/MiniCart';
|
|
2
2
|
|
|
3
3
|
declare const Style: {
|
|
4
|
-
({ product, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER }: StyleCardProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
({ product, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER, }: StyleCardProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Style;
|
|
@@ -30,7 +30,7 @@ declare const Card: {
|
|
|
30
30
|
displayName: string;
|
|
31
31
|
};
|
|
32
32
|
Sku: {
|
|
33
|
-
({ product, MINICART_CONFIG, NAME_SPLIT_SYMBOL, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER }: import('../../../../../types/layout/templates/MiniCart').SkuCardProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
({ product, MINICART_CONFIG, NAME_SPLIT_SYMBOL, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER, }: import('../../../../../types/layout/templates/MiniCart').SkuCardProps): import("react/jsx-runtime").JSX.Element;
|
|
34
34
|
displayName: string;
|
|
35
35
|
};
|
|
36
36
|
Stepper: {
|
|
@@ -38,7 +38,7 @@ declare const Card: {
|
|
|
38
38
|
displayName: string;
|
|
39
39
|
};
|
|
40
40
|
Style: {
|
|
41
|
-
({ product, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER }: import('../../../../../types/layout/templates/MiniCart').StyleCardProps): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
({ product, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER, }: import('../../../../../types/layout/templates/MiniCart').StyleCardProps): import("react/jsx-runtime").JSX.Element;
|
|
42
42
|
displayName: string;
|
|
43
43
|
};
|
|
44
44
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BannersProps } from '../../../../../types/layout/templates/PLP';
|
|
2
2
|
|
|
3
3
|
declare const Banners: {
|
|
4
|
-
({ gap, isMobile }: BannersProps): import("react/jsx-runtime").JSX.Element[] | null;
|
|
4
|
+
({ gap, isMobile, className }: BannersProps): import("react/jsx-runtime").JSX.Element[] | null;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Banners;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InfiniteBannersProps } from '../../../../../../types/layout/templates/PLP';
|
|
2
2
|
|
|
3
3
|
declare const Banners: {
|
|
4
|
-
({ columns, count, gap }: InfiniteBannersProps): import("react/jsx-runtime").JSX.Element[] | null;
|
|
4
|
+
({ columns, count, gap, className }: InfiniteBannersProps): import("react/jsx-runtime").JSX.Element[] | null;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Banners;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SearchModalProps } from '../../../../types/layout/templates/SearchModal';
|
|
2
2
|
|
|
3
|
-
export default function Recommendations(
|
|
3
|
+
export default function Recommendations({ SectionZone }: {
|
|
4
|
+
SectionZone: SearchModalProps['SectionZone'];
|
|
5
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SearchModalProps } from '../../../types/layout/templates/SearchModal/index';
|
|
2
2
|
|
|
3
3
|
declare const SearchModal: {
|
|
4
|
-
({ className, trends, CONSTANTS,
|
|
4
|
+
({ className, trends, CONSTANTS, SectionZone }: SearchModalProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default SearchModal;
|
package/package.json
CHANGED
package/server.d.ts
CHANGED
|
@@ -31,6 +31,22 @@ declare const serverHelpers: {
|
|
|
31
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>[];
|
|
32
32
|
};
|
|
33
33
|
product: typeof productHelpers;
|
|
34
|
+
cms: {
|
|
35
|
+
fetchCMS(url: URL, params?: Record<string, unknown>, previewMode?: boolean): Promise<Response>;
|
|
36
|
+
createUrl(contentType: string, params: Record<string, unknown>): string;
|
|
37
|
+
spreadStrapiData<T>(data: T): T | null;
|
|
38
|
+
mergePreviewDocument<T>(contentType: string, documents?: T[], params?: Record<string, unknown>): Promise<any[]>;
|
|
39
|
+
strapiCMSData<T>(url: URL, params?: Record<string, unknown>, spreadData?: boolean): Promise<{
|
|
40
|
+
status: number | string;
|
|
41
|
+
data: T[];
|
|
42
|
+
error?: string;
|
|
43
|
+
}>;
|
|
44
|
+
vtexCMSData<T>(contentType: string, url: URL, params?: Record<string, unknown>): Promise<{
|
|
45
|
+
status: number | string;
|
|
46
|
+
data: T[] | T | null;
|
|
47
|
+
error?: string;
|
|
48
|
+
}>;
|
|
49
|
+
};
|
|
34
50
|
};
|
|
35
51
|
declare const serverComponents: {
|
|
36
52
|
template: {
|