@shopgate/engage 6.22.5-rc.2 → 6.22.5

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": "6.22.5-rc.2",
3
+ "version": "6.22.5",
4
4
  "description": "Shopgate's ENGAGE library.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Shopgate <support@shopgate.com>",
@@ -15,12 +15,12 @@
15
15
  "connect"
16
16
  ],
17
17
  "dependencies": {
18
- "@shopgate/pwa-common": "6.22.5-rc.2",
19
- "@shopgate/pwa-common-commerce": "6.22.5-rc.2",
20
- "@shopgate/pwa-core": "6.22.5-rc.2",
21
- "@shopgate/pwa-ui-ios": "6.22.5-rc.2",
22
- "@shopgate/pwa-ui-material": "6.22.5-rc.2",
23
- "@shopgate/pwa-ui-shared": "6.22.5-rc.2",
18
+ "@shopgate/pwa-common": "6.22.5",
19
+ "@shopgate/pwa-common-commerce": "6.22.5",
20
+ "@shopgate/pwa-core": "6.22.5",
21
+ "@shopgate/pwa-ui-ios": "6.22.5",
22
+ "@shopgate/pwa-ui-material": "6.22.5",
23
+ "@shopgate/pwa-ui-shared": "6.22.5",
24
24
  "@virtuous/conductor": "~2.4.0",
25
25
  "babel-plugin-transform-es3-member-expression-literals": "^6.8.0",
26
26
  "babel-plugin-transform-es3-property-literals": "^6.8.0",
@@ -1,6 +1,6 @@
1
1
  import React from'react';import PropTypes from'prop-types';import I18n from'@shopgate/pwa-common/components/I18n';import styles from"./style";/**
2
2
  * The Shipping Label component.
3
3
  * @param {Object} props The component props.
4
- * @returns {JSX}
4
+ * @returns {JSX.Element}
5
5
  */var Label=function Label(_ref){var className=_ref.className,price=_ref.price,currency=_ref.currency;return/*#__PURE__*/ (// eslint-disable-next-line jsx-a11y/aria-role
6
6
  React.createElement("div",{role:"text",className:"".concat(className," ").concat(styles.text)},price>0?/*#__PURE__*/React.createElement(I18n.Text,{string:"shipping.cost"},/*#__PURE__*/React.createElement(I18n.Price,{forKey:"price",price:price,currency:currency})):/*#__PURE__*/React.createElement(I18n.Text,{string:"shipping.free"})));};Label.defaultProps={className:''};export default Label;