@thecb/components 6.1.5 → 6.2.0
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 +42 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +42 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/icons/ExternalLinkicon.js +39 -0
- package/src/components/atoms/icons/index.js +2 -0
- package/src/components/molecules/periscope-dashboard-iframe/PeriscopeDashboardIframe.js +3 -2
package/dist/index.cjs.js
CHANGED
|
@@ -14406,6 +14406,43 @@ var ErroredIcon = function ErroredIcon() {
|
|
|
14406
14406
|
}))));
|
|
14407
14407
|
};
|
|
14408
14408
|
|
|
14409
|
+
var ExternalLinkIcon = function ExternalLinkIcon(_ref) {
|
|
14410
|
+
var linkColor = _ref.linkColor,
|
|
14411
|
+
text = _ref.text;
|
|
14412
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
14413
|
+
width: "14",
|
|
14414
|
+
height: "14",
|
|
14415
|
+
viewBox: "0 0 14 14",
|
|
14416
|
+
fill: "none",
|
|
14417
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
14418
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
14419
|
+
fillRule: "evenodd",
|
|
14420
|
+
clipRule: "evenodd",
|
|
14421
|
+
d: "M1.86092 1.59483C1.92074 1.56953 1.98651 1.55554 2.05554 1.55554H2.6111H4.94443C5.22057 1.55554 5.44443 1.7794 5.44443 2.05554V2.6111C5.44443 2.88724 5.22057 3.1111 4.94443 3.1111H3.1111V10.8889H10.8889V9.05554C10.8889 8.7794 11.1127 8.55554 11.3889 8.55554H11.9444C12.2206 8.55554 12.4444 8.7794 12.4444 9.05554V11.9444C12.4444 12.2206 12.2206 12.4444 11.9444 12.4444H11.3889C11.3507 12.4444 11.3135 12.4401 11.2778 12.432C11.242 12.4401 11.2048 12.4444 11.1667 12.4444H2.6111H2.05554C1.7794 12.4444 1.55554 12.2206 1.55554 11.9444V11.3889V2.6111V2.05554C1.55554 2.05554 1.55554 2.05554 1.55554 2.05554C1.55554 2.01307 1.56084 1.97183 1.57081 1.93246C1.60944 1.77983 1.71826 1.65517 1.86092 1.59483ZM7.77776 2.05554C7.77776 1.7794 8.00162 1.55554 8.27776 1.55554H11.3889H11.9444C12.2206 1.55554 12.4444 1.7794 12.4444 2.05554V2.6111V5.72221C12.4444 5.99835 12.2206 6.22221 11.9444 6.22221H11.3889C11.1127 6.22221 10.8889 5.99835 10.8889 5.72221V4.26638L6.89793 8.25733C6.70267 8.45259 6.38608 8.45259 6.19082 8.25733L5.79798 7.8645C5.60272 7.66923 5.60272 7.35265 5.79798 7.15739L9.84428 3.1111H8.27776C8.00162 3.1111 7.77776 2.88724 7.77776 2.6111V2.05554Z",
|
|
14422
|
+
fill: "#292A33"
|
|
14423
|
+
}), /*#__PURE__*/React__default.createElement("mask", {
|
|
14424
|
+
id: "mask0_902_435-".concat(text),
|
|
14425
|
+
style: "mask-type:alpha",
|
|
14426
|
+
maskUnits: "userSpaceOnUse",
|
|
14427
|
+
x: "1",
|
|
14428
|
+
y: "1",
|
|
14429
|
+
width: "12",
|
|
14430
|
+
height: "12"
|
|
14431
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
14432
|
+
fillRule: "evenodd",
|
|
14433
|
+
clipRule: "evenodd",
|
|
14434
|
+
d: "M1.86092 1.59483C1.92074 1.56953 1.98651 1.55554 2.05554 1.55554H2.6111H4.94443C5.22057 1.55554 5.44443 1.7794 5.44443 2.05554V2.6111C5.44443 2.88724 5.22057 3.1111 4.94443 3.1111H3.1111V10.8889H10.8889V9.05554C10.8889 8.7794 11.1127 8.55554 11.3889 8.55554H11.9444C12.2206 8.55554 12.4444 8.7794 12.4444 9.05554V11.9444C12.4444 12.2206 12.2206 12.4444 11.9444 12.4444H11.3889C11.3507 12.4444 11.3135 12.4401 11.2778 12.432C11.242 12.4401 11.2048 12.4444 11.1667 12.4444H2.6111H2.05554C1.7794 12.4444 1.55554 12.2206 1.55554 11.9444V11.3889V2.6111V2.05554C1.55554 2.05554 1.55554 2.05554 1.55554 2.05554C1.55554 2.01307 1.56084 1.97183 1.57081 1.93246C1.60944 1.77983 1.71826 1.65517 1.86092 1.59483ZM7.77776 2.05554C7.77776 1.7794 8.00162 1.55554 8.27776 1.55554H11.3889H11.9444C12.2206 1.55554 12.4444 1.7794 12.4444 2.05554V2.6111V5.72221C12.4444 5.99835 12.2206 6.22221 11.9444 6.22221H11.3889C11.1127 6.22221 10.8889 5.99835 10.8889 5.72221V4.26638L6.89793 8.25733C6.70267 8.45259 6.38608 8.45259 6.19082 8.25733L5.79798 7.8645C5.60272 7.66923 5.60272 7.35265 5.79798 7.15739L9.84428 3.1111H8.27776C8.00162 3.1111 7.77776 2.88724 7.77776 2.6111V2.05554Z",
|
|
14435
|
+
fill: linkColor
|
|
14436
|
+
})), /*#__PURE__*/React__default.createElement("g", {
|
|
14437
|
+
mask: "url(#mask0_902_435-".concat(text, ")")
|
|
14438
|
+
}, /*#__PURE__*/React__default.createElement("rect", {
|
|
14439
|
+
x: "-0.0864258",
|
|
14440
|
+
width: "14",
|
|
14441
|
+
height: "14",
|
|
14442
|
+
fill: "#292A33"
|
|
14443
|
+
})));
|
|
14444
|
+
};
|
|
14445
|
+
|
|
14409
14446
|
var FailedIcon = function FailedIcon() {
|
|
14410
14447
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
14411
14448
|
width: "32px",
|
|
@@ -43372,7 +43409,9 @@ var PeriscopeDashboardIframe = function PeriscopeDashboardIframe(_ref) {
|
|
|
43372
43409
|
periscopeDataSuccess = _ref.periscopeDataSuccess,
|
|
43373
43410
|
periscopeDataFailure = _ref.periscopeDataFailure,
|
|
43374
43411
|
periscopeDataRequestSuccess = _ref.periscopeDataRequestSuccess,
|
|
43375
|
-
periscopeDataRequestFailure = _ref.periscopeDataRequestFailure
|
|
43412
|
+
periscopeDataRequestFailure = _ref.periscopeDataRequestFailure,
|
|
43413
|
+
_ref$timerMS = _ref.timerMS,
|
|
43414
|
+
timerMS = _ref$timerMS === void 0 ? 20000 : _ref$timerMS;
|
|
43376
43415
|
|
|
43377
43416
|
var _useState = React.useState(0),
|
|
43378
43417
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -43387,7 +43426,7 @@ var PeriscopeDashboardIframe = function PeriscopeDashboardIframe(_ref) {
|
|
|
43387
43426
|
if (!periscopeDataSuccess) {
|
|
43388
43427
|
periscopeDataRequestFailure();
|
|
43389
43428
|
}
|
|
43390
|
-
},
|
|
43429
|
+
}, timerMS);
|
|
43391
43430
|
return function () {
|
|
43392
43431
|
return clearTimeout(time.timer);
|
|
43393
43432
|
};
|
|
@@ -43803,6 +43842,7 @@ exports.EmailForm = EmailForm;
|
|
|
43803
43842
|
exports.EmptyCartIcon = EmptyCartIcon$1;
|
|
43804
43843
|
exports.ErroredIcon = ErroredIcon;
|
|
43805
43844
|
exports.ExternalLink = ExternalLink;
|
|
43845
|
+
exports.ExternalLinkIcon = ExternalLinkIcon;
|
|
43806
43846
|
exports.FailedIcon = FailedIcon;
|
|
43807
43847
|
exports.ForgotPasswordForm = ForgotPasswordForm;
|
|
43808
43848
|
exports.ForgotPasswordIcon = ForgotPasswordIcon$1;
|