@thecb/components 9.3.6-beta.1 → 9.3.6-beta.2
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 +31 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.esm.js +31 -5
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/icons/MultiCartIcon.d.ts +1 -0
- package/src/components/atoms/icons/MultiCartIcon.js +18 -0
- package/src/components/atoms/icons/ShoppingCartIcon.js +13 -3
- package/src/components/atoms/icons/icons.stories.js +3 -1
- package/src/components/atoms/icons/index.d.ts +1 -0
- package/src/components/atoms/icons/index.js +3 -1
package/dist/index.cjs.js
CHANGED
|
@@ -15277,8 +15277,7 @@ var EmptyCartIcon = function EmptyCartIcon(_ref) {
|
|
|
15277
15277
|
|
|
15278
15278
|
var EmptyCartIcon$1 = themeComponent(EmptyCartIcon, "Icons", fallbackValues$2, "info");
|
|
15279
15279
|
|
|
15280
|
-
var ShoppingCartIcon = function ShoppingCartIcon(
|
|
15281
|
-
var iconFill = _ref.iconFill;
|
|
15280
|
+
var ShoppingCartIcon = function ShoppingCartIcon() {
|
|
15282
15281
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
15283
15282
|
width: "32px",
|
|
15284
15283
|
height: "32px",
|
|
@@ -15286,20 +15285,28 @@ var ShoppingCartIcon = function ShoppingCartIcon(_ref) {
|
|
|
15286
15285
|
version: "1.1",
|
|
15287
15286
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15288
15287
|
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
|
15289
|
-
}, /*#__PURE__*/React__default.createElement("title", null, "Icon - Cart-Empty"), /*#__PURE__*/React__default.createElement("
|
|
15288
|
+
}, /*#__PURE__*/React__default.createElement("title", null, "Icon - Cart-Empty"), /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("filter", {
|
|
15289
|
+
id: "cart-badge-filter-1"
|
|
15290
|
+
}, /*#__PURE__*/React__default.createElement("feColorMatrix", {
|
|
15291
|
+
"in": "SourceGraphic",
|
|
15292
|
+
type: "matrix",
|
|
15293
|
+
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"
|
|
15294
|
+
}))), /*#__PURE__*/React__default.createElement("g", {
|
|
15290
15295
|
id: "cart-badge-Icon---Cart-Empty",
|
|
15291
15296
|
stroke: "none",
|
|
15292
15297
|
strokeWidth: "1",
|
|
15293
15298
|
fill: "none",
|
|
15294
15299
|
fillRule: "evenodd"
|
|
15295
15300
|
}, /*#__PURE__*/React__default.createElement("g", {
|
|
15301
|
+
filter: "url(#cart-badge-filter-1)",
|
|
15296
15302
|
id: "cart-badge-Group"
|
|
15297
15303
|
}, /*#__PURE__*/React__default.createElement("g", {
|
|
15298
15304
|
transform: "translate(3.000000, 7.000000)"
|
|
15299
15305
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
15300
15306
|
d: "M18.7499553,20.499994 C19.348912,20.499994 19.8632339,20.2851508 20.2929204,19.8554643 C20.7226068,19.4257779 20.9374501,18.911456 20.9374501,18.3124993 C20.9374501,17.8958334 20.8267735,17.5117199 20.6054196,17.1601583 C20.3840658,16.8085966 20.0780771,16.5416703 19.6874531,16.3593789 L19.6874531,16.3593789 L19.9218275,15.3828187 C19.9739105,15.0963613 19.9088069,14.835945 19.7265155,14.6015706 C19.544224,14.3671962 19.3098496,14.2500089 19.0233921,14.2500089 L19.0233921,14.2500089 L8.5156047,14.2500089 L8.28123026,13.0000119 L19.7265155,13.0000119 C19.9348481,13.0000119 20.1236501,12.9349077 20.2929204,12.8046999 C20.4621906,12.6744921 20.5728678,12.4922006 20.6249508,12.2578262 L20.6249508,12.2578262 L22.4608839,4.13284556 C22.5390088,3.84638811 22.4869258,3.58597187 22.3046343,3.35159742 C22.1223429,3.11722298 21.8749478,3.00004172 21.5624486,3.00004172 L21.5624486,3.00004172 L6.21092269,3.00004172 L5.85936103,1.24222745 C5.80727802,1.03389482 5.6966008,0.858113985 5.52733057,0.714884961 C5.35806034,0.571655937 5.16925831,0.500041723 4.96092567,0.500041723 L4.96092567,0.500041723 L0.937497765,0.500041723 C0.67708152,0.500041723 0.455728279,0.591187141 0.273436848,0.773478571 C0.0911454173,0.955770002 0,1.17712324 0,1.43753949 L0,1.43753949 L0,2.062538 C0,2.32295424 0.0911454173,2.54430748 0.273436848,2.72659891 C0.455728279,2.90889035 0.67708152,3.00004172 0.937497765,3.00004172 L0.937497765,3.00004172 L3.67186625,3.00004172 L6.40623473,16.3984413 C6.06769367,16.606774 5.80076742,16.8802108 5.60545539,17.2187519 C5.41014335,17.5572929 5.31248733,17.9218752 5.31248733,18.3124993 C5.31248733,18.911456 5.52733057,19.4257779 5.95701705,19.8554643 C6.38670352,20.2851508 6.90102541,20.499994 7.49998212,20.499994 C8.09893883,20.499994 8.61326071,20.2851508 9.04294719,19.8554643 C9.47263367,19.4257779 9.6874769,18.904946 9.6874769,18.2929681 C9.6874769,17.6809901 9.46612307,17.1666689 9.02341599,16.750003 L9.02341599,16.750003 L17.2265214,16.750003 C16.7838143,17.1666689 16.5624605,17.6809901 16.5624605,18.2929681 C16.5624605,18.904946 16.7773037,19.4257779 17.2069902,19.8554643 C17.6366767,20.2851508 18.1509986,20.499994 18.7499553,20.499994 Z",
|
|
15301
15307
|
id: "cart-badge-shopping-cart",
|
|
15302
|
-
fill:
|
|
15308
|
+
fill: "#FFFFFF",
|
|
15309
|
+
fillRule: "nonzero"
|
|
15303
15310
|
})))));
|
|
15304
15311
|
};
|
|
15305
15312
|
|
|
@@ -18293,6 +18300,25 @@ var KebabMenuIcon = function KebabMenuIcon() {
|
|
|
18293
18300
|
}));
|
|
18294
18301
|
};
|
|
18295
18302
|
|
|
18303
|
+
var MultiCartIcon = function MultiCartIcon(_ref) {
|
|
18304
|
+
var _ref$iconFill = _ref.iconFill,
|
|
18305
|
+
iconFill = _ref$iconFill === void 0 ? "#3B5BDB" : _ref$iconFill,
|
|
18306
|
+
_ref$height = _ref.height,
|
|
18307
|
+
height = _ref$height === void 0 ? 17 : _ref$height,
|
|
18308
|
+
_ref$width = _ref.width,
|
|
18309
|
+
width = _ref$width === void 0 ? 20 : _ref$width;
|
|
18310
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
18311
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
18312
|
+
width: width,
|
|
18313
|
+
height: height,
|
|
18314
|
+
viewBox: "0 0 ".concat(width, " ").concat(height),
|
|
18315
|
+
fill: "none"
|
|
18316
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
18317
|
+
d: "M17.5312 9.99414C17.4648 10.1934 17.3652 10.3594 17.2324 10.459C17.0996 10.5918 16.9336 10.625 16.7676 10.625H7.03906L7.23828 11.6875H16.1699C16.4023 11.6875 16.6016 11.7871 16.7676 11.9863C16.9004 12.1855 16.9668 12.418 16.9336 12.6504L16.7344 13.4805C17.0664 13.6465 17.2988 13.8789 17.498 14.1777C17.6973 14.4766 17.7969 14.8086 17.7969 15.1406C17.7969 15.6719 17.5977 16.1035 17.2324 16.4688C16.8672 16.834 16.4355 17 15.9375 17C15.4062 17 14.9746 16.834 14.6094 16.4688C14.2441 16.1035 14.0781 15.6719 14.0781 15.1406C14.0781 14.6094 14.2441 14.1777 14.6426 13.8125H7.66992C8.03516 14.1777 8.23438 14.6094 8.23438 15.1406C8.23438 15.6719 8.03516 16.1035 7.66992 16.4688C7.30469 16.834 6.87305 17 6.375 17C5.84375 17 5.41211 16.834 5.04688 16.4688C4.68164 16.1035 4.51562 15.6719 4.51562 15.1406C4.51562 14.8086 4.58203 14.5098 4.74805 14.2109C4.91406 13.9453 5.14648 13.7129 5.44531 13.5137L3.12109 2.125H0.796875C0.564453 2.125 0.365234 2.05859 0.232422 1.89258C0.0664062 1.75977 0 1.56055 0 1.32812V0.796875C0 0.597656 0.0664062 0.398438 0.232422 0.232422C0.365234 0.0996094 0.564453 0 0.796875 0H4.2168C4.38281 0 4.54883 0.0664062 4.68164 0.199219C4.81445 0.332031 4.91406 0.464844 4.98047 0.630859L5.2793 2.125H18.3281C18.5938 2.125 18.793 2.22461 18.959 2.42383C19.0918 2.62305 19.1582 2.85547 19.0918 3.08789L17.5312 9.99414Z",
|
|
18318
|
+
fill: iconFill
|
|
18319
|
+
}));
|
|
18320
|
+
};
|
|
18321
|
+
|
|
18296
18322
|
var color$2 = "#15749D";
|
|
18297
18323
|
var hoverColor$1 = "#116285";
|
|
18298
18324
|
var activeColor$1 = "#0E506D";
|
|
@@ -50031,6 +50057,7 @@ exports.LoginForm = LoginForm;
|
|
|
50031
50057
|
exports.Modal = Modal$1;
|
|
50032
50058
|
exports.Module = Module$1;
|
|
50033
50059
|
exports.Motion = Motion;
|
|
50060
|
+
exports.MultiCartIcon = MultiCartIcon;
|
|
50034
50061
|
exports.NavFooter = NavFooter;
|
|
50035
50062
|
exports.NavHeader = NavHeader;
|
|
50036
50063
|
exports.NavMenuDesktop = NavMenuDesktop$1;
|