@thecb/components 10.1.2-beta.0 → 10.1.2-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 +15 -45
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -3
- package/dist/index.esm.js +16 -45
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/icons/ShoppingCartIcon.js +20 -38
- package/src/components/atoms/icons/icons.stories.js +1 -3
- package/src/components/atoms/icons/index.d.ts +0 -1
- package/src/components/atoms/icons/index.js +1 -3
- package/src/components/atoms/icons/MultiCartIcon.d.ts +0 -1
- package/src/components/atoms/icons/MultiCartIcon.js +0 -20
package/dist/index.cjs.js
CHANGED
|
@@ -15278,37 +15278,24 @@ var EmptyCartIcon = function EmptyCartIcon(_ref) {
|
|
|
15278
15278
|
|
|
15279
15279
|
var EmptyCartIcon$1 = themeComponent(EmptyCartIcon, "Icons", fallbackValues$2, "info");
|
|
15280
15280
|
|
|
15281
|
-
var ShoppingCartIcon = function ShoppingCartIcon() {
|
|
15281
|
+
var ShoppingCartIcon = function ShoppingCartIcon(_ref) {
|
|
15282
|
+
var _ref$iconFill = _ref.iconFill,
|
|
15283
|
+
iconFill = _ref$iconFill === void 0 ? "#FFFFFF" : _ref$iconFill,
|
|
15284
|
+
_ref$iconWidth = _ref.iconWidth,
|
|
15285
|
+
iconWidth = _ref$iconWidth === void 0 ? "32" : _ref$iconWidth,
|
|
15286
|
+
_ref$iconHeight = _ref.iconHeight,
|
|
15287
|
+
iconHeight = _ref$iconHeight === void 0 ? "32" : _ref$iconHeight,
|
|
15288
|
+
iconStyle = _ref.iconStyle;
|
|
15282
15289
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
15283
|
-
width: "32px",
|
|
15284
|
-
height: "32px",
|
|
15285
|
-
viewBox: "0 0 32 32",
|
|
15286
|
-
version: "1.1",
|
|
15287
15290
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15288
|
-
|
|
15289
|
-
|
|
15290
|
-
|
|
15291
|
-
|
|
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", {
|
|
15296
|
-
id: "cart-badge-Icon---Cart-Empty",
|
|
15297
|
-
stroke: "none",
|
|
15298
|
-
strokeWidth: "1",
|
|
15299
|
-
fill: "none",
|
|
15300
|
-
fillRule: "evenodd"
|
|
15301
|
-
}, /*#__PURE__*/React__default.createElement("g", {
|
|
15302
|
-
filter: "url(#cart-badge-filter-1)",
|
|
15303
|
-
id: "cart-badge-Group"
|
|
15304
|
-
}, /*#__PURE__*/React__default.createElement("g", {
|
|
15305
|
-
transform: "translate(3.000000, 7.000000)"
|
|
15291
|
+
width: iconWidth,
|
|
15292
|
+
height: iconHeight,
|
|
15293
|
+
viewBox: "0 0 ".concat(iconWidth, " ").concat(iconHeight),
|
|
15294
|
+
style: iconStyle
|
|
15306
15295
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
15307
|
-
d: "
|
|
15308
|
-
|
|
15309
|
-
|
|
15310
|
-
fillRule: "nonzero"
|
|
15311
|
-
})))));
|
|
15296
|
+
d: "M22.6875 13.4336C22.6016 13.6914 22.4727 13.9062 22.3008 14.0352C22.1289 14.207 21.9141 14.25 21.6992 14.25H9.10938L9.36719 15.625H20.9258C21.2266 15.625 21.4844 15.7539 21.6992 16.0117C21.8711 16.2695 21.957 16.5703 21.9141 16.8711L21.6562 17.9453C22.0859 18.1602 22.3867 18.4609 22.6445 18.8477C22.9023 19.2344 23.0312 19.6641 23.0312 20.0938C23.0312 20.7812 22.7734 21.3398 22.3008 21.8125C21.8281 22.2852 21.2695 22.5 20.625 22.5C19.9375 22.5 19.3789 22.2852 18.9062 21.8125C18.4336 21.3398 18.2188 20.7812 18.2188 20.0938C18.2188 19.4062 18.4336 18.8477 18.9492 18.375H9.92578C10.3984 18.8477 10.6562 19.4062 10.6562 20.0938C10.6562 20.7812 10.3984 21.3398 9.92578 21.8125C9.45312 22.2852 8.89453 22.5 8.25 22.5C7.5625 22.5 7.00391 22.2852 6.53125 21.8125C6.05859 21.3398 5.84375 20.7812 5.84375 20.0938C5.84375 19.6641 5.92969 19.2773 6.14453 18.8906C6.35938 18.5469 6.66016 18.2461 7.04688 17.9883L4.03906 3.25H1.03125C0.730469 3.25 0.472656 3.16406 0.300781 2.94922C0.0859375 2.77734 0 2.51953 0 2.21875V1.53125C0 1.27344 0.0859375 1.01562 0.300781 0.800781C0.472656 0.628906 0.730469 0.5 1.03125 0.5H5.45703C5.67188 0.5 5.88672 0.585938 6.05859 0.757812C6.23047 0.929688 6.35938 1.10156 6.44531 1.31641L6.83203 3.25H23.7188C24.0625 3.25 24.3203 3.37891 24.5352 3.63672C24.707 3.89453 24.793 4.19531 24.707 4.49609L22.6875 13.4336Z",
|
|
15297
|
+
fill: iconFill
|
|
15298
|
+
}));
|
|
15312
15299
|
};
|
|
15313
15300
|
|
|
15314
15301
|
var TrashIcon = function TrashIcon(_ref) {
|
|
@@ -18301,22 +18288,6 @@ var KebabMenuIcon = function KebabMenuIcon() {
|
|
|
18301
18288
|
}));
|
|
18302
18289
|
};
|
|
18303
18290
|
|
|
18304
|
-
var MultiCartIcon = function MultiCartIcon(_ref) {
|
|
18305
|
-
var _ref$iconFill = _ref.iconFill,
|
|
18306
|
-
iconFill = _ref$iconFill === void 0 ? "#3B5BDB" : _ref$iconFill,
|
|
18307
|
-
iconStyle = _ref.iconStyle;
|
|
18308
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
18309
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
18310
|
-
width: "20",
|
|
18311
|
-
height: "17",
|
|
18312
|
-
viewBox: "0 0 20 17",
|
|
18313
|
-
style: iconStyle
|
|
18314
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
18315
|
-
d: "M22.6875 13.4336C22.6016 13.6914 22.4727 13.9062 22.3008 14.0352C22.1289 14.207 21.9141 14.25 21.6992 14.25H9.10938L9.36719 15.625H20.9258C21.2266 15.625 21.4844 15.7539 21.6992 16.0117C21.8711 16.2695 21.957 16.5703 21.9141 16.8711L21.6562 17.9453C22.0859 18.1602 22.3867 18.4609 22.6445 18.8477C22.9023 19.2344 23.0312 19.6641 23.0312 20.0938C23.0312 20.7812 22.7734 21.3398 22.3008 21.8125C21.8281 22.2852 21.2695 22.5 20.625 22.5C19.9375 22.5 19.3789 22.2852 18.9062 21.8125C18.4336 21.3398 18.2188 20.7812 18.2188 20.0938C18.2188 19.4062 18.4336 18.8477 18.9492 18.375H9.92578C10.3984 18.8477 10.6562 19.4062 10.6562 20.0938C10.6562 20.7812 10.3984 21.3398 9.92578 21.8125C9.45312 22.2852 8.89453 22.5 8.25 22.5C7.5625 22.5 7.00391 22.2852 6.53125 21.8125C6.05859 21.3398 5.84375 20.7812 5.84375 20.0938C5.84375 19.6641 5.92969 19.2773 6.14453 18.8906C6.35938 18.5469 6.66016 18.2461 7.04688 17.9883L4.03906 3.25H1.03125C0.730469 3.25 0.472656 3.16406 0.300781 2.94922C0.0859375 2.77734 0 2.51953 0 2.21875V1.53125C0 1.27344 0.0859375 1.01562 0.300781 0.800781C0.472656 0.628906 0.730469 0.5 1.03125 0.5H5.45703C5.67188 0.5 5.88672 0.585938 6.05859 0.757812C6.23047 0.929688 6.35938 1.10156 6.44531 1.31641L6.83203 3.25H23.7188C24.0625 3.25 24.3203 3.37891 24.5352 3.63672C24.707 3.89453 24.793 4.19531 24.707 4.49609L22.6875 13.4336Z",
|
|
18316
|
-
fill: iconFill
|
|
18317
|
-
}));
|
|
18318
|
-
};
|
|
18319
|
-
|
|
18320
18291
|
var color$2 = "#15749D";
|
|
18321
18292
|
var hoverColor$1 = "#116285";
|
|
18322
18293
|
var activeColor$1 = "#0E506D";
|
|
@@ -50169,7 +50140,6 @@ exports.LoginForm = LoginForm;
|
|
|
50169
50140
|
exports.Modal = Modal$1;
|
|
50170
50141
|
exports.Module = Module$1;
|
|
50171
50142
|
exports.Motion = Motion;
|
|
50172
|
-
exports.MultiCartIcon = MultiCartIcon;
|
|
50173
50143
|
exports.NavFooter = NavFooter;
|
|
50174
50144
|
exports.NavHeader = NavHeader;
|
|
50175
50145
|
exports.NavMenuDesktop = NavMenuDesktop$1;
|