@shopgate/engage 7.12.4-beta.1 → 7.12.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopgate/engage",
3
- "version": "7.12.4-beta.1",
3
+ "version": "7.12.4",
4
4
  "description": "Shopgate's ENGAGE library.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Shopgate <support@shopgate.com>",
@@ -16,12 +16,12 @@
16
16
  ],
17
17
  "dependencies": {
18
18
  "@shopgate/native-modules": "1.0.0-beta.18",
19
- "@shopgate/pwa-common": "7.12.4-beta.1",
20
- "@shopgate/pwa-common-commerce": "7.12.4-beta.1",
21
- "@shopgate/pwa-core": "7.12.4-beta.1",
22
- "@shopgate/pwa-ui-ios": "7.12.4-beta.1",
23
- "@shopgate/pwa-ui-material": "7.12.4-beta.1",
24
- "@shopgate/pwa-ui-shared": "7.12.4-beta.1",
19
+ "@shopgate/pwa-common": "7.12.4",
20
+ "@shopgate/pwa-common-commerce": "7.12.4",
21
+ "@shopgate/pwa-core": "7.12.4",
22
+ "@shopgate/pwa-ui-ios": "7.12.4",
23
+ "@shopgate/pwa-ui-material": "7.12.4",
24
+ "@shopgate/pwa-ui-shared": "7.12.4",
25
25
  "@stripe/react-stripe-js": "^1.1.2",
26
26
  "@stripe/stripe-js": "^1.3.1",
27
27
  "@virtuous/conductor": "~2.5.0",
@@ -9,4 +9,5 @@ import React from'react';/* eslint-disable max-len */ /**
9
9
  * @property {ProductListTypeContextSubType} [subType=null] Optional sub type of the active
10
10
  * ProductListTypeContext. Depending on its usage it can make a statement about in which context
11
11
  * the product list is used e.g. "widgets".
12
- */export{};export default React.createContext({type:null,subType:null});
12
+ * @property {Object} [meta=null] Optional meta information that can be used by child components
13
+ */export{};export default React.createContext({type:null,subType:null,meta:null});
@@ -10,5 +10,6 @@ import React,{useMemo}from'react';import PropTypes from'prop-types';import Conte
10
10
  * @param {string} param.type Type of the context e.g. "productSlider" or "productGrid".
11
11
  * @param {string} param.subType Optional sub type of the context. Depending on its usage it can
12
12
  * make a statement about in which context the product list is used e.g. "widgets".
13
+ * @param {Object} param.meta Optional meta information that can be used by child components
13
14
  * @returns {JSX}
14
- */function ProductListTypeProvider(_ref){var children=_ref.children,type=_ref.type,subType=_ref.subType;var value=useMemo(function(){return{type:type,subType:subType};},[subType,type]);return React.createElement(Context.Provider,{value:value},children);}ProductListTypeProvider.defaultProps={children:null,subType:null};export default ProductListTypeProvider;
15
+ */function ProductListTypeProvider(_ref){var children=_ref.children,type=_ref.type,subType=_ref.subType,meta=_ref.meta;var value=useMemo(function(){return{type:type,subType:subType,meta:meta};},[meta,subType,type]);return React.createElement(Context.Provider,{value:value},children);}ProductListTypeProvider.defaultProps={children:null,subType:null,meta:null};export default ProductListTypeProvider;