You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@arcteryx/components-cart

Package Overview
Dependencies
Maintainers
7
Versions
940
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcteryx/components-cart - npm Package Compare versions

Comparing version

to
5.2.4

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [5.2.4](http://bitbucket.org/arcteryx/arcteryx-js-helpers/compare/@arcteryx/components-cart@5.2.3...@arcteryx/components-cart@5.2.4) (2021-01-12)
### Bug Fixes
* TMS-851 added translations for view cart ([00d482b](http://bitbucket.org/arcteryx/arcteryx-js-helpers/commits/00d482b3d5be1a6459d0dd944b1f8b8345a28541))
## [5.2.3](http://bitbucket.org/arcteryx/arcteryx-js-helpers/compare/@arcteryx/components-cart@5.2.2...@arcteryx/components-cart@5.2.3) (2021-01-12)

@@ -8,0 +19,0 @@

24

dist/cjs/index.js

@@ -1574,2 +1574,5 @@ 'use strict';

const {
t
} = reactI18next.useTranslation("components-cart");
return /*#__PURE__*/React__default.createElement(FlyInOverlay, null, /*#__PURE__*/React__default.createElement(FlyInContainer, {

@@ -1584,3 +1587,3 @@ isOpen: isOpen

context: "Standard"
}, "View Cart"))
}, t("View Cart")))
}, cart === null || cart === void 0 ? void 0 : (_cart$products = cart.products) === null || _cart$products === void 0 ? void 0 : _cart$products.map(product => /*#__PURE__*/React__default.createElement(CartProduct, {

@@ -1609,3 +1612,4 @@ isFlyIn: true,

"Remove": "Entfernen",
"Subtotal": "Summe"
"Subtotal": "Summe",
"View Cart": "Zum Einkaufswagen"
}

@@ -1625,3 +1629,4 @@ },

"Remove": "Remove",
"Subtotal": "Subtotal"
"Subtotal": "Subtotal",
"View Cart": "View Cart"
}

@@ -1641,3 +1646,4 @@ },

"Remove": "Eliminar",
"Subtotal": "Subtotal"
"Subtotal": "Subtotal",
"View Cart": "Ver Cesta"
}

@@ -1657,3 +1663,4 @@ },

"Remove": "Supprimer",
"Subtotal": "Sous-total"
"Subtotal": "Sous-total",
"View Cart": "Voir Panier"
}

@@ -1673,3 +1680,4 @@ },

"Remove": "削除",
"Subtotal": "小計"
"Subtotal": "小計",
"View Cart": "カートを見る"
}

@@ -1689,3 +1697,4 @@ },

"Remove": "Fjern",
"Subtotal": "Totalt"
"Subtotal": "Totalt",
"View Cart": "Se Handlevogn"
}

@@ -1705,2 +1714,3 @@ },

"Subtotal": "小计",
"View Cart": "查看购物车",
"{{count}} Item_plural": "{{count}} 物品"

@@ -1707,0 +1717,0 @@ }

@@ -1566,2 +1566,5 @@ import React, { useContext } from 'react';

const {
t
} = useTranslation("components-cart");
return /*#__PURE__*/React.createElement(FlyInOverlay, null, /*#__PURE__*/React.createElement(FlyInContainer, {

@@ -1576,3 +1579,3 @@ isOpen: isOpen

context: "Standard"
}, "View Cart"))
}, t("View Cart")))
}, cart === null || cart === void 0 ? void 0 : (_cart$products = cart.products) === null || _cart$products === void 0 ? void 0 : _cart$products.map(product => /*#__PURE__*/React.createElement(CartProduct, {

@@ -1601,3 +1604,4 @@ isFlyIn: true,

"Remove": "Entfernen",
"Subtotal": "Summe"
"Subtotal": "Summe",
"View Cart": "Zum Einkaufswagen"
}

@@ -1617,3 +1621,4 @@ },

"Remove": "Remove",
"Subtotal": "Subtotal"
"Subtotal": "Subtotal",
"View Cart": "View Cart"
}

@@ -1633,3 +1638,4 @@ },

"Remove": "Eliminar",
"Subtotal": "Subtotal"
"Subtotal": "Subtotal",
"View Cart": "Ver Cesta"
}

@@ -1649,3 +1655,4 @@ },

"Remove": "Supprimer",
"Subtotal": "Sous-total"
"Subtotal": "Sous-total",
"View Cart": "Voir Panier"
}

@@ -1665,3 +1672,4 @@ },

"Remove": "削除",
"Subtotal": "小計"
"Subtotal": "小計",
"View Cart": "カートを見る"
}

@@ -1681,3 +1689,4 @@ },

"Remove": "Fjern",
"Subtotal": "Totalt"
"Subtotal": "Totalt",
"View Cart": "Se Handlevogn"
}

@@ -1697,2 +1706,3 @@ },

"Subtotal": "小计",
"View Cart": "查看购物车",
"{{count}} Item_plural": "{{count}} 物品"

@@ -1699,0 +1709,0 @@ }

@@ -1573,2 +1573,5 @@ (function (global, factory) {

const {
t
} = reactI18next.useTranslation("components-cart");
return /*#__PURE__*/React__default.createElement(FlyInOverlay, null, /*#__PURE__*/React__default.createElement(FlyInContainer, {

@@ -1583,3 +1586,3 @@ isOpen: isOpen

context: "Standard"
}, "View Cart"))
}, t("View Cart")))
}, cart === null || cart === void 0 ? void 0 : (_cart$products = cart.products) === null || _cart$products === void 0 ? void 0 : _cart$products.map(product => /*#__PURE__*/React__default.createElement(CartProduct, {

@@ -1608,3 +1611,4 @@ isFlyIn: true,

"Remove": "Entfernen",
"Subtotal": "Summe"
"Subtotal": "Summe",
"View Cart": "Zum Einkaufswagen"
}

@@ -1624,3 +1628,4 @@ },

"Remove": "Remove",
"Subtotal": "Subtotal"
"Subtotal": "Subtotal",
"View Cart": "View Cart"
}

@@ -1640,3 +1645,4 @@ },

"Remove": "Eliminar",
"Subtotal": "Subtotal"
"Subtotal": "Subtotal",
"View Cart": "Ver Cesta"
}

@@ -1656,3 +1662,4 @@ },

"Remove": "Supprimer",
"Subtotal": "Sous-total"
"Subtotal": "Sous-total",
"View Cart": "Voir Panier"
}

@@ -1672,3 +1679,4 @@ },

"Remove": "削除",
"Subtotal": "小計"
"Subtotal": "小計",
"View Cart": "カートを見る"
}

@@ -1688,3 +1696,4 @@ },

"Remove": "Fjern",
"Subtotal": "Totalt"
"Subtotal": "Totalt",
"View Cart": "Se Handlevogn"
}

@@ -1704,2 +1713,3 @@ },

"Subtotal": "小计",
"View Cart": "查看购物车",
"{{count}} Item_plural": "{{count}} 物品"

@@ -1706,0 +1716,0 @@ }

{
"name": "@arcteryx/components-cart",
"version": "5.2.3",
"version": "5.2.4",
"description": "Arcteryx Cart",

@@ -19,3 +19,3 @@ "source": "src/index.js",

"license": "ISC",
"gitHead": "27b21989e42e6f493b825610acd067fc06751d0a",
"gitHead": "95f2e66464a8686272dbc8190bb587993d7c5424",
"peerDependencies": {

@@ -22,0 +22,0 @@ "@arcteryx/components-contexts": "^1.1.0",

import React from "react";
import styled from "styled-components";
import { Button } from "@arcteryx/components-button";
import { useTranslation } from "react-i18next";

@@ -35,3 +36,6 @@ import CartShell from "../Cart/CartShell";

`
const FlyInCart = ({ isOpen, cart, handleChangeQuantity }) => (
const FlyInCart = ({ isOpen, cart, handleChangeQuantity }) => {
const { t } = useTranslation("components-cart");
return (
<FlyInOverlay>

@@ -44,3 +48,3 @@ <FlyInContainer isOpen={isOpen}>

<a href="/cart">
<Button context="Standard">View Cart</Button>
<Button context="Standard">{t("View Cart")}</Button>
</a>

@@ -62,5 +66,5 @@ }

</FlyInOverlay>
)
);
};
export default FlyInCart;

@@ -12,3 +12,4 @@ {

"Remove": "Entfernen",
"Subtotal": "Summe"
"Subtotal": "Summe",
"View Cart": "Zum Einkaufswagen"
}

@@ -12,3 +12,4 @@ {

"Remove": "Remove",
"Subtotal": "Subtotal"
"Subtotal": "Subtotal",
"View Cart": "View Cart"
}

@@ -12,3 +12,4 @@ {

"Remove": "Eliminar",
"Subtotal": "Subtotal"
"Subtotal": "Subtotal",
"View Cart": "Ver Cesta"
}

@@ -12,3 +12,4 @@ {

"Remove": "Supprimer",
"Subtotal": "Sous-total"
"Subtotal": "Sous-total",
"View Cart": "Voir Panier"
}

@@ -12,3 +12,4 @@ {

"Remove": "削除",
"Subtotal": "小計"
"Subtotal": "小計",
"View Cart": "カートを見る"
}

@@ -12,3 +12,4 @@ {

"Remove": "Fjern",
"Subtotal": "Totalt"
"Subtotal": "Totalt",
"View Cart": "Se Handlevogn"
}

@@ -14,3 +14,4 @@ export default {

"Remove": "Entfernen",
"Subtotal": "Summe"
"Subtotal": "Summe",
"View Cart": "Zum Einkaufswagen"
}

@@ -30,3 +31,4 @@ },

"Remove": "Remove",
"Subtotal": "Subtotal"
"Subtotal": "Subtotal",
"View Cart": "View Cart"
}

@@ -46,3 +48,4 @@ },

"Remove": "Eliminar",
"Subtotal": "Subtotal"
"Subtotal": "Subtotal",
"View Cart": "Ver Cesta"
}

@@ -62,3 +65,4 @@ },

"Remove": "Supprimer",
"Subtotal": "Sous-total"
"Subtotal": "Sous-total",
"View Cart": "Voir Panier"
}

@@ -78,3 +82,4 @@ },

"Remove": "削除",
"Subtotal": "小計"
"Subtotal": "小計",
"View Cart": "カートを見る"
}

@@ -94,3 +99,4 @@ },

"Remove": "Fjern",
"Subtotal": "Totalt"
"Subtotal": "Totalt",
"View Cart": "Se Handlevogn"
}

@@ -110,2 +116,3 @@ },

"Subtotal": "小计",
"View Cart": "查看购物车",
"{{count}} Item_plural": "{{count}} 物品"

@@ -112,0 +119,0 @@ }

@@ -12,3 +12,4 @@ {

"Subtotal": "小计",
"View Cart": "查看购物车",
"{{count}} Item_plural": "{{count}} 物品"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet