@soma-vertical-web/multi-lib 0.0.11 → 0.0.13
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/helpers/index.d.ts +9 -0
- package/cms/index.d.ts +2 -0
- package/contexts/contexts/NextContext.d.ts +12 -0
- package/contexts/contexts/pdp/PDPDataContext.d.ts +10 -0
- package/contexts/index.d.ts +38 -11
- package/contexts/store/freight.d.ts +0 -0
- package/index.js +4 -17
- package/index.mjs +4270 -4486
- package/layout/index.d.ts +26 -8
- package/layout/team-component/AddToCart/index.d.ts +1 -1
- package/layout/team-component/Footer/Composite/Devices/Column.Desktop.d.ts +4 -0
- package/layout/team-component/Footer/Composite/Devices/Column.Mobile.d.ts +4 -0
- package/layout/team-component/Footer/Composite/Devices/Index.d.ts +4 -0
- package/layout/team-component/Footer/Composite/Item.d.ts +4 -0
- package/layout/team-component/Footer/Composite/LegalInformation.d.ts +4 -0
- package/layout/team-component/Footer/Composite/OtherCollection.d.ts +5 -0
- package/layout/team-component/Footer/Composite/Stamps.d.ts +5 -0
- package/layout/team-component/Footer/Composite/Wrapper.d.ts +7 -0
- package/layout/team-component/Footer/Footer.d.ts +7 -0
- package/layout/team-component/Footer/index.d.ts +1 -0
- package/layout/template/PDP/Composite/Gallery/Carousel.d.ts +13 -0
- package/layout/template/PDP/Composite/Gallery/Image.d.ts +9 -0
- package/layout/template/PDP/Composite/Gallery/Video.d.ts +6 -0
- package/layout/template/PDP/Composite/Gallery/Wrapper.d.ts +4 -0
- package/layout/template/PDP/Composite/Gallery/index.d.ts +8 -0
- package/layout/template/PDP/PDPDataContext.d.ts +10 -0
- package/layout/template/PDP/index.d.ts +3 -0
- package/layout/utils/ExternalScripts/index.d.ts +5 -0
- package/layout/utils/LinkOrNotLink/index.d.ts +4 -0
- package/package.json +1 -1
- package/style.css +1 -1
- package/types/cms/ContentTypes/Footer/index.d.ts +1 -0
- package/types/contexts/contexts/global.d.ts +0 -2
- package/types/contexts/contexts/next.d.ts +9 -0
- package/types/contexts/contexts/pdp.d.ts +1 -0
- package/types/layout/team-components/AddToCart/index.d.ts +0 -1
- package/types/layout/team-components/Footer/index.d.ts +1 -0
- package/types/layout/utils/index.d.ts +8 -1
- package/data/Events/EventCollector.d.ts +0 -5
- package/data/Events/EventContext.d.ts +0 -6
- package/data/Events/helpers.d.ts +0 -29
package/cms/index.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import * as Factories from './ui/Factories';
|
|
2
2
|
import * as CMSApi from './api';
|
|
3
|
+
import * as helpers from './helpers';
|
|
3
4
|
export declare const cms: {
|
|
4
5
|
ContentTypes: {
|
|
5
6
|
generateFlagsAndTags: typeof import('./ui/ContentTypes/FlagsAndTags').generateFlagsAndTagsContentType;
|
|
6
7
|
};
|
|
7
8
|
Factories: typeof Factories;
|
|
8
9
|
CMSApi: typeof CMSApi;
|
|
10
|
+
helpers: typeof helpers;
|
|
9
11
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { NextProviderProps } from '../../types/contexts/contexts/next';
|
|
2
|
+
|
|
3
|
+
declare const NextContext: import('react').Context<{
|
|
4
|
+
pathname: string;
|
|
5
|
+
nextimage: React.ComponentType<any>;
|
|
6
|
+
}>;
|
|
7
|
+
declare const NextProvider: ({ children, ...props }: NextProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare const useNextContext: () => {
|
|
9
|
+
pathname: string;
|
|
10
|
+
nextimage: React.ComponentType<any>;
|
|
11
|
+
};
|
|
12
|
+
export { NextContext, NextProvider, useNextContext };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ProductType_PDP } from '../../../types/global/product';
|
|
2
|
+
import { PDPDataContextProps } from '../../../types/contexts/contexts/pdp';
|
|
3
|
+
import { PropsWithChildren } from 'react';
|
|
4
|
+
|
|
5
|
+
export declare const PDPDataProvider: ({ children, productData, isKit, PDP_INFO, }: PropsWithChildren<{
|
|
6
|
+
productData: ProductType_PDP;
|
|
7
|
+
isKit: boolean;
|
|
8
|
+
PDP_INFO: any;
|
|
9
|
+
}>) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const usePDPDataContext: () => PDPDataContextProps;
|
package/contexts/index.d.ts
CHANGED
|
@@ -1,18 +1,22 @@
|
|
|
1
1
|
import { Mediator } from './contexts/GlobalContext';
|
|
2
|
+
|
|
3
|
+
import * as cart from './store/cart';
|
|
2
4
|
import * as pdp from './store/pdp';
|
|
3
5
|
export declare const contexts: {
|
|
4
6
|
contexts: {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
addToCart: {
|
|
8
|
+
hook: () => import('../types/layout/team-components/AddToCart').AddToCartContextProps;
|
|
9
|
+
provider: ({ children, delay, gap, ...props }: import('../types/layout/team-components/AddToCart').AddToCartProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
};
|
|
11
|
+
cart: {
|
|
12
|
+
hook: () => import('../types/contexts/store/cart').CartContextProps;
|
|
13
|
+
provider: ({ children, CARTPROVIDER_MESSAGE_PRODUCT_REMOVE, ...props }: import('../types/contexts/store/cart').CartProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
14
|
};
|
|
10
15
|
cms: {
|
|
11
16
|
FlagsAndTags: {
|
|
12
17
|
context: import('react').Context<{
|
|
13
18
|
tags: import('../types/cms/ContentTypes/FlagsAndTags').IFlagsAndTagsContent["config"];
|
|
14
19
|
}>;
|
|
15
|
-
provider: ({ data, children, }: import('../types/contexts/contexts/cms/FlagsAndTags').FlagsAndTagsProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
20
|
hook: () => {
|
|
17
21
|
tags: {
|
|
18
22
|
commercial: {
|
|
@@ -33,18 +37,40 @@ export declare const contexts: {
|
|
|
33
37
|
flagPdp: import('../types/cms/ContentTypes/FlagsAndTags').CommonFlagType;
|
|
34
38
|
};
|
|
35
39
|
};
|
|
40
|
+
provider: ({ data, children, }: import('../types/contexts/contexts/cms/FlagsAndTags').FlagsAndTagsProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
36
41
|
};
|
|
37
42
|
};
|
|
43
|
+
events: {
|
|
44
|
+
hook: () => import('../types/data/events').EventContextProps;
|
|
45
|
+
provider: ({ children, evtFunctionsConfigs }: import('../types/data/events').EventProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
};
|
|
38
47
|
global: {
|
|
39
|
-
context: import('react').Context<import('../types/contexts/contexts/global').GlobalContextProps>;
|
|
40
|
-
provider: ({ children, headerConfigs, pathname, ...props }: import('../types/contexts/contexts/global').GlobalProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
41
48
|
hook: () => import('../types/contexts/contexts/global').GlobalContextProps;
|
|
49
|
+
provider: ({ children, headerConfigs, pathname, ...props }: import('../types/contexts/contexts/global').GlobalProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
42
50
|
mediator: typeof Mediator;
|
|
43
51
|
};
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
52
|
+
next: {
|
|
53
|
+
hook: () => {
|
|
54
|
+
pathname: string;
|
|
55
|
+
nextimage: React.ComponentType<any>;
|
|
56
|
+
};
|
|
57
|
+
provider: ({ children, ...props }: import('../types/contexts/contexts/next').NextProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
58
|
+
};
|
|
59
|
+
pdp: {
|
|
60
|
+
provider: ({ children, gridScrollBack }: import('../types/contexts/contexts/pdp').PDPProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
61
|
+
hook: () => import('../types/contexts/contexts/pdp').PDPContextProps;
|
|
62
|
+
};
|
|
63
|
+
pdpdata: {
|
|
64
|
+
hook: () => import('../types/contexts/contexts/pdp').PDPDataContextProps;
|
|
65
|
+
provider: ({ children, productData, isKit, PDP_INFO, }: import('react').PropsWithChildren<{
|
|
66
|
+
productData: import('../types/global/product').ProductType_PDP;
|
|
67
|
+
isKit: boolean;
|
|
68
|
+
PDP_INFO: any;
|
|
69
|
+
}>) => import("react/jsx-runtime").JSX.Element;
|
|
70
|
+
};
|
|
71
|
+
ui: {
|
|
72
|
+
hook: () => import('../types/contexts/contexts/cart').UIContextProps;
|
|
73
|
+
provider: ({ children, ...props }: import('../types/contexts/contexts/cart').UIProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
48
74
|
};
|
|
49
75
|
};
|
|
50
76
|
hooks: {
|
|
@@ -52,5 +78,6 @@ export declare const contexts: {
|
|
|
52
78
|
};
|
|
53
79
|
stores: {
|
|
54
80
|
pdp: typeof pdp;
|
|
81
|
+
cart: typeof cart;
|
|
55
82
|
};
|
|
56
83
|
};
|
|
File without changes
|