@thecb/components 9.3.6-beta.0 → 9.3.6-beta.1
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/dist/index.cjs.js
CHANGED
|
@@ -15286,20 +15286,13 @@ var ShoppingCartIcon = function ShoppingCartIcon(_ref) {
|
|
|
15286
15286
|
version: "1.1",
|
|
15287
15287
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15288
15288
|
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
|
15289
|
-
}, /*#__PURE__*/React__default.createElement("title", null, "Icon - Cart-Empty"), /*#__PURE__*/React__default.createElement("
|
|
15290
|
-
id: "cart-badge-filter-1"
|
|
15291
|
-
}, /*#__PURE__*/React__default.createElement("feColorMatrix", {
|
|
15292
|
-
"in": "SourceGraphic",
|
|
15293
|
-
type: "matrix",
|
|
15294
|
-
values: "0 0 0 0 1.000000 0 0 0 0 1.000000 0 0 0 0 1.000000 0 0 0 1.000000 0"
|
|
15295
|
-
}))), /*#__PURE__*/React__default.createElement("g", {
|
|
15289
|
+
}, /*#__PURE__*/React__default.createElement("title", null, "Icon - Cart-Empty"), /*#__PURE__*/React__default.createElement("g", {
|
|
15296
15290
|
id: "cart-badge-Icon---Cart-Empty",
|
|
15297
15291
|
stroke: "none",
|
|
15298
15292
|
strokeWidth: "1",
|
|
15299
15293
|
fill: "none",
|
|
15300
15294
|
fillRule: "evenodd"
|
|
15301
15295
|
}, /*#__PURE__*/React__default.createElement("g", {
|
|
15302
|
-
filter: "url(#cart-badge-filter-1)",
|
|
15303
15296
|
id: "cart-badge-Group"
|
|
15304
15297
|
}, /*#__PURE__*/React__default.createElement("g", {
|
|
15305
15298
|
transform: "translate(3.000000, 7.000000)"
|
|
@@ -26725,7 +26718,8 @@ var ImageBox = function ImageBox(_ref) {
|
|
|
26725
26718
|
};
|
|
26726
26719
|
|
|
26727
26720
|
var Jumbo = function Jumbo(_ref) {
|
|
26728
|
-
var
|
|
26721
|
+
var themeValues = _ref.themeValues,
|
|
26722
|
+
showButton = _ref.showButton,
|
|
26729
26723
|
heading = _ref.heading,
|
|
26730
26724
|
buttonLink = _ref.buttonLink,
|
|
26731
26725
|
subHeading = _ref.subHeading,
|
|
@@ -26741,7 +26735,8 @@ var Jumbo = function Jumbo(_ref) {
|
|
|
26741
26735
|
_ref$showCartStatus = _ref.showCartStatus,
|
|
26742
26736
|
showCartStatus = _ref$showCartStatus === void 0 ? false : _ref$showCartStatus,
|
|
26743
26737
|
openCartSlider = _ref.openCartSlider,
|
|
26744
|
-
extraStyles = _ref.extraStyles
|
|
26738
|
+
extraStyles = _ref.extraStyles,
|
|
26739
|
+
cartStatusExtraStyles = _ref.cartStatusExtraStyles;
|
|
26745
26740
|
|
|
26746
26741
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
26747
26742
|
isMobile = _useContext.isMobile;
|
|
@@ -26766,7 +26761,8 @@ var Jumbo = function Jumbo(_ref) {
|
|
|
26766
26761
|
minHeight: "100%",
|
|
26767
26762
|
justify: isMobile && !showCartStatus ? "center" : showButton || showCartStatus ? "space-between" : "left",
|
|
26768
26763
|
align: "center",
|
|
26769
|
-
nowrap: showCartStatus
|
|
26764
|
+
nowrap: showCartStatus,
|
|
26765
|
+
extraStyles: cartStatusExtraStyles
|
|
26770
26766
|
}, /*#__PURE__*/React__default.createElement(Title$1, {
|
|
26771
26767
|
variant: isMobile ? "small" : "large",
|
|
26772
26768
|
as: "h1",
|
|
@@ -26783,6 +26779,7 @@ var Jumbo = function Jumbo(_ref) {
|
|
|
26783
26779
|
variant: "primary",
|
|
26784
26780
|
extraStyles: "margin: 0 0 65px 0; min-width: 320px;"
|
|
26785
26781
|
}), showCartStatus && /*#__PURE__*/React__default.createElement(CartStatus, {
|
|
26782
|
+
themeValues: themeValues,
|
|
26786
26783
|
total: total,
|
|
26787
26784
|
itemsCount: itemsCount,
|
|
26788
26785
|
openCart: openCartSlider
|