@commonsku/styles 1.14.5 → 1.14.8

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.js CHANGED
@@ -2245,6 +2245,35 @@ function EllipsisIcon(_a) {
2245
2245
  React__default.createElement("path", { d: "M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z", fill: color }));
2246
2246
  }
2247
2247
 
2248
+ function CreditCardIcon(_a) {
2249
+ var _b = _a.color, color = _b === void 0 ? teal.main : _b, _c = _a.size, size = _c === void 0 ? "medium" : _c, _d = _a.altText, altText = _d === void 0 ? "Credit Card" : _d, props = __rest(_a, ["color", "size", "altText"]);
2250
+ return React__default.createElement(SVG, __assign({ size: size, "aria-labelledby": "CreditCardIcon" }, props),
2251
+ React__default.createElement("title", { id: "CreditCardIcon" }, altText),
2252
+ React__default.createElement("path", { d: "M20 4H4C2.89 4 2.01 4.89 2.01 6L2 18C2 19.11 2.89 20 4 20H20C21.11 20 22 19.11 22 18V6C22 4.89 21.11 4 20 4ZM20 18H4V12H20V18ZM20 8H4V6H20V8Z", fill: color }));
2253
+ }
2254
+
2255
+ function ShopIcon(_a) {
2256
+ var _b = _a.color, color = _b === void 0 ? teal.main : _b, _c = _a.size, size = _c === void 0 ? "medium" : _c, _d = _a.altText, altText = _d === void 0 ? "Credit Card" : _d, props = __rest(_a, ["color", "size", "altText"]);
2257
+ return React__default.createElement(SVG, __assign({ size: size, "aria-labelledby": "ShopIcon" }, props),
2258
+ React__default.createElement("path", { fill: "none", d: "M0 0h24v24H0z" }),
2259
+ React__default.createElement("title", { id: "ShopIcon" }, altText),
2260
+ React__default.createElement("path", { d: "M21.8978 8.89L20.8478 4.52C20.6278 3.62 19.8478 3 18.9378 3H5.04781C4.14781 3 3.35781 3.63 3.14781 4.52L2.09781 8.89C1.85781 9.91 2.07781 10.95 2.71781 11.77C2.79781 11.88 2.90781 11.96 2.99781 12.06V19C2.99781 20.1 3.89781 21 4.99781 21H18.9978C20.0978 21 20.9978 20.1 20.9978 19V12.06C21.0878 11.97 21.1978 11.88 21.2778 11.78C21.9178 10.96 22.1478 9.91 21.8978 8.89ZM18.9078 4.99L19.9578 9.36C20.0578 9.78 19.9678 10.2 19.7078 10.53C19.5678 10.71 19.2678 11 18.7678 11C18.1578 11 17.6278 10.51 17.5578 9.86L16.9778 5L18.9078 4.99ZM12.9978 5H14.9578L15.4978 9.52C15.5478 9.91 15.4278 10.3 15.1678 10.59C14.9478 10.85 14.6278 11 14.2178 11C13.5478 11 12.9978 10.41 12.9978 9.69V5ZM8.48781 9.52L9.03781 5H10.9978V9.69C10.9978 10.41 10.4478 11 9.70781 11C9.36781 11 9.05781 10.85 8.81781 10.59C8.56781 10.3 8.44781 9.91 8.48781 9.52ZM4.03781 9.36L5.04781 5H7.01781L6.43781 9.86C6.35781 10.51 5.83781 11 5.22781 11C4.73781 11 4.42781 10.71 4.29781 10.53C4.02781 10.21 3.93781 9.78 4.03781 9.36ZM4.99781 19V12.97C5.07781 12.98 5.14781 13 5.22781 13C6.09781 13 6.88781 12.64 7.46781 12.05C8.06781 12.65 8.86781 13 9.77781 13C10.6478 13 11.4278 12.64 12.0078 12.07C12.5978 12.64 13.3978 13 14.2978 13C15.1378 13 15.9378 12.65 16.5378 12.05C17.1178 12.64 17.9078 13 18.7778 13C18.8578 13 18.9278 12.98 19.0078 12.97V19H4.99781Z", fill: color }));
2261
+ }
2262
+
2263
+ function HistoryIcon(_a) {
2264
+ var _b = _a.color, color = _b === void 0 ? teal.main : _b, _c = _a.size, size = _c === void 0 ? "medium" : _c, _d = _a.altText, altText = _d === void 0 ? "Credit Card" : _d, props = __rest(_a, ["color", "size", "altText"]);
2265
+ return React__default.createElement(SVG, __assign({ size: size, "aria-labelledby": "HistoryIcon" }, props),
2266
+ React__default.createElement("title", { id: "HistoryIcon" }, altText),
2267
+ React__default.createElement("path", { d: "M13.5 3C8.53 3 4.5 7.03 4.5 12H1.5L5.39 15.89L5.46 16.03L9.5 12H6.5C6.5 8.13 9.63 5 13.5 5C17.37 5 20.5 8.13 20.5 12C20.5 15.87 17.37 19 13.5 19C11.57 19 9.82 18.21 8.56 16.94L7.14 18.36C8.77 19.99 11.01 21 13.5 21C18.47 21 22.5 16.97 22.5 12C22.5 7.03 18.47 3 13.5 3ZM12.5 8V13L16.75 15.52L17.52 14.24L14 12.15V8H12.5Z", fill: color }));
2268
+ }
2269
+
2270
+ function HandleIcon(_a) {
2271
+ var _b = _a.color, color = _b === void 0 ? teal.main : _b, _c = _a.size, size = _c === void 0 ? "medium" : _c, _d = _a.altText, altText = _d === void 0 ? "Credit Card" : _d, props = __rest(_a, ["color", "size", "altText"]);
2272
+ return React__default.createElement(SVG, __assign({ size: size, "aria-labelledby": "HandleIcon" }, props),
2273
+ React__default.createElement("title", { id: "HandleIcon" }, altText),
2274
+ React__default.createElement("path", { d: "M11 18C11 19.1 10.1 20 9 20C7.9 20 7 19.1 7 18C7 16.9 7.9 16 9 16C10.1 16 11 16.9 11 18ZM9 10C7.9 10 7 10.9 7 12C7 13.1 7.9 14 9 14C10.1 14 11 13.1 11 12C11 10.9 10.1 10 9 10ZM9 4C7.9 4 7 4.9 7 6C7 7.1 7.9 8 9 8C10.1 8 11 7.1 11 6C11 4.9 10.1 4 9 4ZM15 8C16.1 8 17 7.1 17 6C17 4.9 16.1 4 15 4C13.9 4 13 4.9 13 6C13 7.1 13.9 8 15 8ZM15 10C13.9 10 13 10.9 13 12C13 13.1 13.9 14 15 14C16.1 14 17 13.1 17 12C17 10.9 16.1 10 15 10ZM15 16C13.9 16 13 16.9 13 18C13 19.1 13.9 20 15 20C16.1 20 17 19.1 17 18C17 16.9 16.1 16 15 16Z", fill: color }));
2275
+ }
2276
+
2248
2277
  var avatarSizes = {
2249
2278
  tiny: {
2250
2279
  size: '24px',
@@ -5623,13 +5652,13 @@ function AlertNotification(_a) {
5623
5652
  var _b = _a.alertType, alertType = _b === void 0 ? "neutral" : _b, _c = _a.learnMore, learnMore = _c === void 0 ? false : _c, href = _a.href, linkText = _a.linkText, children = _a.children, _d = _a.style, props = __rest(_a, ["alertType", "learnMore", "href", "linkText", "children", "style"]);
5624
5653
  function notificationIcon() {
5625
5654
  if (alertType === "success") {
5626
- return React__default.createElement(CompletedCheckmarkIcon, { color: colors.green.dark, mr: 8, style: { flexShrink: "0" } });
5655
+ return React__default.createElement(CompletedCheckmarkIcon, { color: colors.green.dark, mr: 8, style: { flexShrink: 0 } });
5627
5656
  }
5628
5657
  else if (alertType === "error") {
5629
- return React__default.createElement(AlertIcon, { color: colors.errors.dark, mr: 8, style: { flexShrink: "0" } });
5658
+ return React__default.createElement(AlertIcon, { color: colors.errors.dark, mr: 8, style: { flexShrink: 0 } });
5630
5659
  }
5631
5660
  else {
5632
- return React__default.createElement(InfoIcon, { color: colors.navy.dark, mr: 8, style: { flexShrink: "0" } });
5661
+ return React__default.createElement(InfoIcon, { color: colors.navy.dark, mr: 8, style: { flexShrink: 0 } });
5633
5662
  }
5634
5663
  }
5635
5664
  NotificationVariantStyles(alertType);
@@ -6594,6 +6623,7 @@ exports.CommentIcon = CommentIcon;
6594
6623
  exports.CompletedCheckmarkIcon = CompletedCheckmarkIcon;
6595
6624
  exports.CouponIcon = CouponIcon;
6596
6625
  exports.CreatableSelect = SKUCreatableSelect;
6626
+ exports.CreditCardIcon = CreditCardIcon;
6597
6627
  exports.CustomDateInput = CustomDateInput;
6598
6628
  exports.Datepicker = Datepicker;
6599
6629
  exports.DaysBodyWrapper = DaysBodyWrapper;
@@ -6632,8 +6662,10 @@ exports.H3 = H3;
6632
6662
  exports.H4 = H4;
6633
6663
  exports.H5 = H5;
6634
6664
  exports.H6 = H6;
6665
+ exports.HandleIcon = HandleIcon;
6635
6666
  exports.HeaderWrapper = HeaderWrapper;
6636
6667
  exports.HeadlessTable = HeadlessTable;
6668
+ exports.HistoryIcon = HistoryIcon;
6637
6669
  exports.IconButton = IconButton;
6638
6670
  exports.IconDoc = IconDoc;
6639
6671
  exports.InfoIcon = InfoIcon;
@@ -6705,6 +6737,7 @@ exports.SalesOrderCircleIcon = SalesOrderCircleIcon;
6705
6737
  exports.SearchIcon = SearchIcon;
6706
6738
  exports.Select = SKUSelect;
6707
6739
  exports.SharedStyles = SharedStyles;
6740
+ exports.ShopIcon = ShopIcon;
6708
6741
  exports.ShowPopup = ShowPopup;
6709
6742
  exports.SidePanel = SidePanel;
6710
6743
  exports.SimpleWindowedTable = SimpleWindowedTable;