@thecb/components 4.4.4 → 4.5.0-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
@@ -15222,215 +15222,6 @@ var ResetPasswordIcon = function ResetPasswordIcon() {
15222
15222
  }))))));
15223
15223
  };
15224
15224
 
15225
- var PeriscopeFailedIcon = function PeriscopeFailedIcon() {
15226
- return /*#__PURE__*/React__default.createElement("svg", {
15227
- xmlns: "http://www.w3.org/2000/svg",
15228
- xmlnsXlink: "http://www.w3.org/1999/xlink",
15229
- width: "632",
15230
- height: "345",
15231
- viewBox: "0 0 632 345"
15232
- }, /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("path", {
15233
- id: "periscope-failed-path-1",
15234
- d: "M298.876 295.918v28.33a4.498 4.498 0 01-4.159 4.488l-.335.012h-17.978a4.498 4.498 0 01-4.494-4.5 4.498 4.498 0 014.16-4.489l.334-.012 13.484.002v-23.831h8.988zm17.978 0v23.83h13.483c2.37 0 4.31 1.835 4.482 4.164l.012.336a4.498 4.498 0 01-4.159 4.488l-.335.012H312.36a4.497 4.497 0 01-4.483-4.164l-.012-.336v-28.33h8.989zm224.157-92.063a4.498 4.498 0 014.495 4.501 4.498 4.498 0 01-4.16 4.488l-.335.013h-16.67L488.01 250.85a4.49 4.49 0 01-5.106.984l-.34-.173-29.755-16.502v-11.252l31.117 18.199 27.97-29.25h-7.963a4.498 4.498 0 01-4.495-4.5 4.498 4.498 0 014.16-4.488l.335-.013h37.078zm-325.5-32.5a4.501 4.501 0 013.294 5.444 28.718 28.718 0 00-.828 6.85c0 5.071 1.337 10.012 3.92 14.631a4.504 4.504 0 01-1.724 6.126 4.491 4.491 0 01-6.117-1.727 41.106 41.106 0 01-2.574-5.511l-65.128 26.791 5.331 2.199v10.126l-18.653-8.327-.34-.165c-3.227-1.723-3.128-6.474.23-8.035l.2-.088 76.159-31.329a37.7 37.7 0 01.794-13.686 4.494 4.494 0 015.436-3.299zm335.545-38.385a4 4 0 014 4v55.01a4 4 0 01-4 4h-54.921a4 4 0 01-4-4v-55.01a4 4 0 014-4h54.921z"
15235
- }), /*#__PURE__*/React__default.createElement("filter", {
15236
- id: "periscope-failed-filter-2",
15237
- width: "111.3%",
15238
- height: "124.5%",
15239
- x: "-5.7%",
15240
- y: "-12.3%",
15241
- filterUnits: "objectBoundingBox"
15242
- }, /*#__PURE__*/React__default.createElement("feOffset", {
15243
- "in": "SourceAlpha",
15244
- result: "shadowOffsetOuter1"
15245
- }), /*#__PURE__*/React__default.createElement("feGaussianBlur", {
15246
- "in": "shadowOffsetOuter1",
15247
- result: "shadowBlurOuter1",
15248
- stdDeviation: "8"
15249
- }), /*#__PURE__*/React__default.createElement("feColorMatrix", {
15250
- "in": "shadowBlurOuter1",
15251
- values: "0 0 0 0 0.0823529412 0 0 0 0 0.454901961 0 0 0 0 0.615686275 0 0 0 0.5 0"
15252
- })), /*#__PURE__*/React__default.createElement("path", {
15253
- id: "periscope-failed-path-3",
15254
- d: "M151.685 24.754V37.13l-24.838.186a2 2 0 00-1.985 2v2.766a2 2 0 002.015 1.985l24.808-.186v7.876h-91.01V26.95a2 2 0 011.995-2l89.015-.196zM113.693 37.33h-38.41a2 2 0 00-2 2v2.751a2 2 0 002 2h38.41a2 2 0 002-2v-2.75a2 2 0 00-2-2z"
15255
- }), /*#__PURE__*/React__default.createElement("filter", {
15256
- id: "periscope-failed-filter-4",
15257
- width: "152.7%",
15258
- height: "277.7%",
15259
- x: "-26.4%",
15260
- y: "-88.9%",
15261
- filterUnits: "objectBoundingBox"
15262
- }, /*#__PURE__*/React__default.createElement("feOffset", {
15263
- "in": "SourceAlpha",
15264
- result: "shadowOffsetOuter1"
15265
- }), /*#__PURE__*/React__default.createElement("feGaussianBlur", {
15266
- "in": "shadowOffsetOuter1",
15267
- result: "shadowBlurOuter1",
15268
- stdDeviation: "8"
15269
- }), /*#__PURE__*/React__default.createElement("feColorMatrix", {
15270
- "in": "shadowBlurOuter1",
15271
- values: "0 0 0 0 0.161570617 0 0 0 0 0.163300979 0 0 0 0 0.199501812 0 0 0 0.3 0"
15272
- })), /*#__PURE__*/React__default.createElement("path", {
15273
- id: "periscope-failed-path-5",
15274
- d: "M452.809 0l124.97.196a2 2 0 011.996 2v27.305a2 2 0 01-2 2h-.003l-124.963-.196V19.128h9.236a2 2 0 002-2v-2.751a2 2 0 00-2-2h-9.236V0zm55.047 12.377h-32.679a2 2 0 00-2 2v2.75a2 2 0 002 2h32.679a2 2 0 002-2v-2.75a2 2 0 00-2-2zm25.217 0h-12.047a2 2 0 00-2 2v2.75a2 2 0 002 2h12.047a2 2 0 002-2v-2.75a2 2 0 00-2-2zm32.094 0h-18.924a2 2 0 00-2 2v2.75a2 2 0 002 2h18.924a2 2 0 002-2v-2.75a2 2 0 00-2-2z"
15275
- }), /*#__PURE__*/React__default.createElement("filter", {
15276
- id: "periscope-failed-filter-6",
15277
- width: "137.8%",
15278
- height: "252.4%",
15279
- x: "-18.9%",
15280
- y: "-76.2%",
15281
- filterUnits: "objectBoundingBox"
15282
- }, /*#__PURE__*/React__default.createElement("feOffset", {
15283
- "in": "SourceAlpha",
15284
- result: "shadowOffsetOuter1"
15285
- }), /*#__PURE__*/React__default.createElement("feGaussianBlur", {
15286
- "in": "shadowOffsetOuter1",
15287
- result: "shadowBlurOuter1",
15288
- stdDeviation: "8"
15289
- }), /*#__PURE__*/React__default.createElement("feColorMatrix", {
15290
- "in": "shadowBlurOuter1",
15291
- values: "0 0 0 0 0.161570617 0 0 0 0 0.163300979 0 0 0 0 0.199501812 0 0 0 0.3 0"
15292
- })), /*#__PURE__*/React__default.createElement("path", {
15293
- id: "periscope-failed-path-7",
15294
- d: "M180.022 51.757a2 2 0 012 2v27.505a2 2 0 01-2 2H2a2 2 0 01-2-2V53.757a2 2 0 012-2h178.022zm-141.7 12.377h-23.65a2 2 0 00-2 2v2.751a2 2 0 002 2h23.65a2 2 0 002-2v-2.75a2 2 0 00-2-2zm25.344 0H51.538a2 2 0 00-2 2v2.751a2 2 0 002 2h12.128a2 2 0 002-2v-2.75a2 2 0 00-2-2zm56.45 0H76.883a2 2 0 00-2 2v2.751a2 2 0 002 2h43.233a2 2 0 002-2v-2.75a2 2 0 00-2-2zm47.234 0h-34.017a2 2 0 00-2 2v2.751a2 2 0 002 2h34.017a2 2 0 002-2v-2.75a2 2 0 00-2-2z"
15295
- }), /*#__PURE__*/React__default.createElement("filter", {
15296
- id: "periscope-failed-filter-8",
15297
- width: "126.4%",
15298
- height: "252.4%",
15299
- x: "-13.2%",
15300
- y: "-76.2%",
15301
- filterUnits: "objectBoundingBox"
15302
- }, /*#__PURE__*/React__default.createElement("feOffset", {
15303
- "in": "SourceAlpha",
15304
- result: "shadowOffsetOuter1"
15305
- }), /*#__PURE__*/React__default.createElement("feGaussianBlur", {
15306
- "in": "shadowOffsetOuter1",
15307
- result: "shadowBlurOuter1",
15308
- stdDeviation: "8"
15309
- }), /*#__PURE__*/React__default.createElement("feColorMatrix", {
15310
- "in": "shadowBlurOuter1",
15311
- values: "0 0 0 0 0.161570617 0 0 0 0 0.163300979 0 0 0 0 0.199501812 0 0 0 0.3 0"
15312
- })), /*#__PURE__*/React__default.createElement("path", {
15313
- id: "periscope-failed-path-9",
15314
- d: "M598 27.004a2 2 0 012 2v27.504a2 2 0 01-2 2h-42.944V46.13h30.272a2 2 0 001.994-1.85l.006-.15v-2.75a2 2 0 00-2-2H554.97l-.041-.176a4.002 4.002 0 00-3.674-2.994l-.2-.005h-54.921a4 4 0 00-3.995 3.8l-.005.2v18.302h-72.157a2 2 0 01-2-2V29.004a2 2 0 012-2H598zM456.299 39.38H432.65a2 2 0 00-2 2v2.75a2 2 0 002 2h23.649a2 2 0 002-2v-2.75a2 2 0 00-2-2zm25.345 0h-12.129a2 2 0 00-2 2v2.75a2 2 0 002 2h12.129a2 2 0 002-2v-2.75a2 2 0 00-2-2z"
15315
- }), /*#__PURE__*/React__default.createElement("filter", {
15316
- id: "periscope-failed-filter-10",
15317
- width: "126.4%",
15318
- height: "252.4%",
15319
- x: "-13.2%",
15320
- y: "-76.2%",
15321
- filterUnits: "objectBoundingBox"
15322
- }, /*#__PURE__*/React__default.createElement("feOffset", {
15323
- "in": "SourceAlpha",
15324
- result: "shadowOffsetOuter1"
15325
- }), /*#__PURE__*/React__default.createElement("feGaussianBlur", {
15326
- "in": "shadowOffsetOuter1",
15327
- result: "shadowBlurOuter1",
15328
- stdDeviation: "8"
15329
- }), /*#__PURE__*/React__default.createElement("feColorMatrix", {
15330
- "in": "shadowBlurOuter1",
15331
- values: "0 0 0 0 0.161570617 0 0 0 0 0.163300979 0 0 0 0 0.199501812 0 0 0 0.3 0"
15332
- }))), /*#__PURE__*/React__default.createElement("g", {
15333
- fill: "none",
15334
- fillRule: "evenodd",
15335
- stroke: "none",
15336
- strokeWidth: "1"
15337
- }, /*#__PURE__*/React__default.createElement("g", {
15338
- transform: "translate(-404 -259)"
15339
- }, /*#__PURE__*/React__default.createElement("g", {
15340
- transform: "translate(132 195)"
15341
- }, /*#__PURE__*/React__default.createElement("g", {
15342
- transform: "translate(288 64)"
15343
- }, /*#__PURE__*/React__default.createElement("path", {
15344
- fill: "#15749D",
15345
- fillOpacity: "0.3",
15346
- d: "M302.247 310.746c36.612 0 66.292 6.549 66.292 14.627S338.86 340 302.247 340c-36.613 0-66.292-6.55-66.292-14.627 0-8.078 29.68-14.627 66.292-14.627zM65.904 208.318c6.071 0 11.057 4.655 11.608 10.6a6.983 6.983 0 014.09-1.321c3.885 0 7.034 3.159 7.034 7.055 0 3.818-3.022 6.926-6.798 7.051l-.237.004H49.756c-4.548 0-8.234-3.696-8.234-8.256 0-4.56 3.686-8.257 8.234-8.257 1.848 0 3.549.618 4.923 1.65 1.378-4.919 5.88-8.526 11.225-8.526zm195.894-57.546c16.134 0 29.213 13.097 29.213 29.254 0 16.157-13.08 29.254-29.213 29.254-16.134 0-29.214-13.097-29.214-29.254 0-16.157 13.08-29.254 29.214-29.254zm80.899 0c16.134 0 29.213 13.097 29.213 29.254 0 16.157-13.08 29.254-29.213 29.254-16.135 0-29.214-13.097-29.214-29.254 0-16.157 13.08-29.254 29.214-29.254zm-80.899 22.503c-5.514 0-10.317 3.673-12.173 9.018a3.377 3.377 0 002.077 4.297 3.37 3.37 0 004.29-2.08l.16-.42c1.027-2.474 3.233-4.064 5.646-4.064 2.547 0 4.863 1.771 5.805 4.484l.12.302a3.37 3.37 0 004.17 1.778 3.377 3.377 0 002.077-4.297c-1.855-5.345-6.658-9.018-12.172-9.018zm80.9 0c-5.515 0-10.318 3.673-12.174 9.018a3.377 3.377 0 002.077 4.297 3.37 3.37 0 004.29-2.08l.16-.42c1.027-2.474 3.233-4.064 5.646-4.064 2.547 0 4.863 1.771 5.805 4.484l.12.302a3.37 3.37 0 004.17 1.778 3.377 3.377 0 002.077-4.297c-1.855-5.345-6.659-9.018-12.172-9.018zM519.99 12.426c12.578 0 22.908 9.642 24.048 21.958a14.473 14.473 0 018.471-2.737c8.049 0 14.575 6.544 14.575 14.617 0 7.966-6.358 14.445-14.262 14.612l-.313.003H486.54c-9.42 0-17.057-7.658-17.057-17.106 0-9.446 7.637-17.104 17.057-17.104 3.83 0 7.352 1.281 10.2 3.418 2.855-10.189 12.179-17.66 23.252-17.66zM170.591 0c6.61 0 12.239 4.15 14.476 9.99a6.571 6.571 0 011.792-.252c2.114 0 3.994.996 5.208 2.543a9.767 9.767 0 014.028-.872c5.431 0 9.833 4.414 9.833 9.86 0 5.354-4.254 9.712-9.557 9.858l-.276.004h-42.442c-5.43 0-9.833-4.415-9.833-9.861 0-5.447 4.403-9.861 9.833-9.861.666 0 1.315.068 1.942.194C157.345 4.93 163.386 0 170.59 0z"
15347
- }), /*#__PURE__*/React__default.createElement("path", {
15348
- fill: "#FFF",
15349
- d: "M446.067 111.391v175.276a2.5 2.5 0 01-2.5 2.5h-282.64a2.5 2.5 0 01-2.5-2.5V111.39h287.64zm-184.27 39.38c-16.133 0-29.213 13.098-29.213 29.255 0 16.157 13.08 29.254 29.214 29.254s29.213-13.097 29.213-29.254c0-16.157-13.08-29.254-29.213-29.254zm80.9 0c-16.135 0-29.214 13.098-29.214 29.255 0 16.157 13.08 29.254 29.214 29.254s29.213-13.097 29.213-29.254c0-16.157-13.08-29.254-29.213-29.254z"
15350
- }), /*#__PURE__*/React__default.createElement("path", {
15351
- fill: "#292A33",
15352
- fillRule: "nonzero",
15353
- d: "M452.808 155.272v111.39l73.035.002a4.498 4.498 0 014.494 4.5 4.498 4.498 0 01-4.159 4.488l-.335.013-73.035-.001.001 7.877c0 6.733-5.37 12.211-12.055 12.373l-.305.004H164.045c-6.724 0-12.194-5.377-12.356-12.072l-.004-.305v-7.877H94.381a4.498 4.498 0 01-4.494-4.5 4.498 4.498 0 014.159-4.488l.335-.012 57.302-.001.001-44.897 6.741-2.773.001 64.548a5.622 5.622 0 005.397 5.622l.22.004H440.45c3.03 0 5.498-2.4 5.614-5.405l.004-.221v-128.27h6.741zm129.214 111.392a4.498 4.498 0 014.495 4.5 4.498 4.498 0 01-4.16 4.488l-.335.013h-33.707a4.498 4.498 0 01-4.495-4.5 4.498 4.498 0 014.16-4.49l.335-.011h33.707zm-507.865 0a4.498 4.498 0 014.495 4.5 4.498 4.498 0 01-4.16 4.488l-.335.013H56.18a4.498 4.498 0 01-4.495-4.5 4.498 4.498 0 014.16-4.49l.335-.011h17.977zm242.477-33.13l.478.01c6.182.271 10.978 5.775 10.978 12.367a3.373 3.373 0 01-3.37 3.375c-1.8 0-3.27-1.412-3.367-3.19l-.005-.185-.011-.394c-.167-2.905-2.173-5.107-4.503-5.227l-.2-.005h-31.022l-.313.012c-2.384.193-4.4 2.564-4.4 5.614a3.373 3.373 0 01-3.37 3.375 3.373 3.373 0 01-3.372-3.375c0-6.657 4.89-12.204 11.16-12.373l.295-.004h31.022zm26.063-89.513c19.858 0 35.955 16.119 35.955 36.004 0 19.886-16.097 36.006-35.955 36.006-18.994 0-34.546-14.746-35.865-33.43l-9.166-.061c-1.288 18.712-16.854 33.491-35.868 33.491-19.857 0-35.955-16.12-35.955-36.006 0-19.885 16.097-36.004 35.955-36.004 13.281 0 24.88 7.21 31.106 17.934 3.515-1.212 6.847-1.818 9.994-1.818 2.95 0 5.89.533 8.822 1.6 6.255-10.605 17.786-17.716 30.977-17.716zm-184.27 36.005v29.234l-6.742 2.773v-32.007h6.741zm184.27-29.254c-16.135 0-29.214 13.096-29.214 29.253 0 16.158 13.079 29.255 29.214 29.255 16.135 0 29.213-13.097 29.213-29.255 0-16.157-13.078-29.253-29.213-29.253zm-80.899 0c-16.134 0-29.214 13.097-29.214 29.253 0 16.157 13.08 29.255 29.214 29.255 16.135 0 29.213-13.097 29.213-29.255 0-16.157-13.078-29.253-29.213-29.253zm0 22.503c5.514 0 10.317 3.673 12.172 9.018a3.377 3.377 0 01-2.077 4.297 3.37 3.37 0 01-4.17-1.778l-.12-.302c-.942-2.713-3.258-4.484-5.805-4.484-2.413 0-4.619 1.59-5.645 4.064l-.16.42a3.37 3.37 0 01-4.29 2.08 3.377 3.377 0 01-2.078-4.297c1.856-5.345 6.66-9.018 12.173-9.018zm80.9 0c5.512 0 10.316 3.673 12.171 9.018a3.377 3.377 0 01-2.077 4.297 3.37 3.37 0 01-4.17-1.778l-.12-.302c-.942-2.713-3.258-4.484-5.805-4.484-2.413 0-4.619 1.59-5.645 4.064l-.16.42a3.37 3.37 0 01-4.291 2.08 3.377 3.377 0 01-2.077-4.297c1.856-5.345 6.66-9.018 12.173-9.018zm-40.45-8.638a3.374 3.374 0 00-3.372 3.376 3.374 3.374 0 003.372 3.375c1.861 0 3.37-1.51 3.37-3.375a3.373 3.373 0 00-3.37-3.376zM440.45 68.635c6.725 0 12.195 5.377 12.356 12.072l.004.305-.002 23.465h.002v6.751h-.002l.001 12.539h-6.74l-.002-12.54h-287.64v37.294h-6.74V81.01c0-6.733 5.369-12.21 12.054-12.372l.305-.004h276.404zm0 6.75H164.045a5.622 5.622 0 00-5.614 5.406l-.004.22v23.466h287.64V81.012a5.622 5.622 0 00-5.397-5.622l-.22-.004zM173.034 85.513l.211.005a4.498 4.498 0 014.283 4.496c0 2.486-2.012 4.5-4.494 4.5a4.498 4.498 0 01-4.495-4.5c0-2.486 2.013-4.5 4.495-4.5zm13.483 0l.211.005a4.498 4.498 0 014.283 4.496c0 2.486-2.012 4.5-4.494 4.5a4.498 4.498 0 01-4.495-4.5c0-2.486 2.013-4.5 4.495-4.5zm13.483 0l.212.005a4.498 4.498 0 014.282 4.496c0 2.486-2.012 4.5-4.494 4.5a4.498 4.498 0 01-4.494-4.5c0-2.486 2.012-4.5 4.494-4.5z"
15354
- }), /*#__PURE__*/React__default.createElement("path", {
15355
- fill: "#CACED8",
15356
- d: "M38.321 160.898a2 2 0 012 2v2.751a2 2 0 01-2 2H14.672a2 2 0 01-2-2v-2.75a2 2 0 012-2h23.65zm25.345 0a2 2 0 012 2v2.751a2 2 0 01-2 2H51.538a2 2 0 01-2-2v-2.75a2 2 0 012-2h12.128zm56.45 0a2 2 0 012 2v2.751a2 2 0 01-2 2H76.883a2 2 0 01-2-2v-2.75a2 2 0 012-2h43.233zm47.234 0a2 2 0 012 2v2.751a2 2 0 01-2 2h-34.017a2 2 0 01-2-2v-2.75a2 2 0 012-2h34.017zm288.949-24.753a2 2 0 012 2v2.75a2 2 0 01-2 2H432.65a2 2 0 01-2-2v-2.75a2 2 0 012-2h23.649zm25.345 0a2 2 0 012 2v2.75a2 2 0 01-2 2h-12.129a2 2 0 01-2-2v-2.75a2 2 0 012-2h12.129zm103.684 0a2 2 0 012 2v2.75a2 2 0 01-2 2h-30.273l.001-5.925c0-.283-.03-.56-.085-.826h30.357zm-471.635-2.05a2 2 0 012 2v2.751a2 2 0 01-2 2h-38.41a2 2 0 01-2-2v-2.75a2 2 0 012-2h38.41zm37.992-.2v6.75l-24.808.186a2 2 0 01-2.015-1.985v-2.766a2 2 0 011.985-2l24.838-.186zm356.171-24.754a2 2 0 012 2v2.75a2 2 0 01-2 2h-32.679a2 2 0 01-2-2v-2.75a2 2 0 012-2h32.679zm-45.811 0a2 2 0 012 2v2.75a2 2 0 01-2 2h-9.236v-6.75h9.236zm71.028 0a2 2 0 012 2v2.75a2 2 0 01-2 2h-12.047a2 2 0 01-2-2v-2.75a2 2 0 012-2h12.047zm32.094 0a2 2 0 012 2v2.75a2 2 0 01-2 2h-18.924a2 2 0 01-2-2v-2.75a2 2 0 012-2h18.924zm-121.6-33.755a2.5 2.5 0 012.5 2.5v26.754h-287.64V77.886a2.5 2.5 0 012.5-2.5h282.64zM173.034 85.512a4.498 4.498 0 00-4.495 4.501c0 2.486 2.013 4.5 4.495 4.5a4.498 4.498 0 004.494-4.5c0-2.486-2.012-4.5-4.494-4.5zm13.483 0a4.498 4.498 0 00-4.495 4.501c0 2.486 2.013 4.5 4.495 4.5a4.498 4.498 0 004.494-4.5c0-2.486-2.012-4.5-4.494-4.5zm13.483 0a4.498 4.498 0 00-4.494 4.501c0 2.486 2.012 4.5 4.494 4.5a4.498 4.498 0 004.494-4.5c0-2.486-2.012-4.5-4.494-4.5z"
15357
- }), /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("use", {
15358
- fill: "#000",
15359
- filter: "url(#periscope-failed-filter-2)",
15360
- xlinkHref: "#periscope-failed-path-1"
15361
- }), /*#__PURE__*/React__default.createElement("use", {
15362
- fill: "#15749D",
15363
- xlinkHref: "#periscope-failed-path-1"
15364
- })), /*#__PURE__*/React__default.createElement("g", {
15365
- transform: "translate(0 96.764)"
15366
- }, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("use", {
15367
- fill: "#000",
15368
- filter: "url(#periscope-failed-filter-4)",
15369
- xlinkHref: "#periscope-failed-path-3"
15370
- }), /*#__PURE__*/React__default.createElement("use", {
15371
- fill: "#FFF",
15372
- xlinkHref: "#periscope-failed-path-3"
15373
- })), /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("use", {
15374
- fill: "#000",
15375
- filter: "url(#periscope-failed-filter-6)",
15376
- xlinkHref: "#periscope-failed-path-5"
15377
- }), /*#__PURE__*/React__default.createElement("use", {
15378
- fill: "#FFF",
15379
- xlinkHref: "#periscope-failed-path-5"
15380
- })), /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("use", {
15381
- fill: "#000",
15382
- filter: "url(#periscope-failed-filter-8)",
15383
- xlinkHref: "#periscope-failed-path-7"
15384
- }), /*#__PURE__*/React__default.createElement("use", {
15385
- fill: "#FFF",
15386
- xlinkHref: "#periscope-failed-path-7"
15387
- })), /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("use", {
15388
- fill: "#000",
15389
- filter: "url(#periscope-failed-filter-10)",
15390
- xlinkHref: "#periscope-failed-path-9"
15391
- }), /*#__PURE__*/React__default.createElement("use", {
15392
- fill: "#FFF",
15393
- xlinkHref: "#periscope-failed-path-9"
15394
- })), /*#__PURE__*/React__default.createElement("path", {
15395
- fill: "#FFF",
15396
- d: "M524.284 47.541a3 3 0 013 3v13.002h13a3 3 0 013 3v2.002a3 3 0 01-3 3h-13v13.002a3 3 0 01-3 3h-2a3 3 0 01-3-3V71.544h-13a3 3 0 01-3-3v-2a3 3 0 013-3h13V50.54a3 3 0 013-3h2z",
15397
- transform: "rotate(45 523.284 67.544)"
15398
- })))))));
15399
- };
15400
-
15401
- var CheckIcon = function CheckIcon() {
15402
- return /*#__PURE__*/React__default.createElement("svg", {
15403
- xmlns: "http://www.w3.org/2000/svg",
15404
- width: "32",
15405
- height: "21",
15406
- viewBox: "0 0 32 21"
15407
- }, /*#__PURE__*/React__default.createElement("g", {
15408
- fill: "none",
15409
- fillRule: "evenodd",
15410
- stroke: "none",
15411
- strokeWidth: "1"
15412
- }, /*#__PURE__*/React__default.createElement("g", {
15413
- fillRule: "nonzero",
15414
- transform: "translate(-870 -426)"
15415
- }, /*#__PURE__*/React__default.createElement("g", {
15416
- transform: "translate(132 332)"
15417
- }, /*#__PURE__*/React__default.createElement("g", {
15418
- transform: "translate(0 70)"
15419
- }, /*#__PURE__*/React__default.createElement("g", {
15420
- transform: "translate(738 24)"
15421
- }, /*#__PURE__*/React__default.createElement("rect", {
15422
- width: "32",
15423
- height: "21",
15424
- x: "0",
15425
- y: "0",
15426
- fill: "#CFE5F4",
15427
- rx: "1"
15428
- }), /*#__PURE__*/React__default.createElement("path", {
15429
- fill: "#184390",
15430
- d: "M20.9 8.536a.292.292 0 00.213-.086.282.282 0 00.087-.209v-.295h.6c.05 0 .096-.02.137-.061A.186.186 0 0022 7.75v-.393c0-.082-.042-.139-.125-.172l-5.8-2.16a.127.127 0 00-.15 0l-5.8 2.16c-.083.033-.125.09-.125.172v.393c0 .05.02.094.063.135.041.041.087.061.137.061h.6v.295c0 .082.03.151.087.209.059.057.13.086.213.086h9.8zm.3 5.893v-.492a.282.282 0 00-.087-.208.292.292 0 00-.213-.086H20V8.929h-1.6v4.714h-1.6V8.929h-1.6v4.714h-1.6V8.929H12v4.714h-.9a.292.292 0 00-.213.086.282.282 0 00-.087.209v.49h10.4zM21.8 16c.05 0 .096-.02.137-.061a.186.186 0 00.063-.135v-.393a.563.563 0 00-.175-.418.584.584 0 00-.425-.172H10.6a.584.584 0 00-.425.172.563.563 0 00-.175.418v.393c0 .049.02.094.063.135.041.04.087.061.137.061h11.6z"
15431
- })))))));
15432
- };
15433
-
15434
15225
  var color$2 = "#15749D";
15435
15226
  var hoverColor$1 = "#116285";
15436
15227
  var activeColor$1 = "#0E506D";
@@ -16612,7 +16403,7 @@ function parseToRgb(color) {
16612
16403
  };
16613
16404
  }
16614
16405
 
16615
- var rgbaMatched = rgbaRegex.exec(normalizedColor);
16406
+ var rgbaMatched = rgbaRegex.exec(normalizedColor.substring(0, 50));
16616
16407
 
16617
16408
  if (rgbaMatched) {
16618
16409
  return {
@@ -16643,7 +16434,7 @@ function parseToRgb(color) {
16643
16434
  };
16644
16435
  }
16645
16436
 
16646
- var hslaMatched = hslaRegex.exec(normalizedColor);
16437
+ var hslaMatched = hslaRegex.exec(normalizedColor.substring(0, 50));
16647
16438
 
16648
16439
  if (hslaMatched) {
16649
16440
  var _hue = parseInt("" + hslaMatched[1], 10);
@@ -21842,7 +21633,6 @@ var Jumbo$1 = withWindowSize(Jumbo);
21842
21633
 
21843
21634
  var fontWeight$4 = {
21844
21635
  "default": "600",
21845
- pS: "600",
21846
21636
  p: "600",
21847
21637
  pL: "600",
21848
21638
  h6: "700"
@@ -21857,8 +21647,7 @@ var LabeledAmount = function LabeledAmount(_ref) {
21857
21647
  label = _ref.label,
21858
21648
  amount = _ref.amount,
21859
21649
  themeValues = _ref.themeValues,
21860
- as = _ref.as,
21861
- extraStyles = _ref.extraStyles;
21650
+ as = _ref.as;
21862
21651
  var LabeledAmountText = variant === "h6" ? Heading$1 : Paragraph$1;
21863
21652
  return /*#__PURE__*/React__default.createElement(Stack, {
21864
21653
  direction: "row"
@@ -21866,12 +21655,12 @@ var LabeledAmount = function LabeledAmount(_ref) {
21866
21655
  variant: variant,
21867
21656
  as: as,
21868
21657
  weight: themeValues.fontWeight,
21869
- extraStyles: "".concat(extraStyles, "; text-align: start; flex: 3;")
21658
+ extraStyles: "text-align: start; flex: 3;"
21870
21659
  }, label, ":"), /*#__PURE__*/React__default.createElement(LabeledAmountText, {
21871
21660
  variant: variant,
21872
21661
  as: as,
21873
21662
  weight: themeValues.fontWeight,
21874
- extraStyles: "".concat(extraStyles, "; text-align: end; flex: 1;")
21663
+ extraStyles: "text-align: end; flex: 1;"
21875
21664
  }, amount));
21876
21665
  };
21877
21666
 
@@ -21883,7 +21672,7 @@ var weightTitle = {
21883
21672
  };
21884
21673
  var paragraphVariant = {
21885
21674
  "default": "pL",
21886
- small: "pS"
21675
+ small: "p"
21887
21676
  };
21888
21677
  var fallbackValues$l = {
21889
21678
  weightTitle: weightTitle,
@@ -39223,53 +39012,43 @@ var Modal$1 = function Modal(_ref) {
39223
39012
 
39224
39013
  var fontSize$8 = {
39225
39014
  "default": "1.375rem",
39226
- largeTitle: "1.75rem",
39227
- small: "1.25rem"
39015
+ largeTitle: "1.75rem"
39228
39016
  };
39229
39017
  var fontWeight$5 = {
39230
39018
  "default": "600",
39231
- largeTitle: "700",
39232
- small: "600"
39019
+ largeTitle: "700"
39233
39020
  };
39234
39021
  var fontColor = {
39235
39022
  "default": CHARADE_GREY,
39236
- largeTitle: CHARADE_GREY,
39237
- small: CHARADE_GREY
39023
+ largeTitle: CHARADE_GREY
39238
39024
  };
39239
39025
  var lineHeight$4 = {
39240
39026
  "default": "2rem",
39241
- largeTitle: "2rem",
39242
- small: "2rem"
39027
+ largeTitle: "2rem"
39243
39028
  };
39244
39029
  var textAlign = {
39245
39030
  "default": "left",
39246
- largeTitle: "left",
39247
- small: "left"
39031
+ largeTitle: "left"
39248
39032
  };
39249
39033
  var titleType = {
39250
39034
  "default": "h5",
39251
- largeTitle: "h1",
39252
- small: "h6"
39035
+ largeTitle: "h1"
39253
39036
  };
39254
39037
  var titleSpacing = {
39255
39038
  "default": "0.5rem",
39256
- largeTitle: "1.125rem",
39257
- small: "0.5rem"
39039
+ largeTitle: "1.125rem"
39258
39040
  };
39259
39041
  var boxShadow$1 = {
39260
39042
  "default": "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
39261
- largeTitle: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
39262
- small: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)"
39043
+ largeTitle: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)"
39263
39044
  };
39264
39045
  var borderRadius = {
39265
39046
  "default": "0.25rem",
39266
- largeTitle: "0.25rem",
39267
- small: "0.25rem"
39047
+ largeTitle: "0.25rem"
39268
39048
  };
39269
39049
  var backgroundColor$6 = {
39270
39050
  "default": WHITE,
39271
- largeTitle: WHITE,
39272
- small: WHITE
39051
+ largeTitle: WHITE
39273
39052
  };
39274
39053
  var fallbackValues$v = {
39275
39054
  fontSize: fontSize$8,
@@ -39297,7 +39076,7 @@ var Module = function Module(_ref) {
39297
39076
  variant = _ref$variant === void 0 ? "default" : _ref$variant,
39298
39077
  children = _ref.children;
39299
39078
  return /*#__PURE__*/React__default.createElement(React.Fragment, null, heading && /*#__PURE__*/React__default.createElement(Heading$1, {
39300
- variant: variant === "small" ? "h6" : variant === "default" ? "h5" : "h2",
39079
+ variant: variant === "default" ? "h5" : "h2",
39301
39080
  weight: themeValues.fontWeight,
39302
39081
  color: themeValues.fontColor,
39303
39082
  margin: "".concat(spacing, " 0 ").concat(themeValues.titleSpacing, " 0"),
@@ -40124,11 +39903,11 @@ var lineItem = {
40124
39903
  };
40125
39904
  var labeledAmountSubtotal = {
40126
39905
  "default": "pL",
40127
- small: "pS"
39906
+ small: "p"
40128
39907
  };
40129
39908
  var labeledAmountTotal = {
40130
39909
  "default": "h6",
40131
- small: "p"
39910
+ small: "pL"
40132
39911
  };
40133
39912
  var fallbackValues$y = {
40134
39913
  backgroundColor: backgroundColor$8,
@@ -40142,7 +39921,6 @@ var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
40142
39921
  feeElems = _ref.feeElems,
40143
39922
  subtotal = _ref.subtotal,
40144
39923
  total = _ref.total,
40145
- variant = _ref.variant,
40146
39924
  themeValues = _ref.themeValues;
40147
39925
  return /*#__PURE__*/React__default.createElement(Stack, {
40148
39926
  childGap: "16px"
@@ -40156,8 +39934,7 @@ var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
40156
39934
  as: "h2",
40157
39935
  variant: themeValues.labeledAmountTotal,
40158
39936
  label: "Total",
40159
- amount: displayCurrency(total),
40160
- extraStyles: variant === "small" && "font-weight: ".concat(FONT_WEIGHT_BOLD, ";")
39937
+ amount: displayCurrency(total)
40161
39938
  }));
40162
39939
  };
40163
39940
 
@@ -40202,8 +39979,6 @@ var PaymentDetails = function PaymentDetails(_ref4) {
40202
39979
  _fees = _ref4.fees,
40203
39980
  subtotal = _ref4.subtotal,
40204
39981
  total = _ref4.total,
40205
- _ref4$variant = _ref4.variant,
40206
- variant = _ref4$variant === void 0 ? "default" : _ref4$variant,
40207
39982
  _ref4$hideTitle = _ref4.hideTitle,
40208
39983
  hideTitle = _ref4$hideTitle === void 0 ? false : _ref4$hideTitle,
40209
39984
  _ref4$titleText = _ref4.titleText,
@@ -40269,15 +40044,13 @@ var PaymentDetails = function PaymentDetails(_ref4) {
40269
40044
  feeElems: feeElems,
40270
40045
  subtotal: subtotal,
40271
40046
  total: total,
40272
- themeValues: themeValues,
40273
- variant: variant
40047
+ themeValues: themeValues
40274
40048
  })) : /*#__PURE__*/React__default.createElement(PaymentDetailsContent, {
40275
40049
  lineItemElems: lineItemElems,
40276
40050
  feeElems: feeElems,
40277
40051
  subtotal: subtotal,
40278
40052
  total: total,
40279
- themeValues: themeValues,
40280
- variant: variant
40053
+ themeValues: themeValues
40281
40054
  });
40282
40055
  var title = hideTitle ? /*#__PURE__*/React__default.createElement(React.Fragment, null) : isCollapsible ? /*#__PURE__*/React__default.createElement(Box, {
40283
40056
  width: "100%",
@@ -42034,7 +41807,6 @@ exports.CenterStack = CenterStack$1;
42034
41807
  exports.ChangePasswordForm = ChangePasswordForm;
42035
41808
  exports.ChargebackIcon = ChargebackIcon;
42036
41809
  exports.ChargebackReversalIcon = ChargebackReversalIcon;
42037
- exports.CheckIcon = CheckIcon;
42038
41810
  exports.Checkbox = Checkbox$1;
42039
41811
  exports.CheckboxList = CheckboxList$1;
42040
41812
  exports.CheckmarkIcon = CheckmarkIcon;
@@ -42111,7 +41883,6 @@ exports.PaymentMethodIcon = PaymentMethodIcon$1;
42111
41883
  exports.PaymentSearchIcon = PaymentSearchIcon;
42112
41884
  exports.PaymentsIconSmall = PaymentsIconSmall$1;
42113
41885
  exports.PendingIcon = PendingIcon;
42114
- exports.PeriscopeFailedIcon = PeriscopeFailedIcon;
42115
41886
  exports.PhoneForm = PhoneForm;
42116
41887
  exports.Placeholder = Placeholder$1;
42117
41888
  exports.ProcessingFee = ProcessingFee$1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "4.4.4",
3
+ "version": "4.5.0-beta.1",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -0,0 +1,76 @@
1
+ import React from "react";
2
+ import { FONT_WEIGHT_REGULAR } from "../../../constants/style_constants";
3
+ import { FIREFLY_GREY } from "../../../constants/colors";
4
+ import { DetailText } from "./Detail.styled";
5
+ import { safeChildren } from "../../../util/general";
6
+ import {
7
+ fallbackValues,
8
+ mobileFallbackValues,
9
+ MOBILE_BREAKPOINT
10
+ } from "./Detail.theme";
11
+ import { themeComponent } from "../../../util/themeUtils";
12
+
13
+ /*
14
+ New responsive text component for Detail elements
15
+ (Block level text elements which are smaller than "Title" elements)
16
+ Size is decoupled from tag
17
+ Comes with two variants - "large" and "small"
18
+ Large variant results in text that is 1.5rem (24px desktop, 21px mobile)
19
+ Small variant results in text that is 1.25rem/1.2142rem (20px desktop, 17px mobile)
20
+
21
+ If you need a smaller larger size, use the <Title /> atom, which has larger variants
22
+
23
+ Use the "as" prop to specify element type, can use any of: h1/h2/h3/h4/h5/h6/p
24
+ If you need an inline text element (span), use the <Text /> atom
25
+ The "as" value should be dictated by the structure of your page, not what font-size you want
26
+
27
+ Title / Detail both use slightly different desktop/mobile scales
28
+ (Mobile scale is different to allow for design-friendly px values)
29
+ Both atoms detect the presence of a mobile device on their own
30
+ and apply the corresponding scale
31
+
32
+ Mobile breakpoint value is specified in Detail.theme.js
33
+
34
+ If you want to disable mobile text scales (use the same rem scale for desktop/mobile), then use a theme in FCS to set all of the variants to use the same rem sizes. FCS themes override fallbacks defined in the .theme file
35
+ */
36
+
37
+ const isBelowBreakpoint = window.innerWidth < MOBILE_BREAKPOINT;
38
+ const isTouchDevice = "ontouchstart" in window || navigator.maxTouchPoints > 1;
39
+ const mobileDeviceDetected = isBelowBreakpoint && isTouchDevice;
40
+ const fallbacks = mobileDeviceDetected ? mobileFallbackValues : fallbackValues;
41
+
42
+ const Detail = ({
43
+ themeValues,
44
+ weight = FONT_WEIGHT_REGULAR,
45
+ color = FIREFLY_GREY,
46
+ margin = 0,
47
+ textAlign,
48
+ extraStyles = ``,
49
+ className,
50
+ variant = "regular",
51
+ as = "p",
52
+ dataQa,
53
+ children,
54
+ ...rest
55
+ }) => {
56
+ return (
57
+ <DetailText
58
+ variant={variant}
59
+ as={as}
60
+ weight={weight}
61
+ color={color}
62
+ margin={margin}
63
+ textAlign={textAlign}
64
+ extraStyles={extraStyles}
65
+ className={className}
66
+ fontFamily={themeValues.fontFamily}
67
+ fontSize={themeValues.fontSize}
68
+ data-qa={dataQa}
69
+ {...rest}
70
+ >
71
+ {safeChildren(children, <span />)}
72
+ </DetailText>
73
+ );
74
+ };
75
+
76
+ export default themeComponent(Detail, "Detail", fallbacks, "regular");
@@ -0,0 +1,13 @@
1
+ import styled from "styled-components";
2
+
3
+ export const DetailText = styled.p`
4
+ font-size: ${({ fontSize }) => fontSize};
5
+ line-height: 1.5;
6
+ color: ${({ color }) => color};
7
+ font-weight: ${({ weight }) => weight};
8
+ margin: ${({ margin }) => margin};
9
+ text-align: ${({ textAlign }) => textAlign};
10
+ font-family: ${({ fontFamily }) => fontFamily};
11
+
12
+ ${({ extraStyles }) => extraStyles};
13
+ `;
@@ -0,0 +1,32 @@
1
+ const fontSize = {
2
+ large: "1.125rem",
3
+ regular: "1rem",
4
+ small: "0.875rem",
5
+ extraSmall: "0.75rem"
6
+ };
7
+
8
+ const fontFamily = {
9
+ large: "Public Sans",
10
+ regular: "Public Sans",
11
+ small: "Public Sans",
12
+ extraSmall: "Public Sans"
13
+ };
14
+
15
+ const mobileFontSize = {
16
+ large: "1.14285rem",
17
+ regular: "1",
18
+ small: "0.85714rem",
19
+ extraSmall: "0.71428rem"
20
+ };
21
+
22
+ export const fallbackValues = {
23
+ fontFamily,
24
+ fontSize
25
+ };
26
+
27
+ export const mobileFallbackValues = {
28
+ fontFamily,
29
+ fontSize: mobileFontSize
30
+ };
31
+
32
+ export const MOBILE_BREAKPOINT = 768;
@@ -0,0 +1,3 @@
1
+ import Detail from "./Detail";
2
+
3
+ export default Detail;
@@ -1,3 +1,9 @@
1
+ /*
2
+ SOON TO BE DEPRECATED AS OF 8/1/2021
3
+
4
+ For new pages/applications, please us <Title /> and <Detail /> atoms
5
+
6
+ */
1
7
  import React from "react";
2
8
  import { FONT_WEIGHT_REGULAR } from "../../../constants/style_constants";
3
9
  import { FIREFLY_GREY } from "../../../constants/colors";
@@ -51,8 +51,6 @@ import NoPaymentResultsIcon from "./NoPaymentResultsIcon";
51
51
  import CustomerSearchIcon from "./CustomerSearchIcon";
52
52
  import PaymentSearchIcon from "./PaymentSearchIcon";
53
53
  import ResetPasswordIcon from "./ResetPasswordIcon";
54
- import PeriscopeFailedIcon from "./PeriscopeFailedIcon";
55
- import CheckIcon from "./CheckIcon";
56
54
 
57
55
  export {
58
56
  AccountsIcon,
@@ -107,7 +105,5 @@ export {
107
105
  NoPaymentResultsIcon,
108
106
  CustomerSearchIcon,
109
107
  PaymentSearchIcon,
110
- ResetPasswordIcon,
111
- PeriscopeFailedIcon,
112
- CheckIcon
108
+ ResetPasswordIcon
113
109
  };
@@ -5,14 +5,7 @@ import { Stack } from "../layouts";
5
5
  import Heading from "../heading";
6
6
  import Paragraph from "../paragraph";
7
7
 
8
- const LabeledAmount = ({
9
- variant = "pL",
10
- label,
11
- amount,
12
- themeValues,
13
- as,
14
- extraStyles
15
- }) => {
8
+ const LabeledAmount = ({ variant = "pL", label, amount, themeValues, as }) => {
16
9
  const LabeledAmountText = variant === "h6" ? Heading : Paragraph;
17
10
  return (
18
11
  <Stack direction="row">
@@ -20,7 +13,7 @@ const LabeledAmount = ({
20
13
  variant={variant}
21
14
  as={as}
22
15
  weight={themeValues.fontWeight}
23
- extraStyles={`${extraStyles}; text-align: start; flex: 3;`}
16
+ extraStyles="text-align: start; flex: 3;"
24
17
  >
25
18
  {label}:
26
19
  </LabeledAmountText>
@@ -28,7 +21,7 @@ const LabeledAmount = ({
28
21
  variant={variant}
29
22
  as={as}
30
23
  weight={themeValues.fontWeight}
31
- extraStyles={`${extraStyles}; text-align: end; flex: 1;`}
24
+ extraStyles="text-align: end; flex: 1;"
32
25
  >
33
26
  {amount}
34
27
  </LabeledAmountText>
@@ -1,6 +1,5 @@
1
1
  const fontWeight = {
2
2
  default: "600",
3
- pS: "600",
4
3
  p: "600",
5
4
  pL: "600",
6
5
  h6: "700"
@@ -1,5 +1,5 @@
1
1
  const weightTitle = { default: "600", small: "400" };
2
- const paragraphVariant = { default: "pL", small: "pS" };
2
+ const paragraphVariant = { default: "pL", small: "p" };
3
3
 
4
4
  export const fallbackValues = {
5
5
  weightTitle,
@@ -1,3 +1,9 @@
1
+ /*
2
+ SOON TO BE DEPRECATED AS OF 8/1/2021
3
+
4
+ For new pages/applications, please us <Title /> and <Detail /> atoms
5
+
6
+ */
1
7
  import React from "react";
2
8
  import { fallbackValues } from "./Paragraph.theme";
3
9
  import { themeComponent } from "../../../util/themeUtils";
@@ -0,0 +1,75 @@
1
+ import React from "react";
2
+ import { FONT_WEIGHT_REGULAR } from "../../../constants/style_constants";
3
+ import { FIREFLY_GREY } from "../../../constants/colors";
4
+ import { TitleText } from "./Title.styled";
5
+ import { safeChildren } from "../../../util/general";
6
+ import {
7
+ fallbackValues,
8
+ mobileFallbackValues,
9
+ MOBILE_BREAKPOINT
10
+ } from "./Title.theme";
11
+ import { themeComponent } from "../../../util/themeUtils";
12
+
13
+ /*
14
+ New responsive text component for Title elements
15
+ Size is decoupled from tag
16
+ Comes with two variants - "large" and "small"
17
+ Large variant results in text that is 1.5rem (24px desktop, 21px mobile)
18
+ Small variant results in text that is 1.25rem/1.2142rem (20px desktop, 17px mobile)
19
+
20
+ If you need a smaller text size, use the <Detail /> atom, which has smaller variants
21
+
22
+ Use the "as" prop to specify element type, can use any of: h1/h2/h3/h4/h5/h6/p
23
+ If you need an inline text element (span), use the <Text /> atom
24
+ The "as" value should be dictated by the structure of your page, not what font-size you want
25
+
26
+ Title / Detail both use slightly different desktop/mobile scales
27
+ (Mobile scale is different to allow for design-friendly px values)
28
+ Both atoms detect the presence of a mobile device on their own
29
+ and apply the corresponding scale
30
+
31
+ Mobile breakpoint value is specified in Title.theme.js
32
+
33
+ If you want to disable mobile text scales (use the same rem scale for desktop/mobile), then use a theme in FCS to set both the "large" and "small" variants to use the same rem sizes. FCS themes override fallbacks defined in the .theme file
34
+ */
35
+
36
+ const isBelowBreakpoint = window.innerWidth < MOBILE_BREAKPOINT;
37
+ const isTouchDevice = "ontouchstart" in window || navigator.maxTouchPoints > 1;
38
+ const mobileDeviceDetected = isBelowBreakpoint && isTouchDevice;
39
+ const fallbacks = mobileDeviceDetected ? mobileFallbackValues : fallbackValues;
40
+
41
+ const Title = ({
42
+ themeValues,
43
+ weight = FONT_WEIGHT_REGULAR,
44
+ color = FIREFLY_GREY,
45
+ margin = 0,
46
+ textAlign,
47
+ extraStyles = ``,
48
+ className,
49
+ variant = "large",
50
+ as = "h1",
51
+ dataQa,
52
+ children,
53
+ ...rest
54
+ }) => {
55
+ return (
56
+ <TitleText
57
+ variant={variant}
58
+ as={as}
59
+ weight={weight}
60
+ color={color}
61
+ margin={margin}
62
+ textAlign={textAlign}
63
+ extraStyles={extraStyles}
64
+ className={className}
65
+ fontFamily={themeValues.fontFamily}
66
+ fontSize={themeValues.fontSize}
67
+ data-qa={dataQa}
68
+ {...rest}
69
+ >
70
+ {safeChildren(children, <span />)}
71
+ </TitleText>
72
+ );
73
+ };
74
+
75
+ export default themeComponent(Title, "Title", fallbacks, "large");
@@ -0,0 +1,13 @@
1
+ import styled from "styled-components";
2
+
3
+ export const TitleText = styled.h1`
4
+ font-size: ${({ fontSize }) => fontSize};
5
+ line-height: 1.5;
6
+ color: ${({ color }) => color};
7
+ font-weight: ${({ weight }) => weight};
8
+ margin: ${({ margin }) => margin};
9
+ text-align: ${({ textAlign }) => textAlign};
10
+ font-family: ${({ fontFamily }) => fontFamily};
11
+
12
+ ${({ extraStyles }) => extraStyles};
13
+ `;
@@ -0,0 +1,26 @@
1
+ const fontSize = {
2
+ large: "1.5rem",
3
+ small: "1.25rem"
4
+ };
5
+
6
+ const fontFamily = {
7
+ large: "Public Sans",
8
+ small: "Public Sans"
9
+ };
10
+
11
+ const mobileFontSize = {
12
+ large: "1.5rem",
13
+ small: "1.2142rem"
14
+ };
15
+
16
+ export const fallbackValues = {
17
+ fontFamily,
18
+ fontSize
19
+ };
20
+
21
+ export const mobileFallbackValues = {
22
+ fontFamily,
23
+ fontSize: mobileFontSize
24
+ };
25
+
26
+ export const MOBILE_BREAKPOINT = 768;
@@ -0,0 +1,3 @@
1
+ import Title from "./Title";
2
+
3
+ export default Title;
@@ -16,9 +16,7 @@ const Module = ({
16
16
  <Fragment>
17
17
  {heading && (
18
18
  <Heading
19
- variant={
20
- variant === "small" ? "h6" : variant === "default" ? "h5" : "h2"
21
- }
19
+ variant={variant === "default" ? "h5" : "h2"}
22
20
  weight={themeValues.fontWeight}
23
21
  color={themeValues.fontColor}
24
22
  margin={`${spacing} 0 ${themeValues.titleSpacing} 0`}
@@ -1,38 +1,20 @@
1
1
  import { WHITE, CHARADE_GREY } from "../../../constants/colors";
2
2
 
3
- const fontSize = {
4
- default: "1.375rem",
5
- largeTitle: "1.75rem",
6
- small: "1.25rem"
7
- };
8
- const fontWeight = { default: "600", largeTitle: "700", small: "600" };
9
- const fontColor = {
10
- default: CHARADE_GREY,
11
- largeTitle: CHARADE_GREY,
12
- small: CHARADE_GREY
13
- };
14
- const lineHeight = { default: "2rem", largeTitle: "2rem", small: "2rem" };
15
- const textAlign = { default: "left", largeTitle: "left", small: "left" };
16
- const titleType = { default: "h5", largeTitle: "h1", small: "h6" };
17
- const titleSpacing = {
18
- default: "0.5rem",
19
- largeTitle: "1.125rem",
20
- small: "0.5rem"
21
- };
3
+ const fontSize = { default: "1.375rem", largeTitle: "1.75rem" };
4
+ const fontWeight = { default: "600", largeTitle: "700" };
5
+ const fontColor = { default: CHARADE_GREY, largeTitle: CHARADE_GREY };
6
+ const lineHeight = { default: "2rem", largeTitle: "2rem" };
7
+ const textAlign = { default: "left", largeTitle: "left" };
8
+ const titleType = { default: "h5", largeTitle: "h1" };
9
+ const titleSpacing = { default: "0.5rem", largeTitle: "1.125rem" };
22
10
  const boxShadow = {
23
11
  default:
24
12
  "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
25
13
  largeTitle:
26
- "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
27
- small:
28
14
  "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)"
29
15
  };
30
- const borderRadius = {
31
- default: "0.25rem",
32
- largeTitle: "0.25rem",
33
- small: "0.25rem"
34
- };
35
- const backgroundColor = { default: WHITE, largeTitle: WHITE, small: WHITE };
16
+ const borderRadius = { default: "0.25rem", largeTitle: "0.25rem" };
17
+ const backgroundColor = { default: WHITE, largeTitle: WHITE };
36
18
 
37
19
  export const fallbackValues = {
38
20
  fontSize,
@@ -10,14 +10,12 @@ import LabeledAmount from "../../atoms/labeled-amount";
10
10
  import LineItem from "../../atoms/line-item";
11
11
  import Heading from "../../atoms/heading";
12
12
  import SolidDivider from "../../atoms/solid-divider";
13
- import { FONT_WEIGHT_BOLD } from "../../../constants/style_constants";
14
13
 
15
14
  const PaymentDetailsContent = ({
16
15
  lineItemElems,
17
16
  feeElems,
18
17
  subtotal,
19
18
  total,
20
- variant,
21
19
  themeValues
22
20
  }) => (
23
21
  <Stack childGap="16px">
@@ -37,7 +35,6 @@ const PaymentDetailsContent = ({
37
35
  variant={themeValues.labeledAmountTotal}
38
36
  label="Total"
39
37
  amount={displayCurrency(total)}
40
- extraStyles={variant === "small" && `font-weight: ${FONT_WEIGHT_BOLD};`}
41
38
  />
42
39
  </Stack>
43
40
  );
@@ -77,7 +74,6 @@ const PaymentDetails = ({
77
74
  fees: _fees,
78
75
  subtotal,
79
76
  total,
80
- variant = "default",
81
77
  hideTitle = false,
82
78
  titleText = "Payment Details",
83
79
  initiallyOpen = false,
@@ -117,12 +113,12 @@ const PaymentDetails = ({
117
113
  <SolidDivider />
118
114
  <Box padding="8px" />
119
115
  <PaymentDetailsContent
120
- {...{ lineItemElems, feeElems, subtotal, total, themeValues, variant }}
116
+ {...{ lineItemElems, feeElems, subtotal, total, themeValues }}
121
117
  />
122
118
  </Stack>
123
119
  ) : (
124
120
  <PaymentDetailsContent
125
- {...{ lineItemElems, feeElems, subtotal, total, themeValues, variant }}
121
+ {...{ lineItemElems, feeElems, subtotal, total, themeValues }}
126
122
  />
127
123
  );
128
124
  const title = hideTitle ? (
@@ -1,7 +1,7 @@
1
1
  const backgroundColor = { default: "transparent", small: "transparent" };
2
2
  const lineItem = { default: "default", small: "small" };
3
- const labeledAmountSubtotal = { default: "pL", small: "pS" };
4
- const labeledAmountTotal = { default: "h6", small: "p" };
3
+ const labeledAmountSubtotal = { default: "pL", small: "p" };
4
+ const labeledAmountTotal = { default: "h6", small: "pL" };
5
5
 
6
6
  export const fallbackValues = {
7
7
  backgroundColor,
@@ -1,37 +0,0 @@
1
- import React from "react";
2
-
3
- const CheckIcon = () => {
4
- return (
5
- <svg
6
- xmlns="http://www.w3.org/2000/svg"
7
- width="32"
8
- height="21"
9
- viewBox="0 0 32 21"
10
- >
11
- <g fill="none" fillRule="evenodd" stroke="none" strokeWidth="1">
12
- <g fillRule="nonzero" transform="translate(-870 -426)">
13
- <g transform="translate(132 332)">
14
- <g transform="translate(0 70)">
15
- <g transform="translate(738 24)">
16
- <rect
17
- width="32"
18
- height="21"
19
- x="0"
20
- y="0"
21
- fill="#CFE5F4"
22
- rx="1"
23
- ></rect>
24
- <path
25
- fill="#184390"
26
- d="M20.9 8.536a.292.292 0 00.213-.086.282.282 0 00.087-.209v-.295h.6c.05 0 .096-.02.137-.061A.186.186 0 0022 7.75v-.393c0-.082-.042-.139-.125-.172l-5.8-2.16a.127.127 0 00-.15 0l-5.8 2.16c-.083.033-.125.09-.125.172v.393c0 .05.02.094.063.135.041.041.087.061.137.061h.6v.295c0 .082.03.151.087.209.059.057.13.086.213.086h9.8zm.3 5.893v-.492a.282.282 0 00-.087-.208.292.292 0 00-.213-.086H20V8.929h-1.6v4.714h-1.6V8.929h-1.6v4.714h-1.6V8.929H12v4.714h-.9a.292.292 0 00-.213.086.282.282 0 00-.087.209v.49h10.4zM21.8 16c.05 0 .096-.02.137-.061a.186.186 0 00.063-.135v-.393a.563.563 0 00-.175-.418.584.584 0 00-.425-.172H10.6a.584.584 0 00-.425.172.563.563 0 00-.175.418v.393c0 .049.02.094.063.135.041.04.087.061.137.061h11.6z"
27
- ></path>
28
- </g>
29
- </g>
30
- </g>
31
- </g>
32
- </g>
33
- </svg>
34
- );
35
- };
36
-
37
- export default CheckIcon;
@@ -1,206 +0,0 @@
1
- import React from "react";
2
-
3
- const PeriscopeFailedIcon = () => {
4
- return (
5
- <svg
6
- xmlns="http://www.w3.org/2000/svg"
7
- xmlnsXlink="http://www.w3.org/1999/xlink"
8
- width="632"
9
- height="345"
10
- viewBox="0 0 632 345"
11
- >
12
- <defs>
13
- <path
14
- id="periscope-failed-path-1"
15
- d="M298.876 295.918v28.33a4.498 4.498 0 01-4.159 4.488l-.335.012h-17.978a4.498 4.498 0 01-4.494-4.5 4.498 4.498 0 014.16-4.489l.334-.012 13.484.002v-23.831h8.988zm17.978 0v23.83h13.483c2.37 0 4.31 1.835 4.482 4.164l.012.336a4.498 4.498 0 01-4.159 4.488l-.335.012H312.36a4.497 4.497 0 01-4.483-4.164l-.012-.336v-28.33h8.989zm224.157-92.063a4.498 4.498 0 014.495 4.501 4.498 4.498 0 01-4.16 4.488l-.335.013h-16.67L488.01 250.85a4.49 4.49 0 01-5.106.984l-.34-.173-29.755-16.502v-11.252l31.117 18.199 27.97-29.25h-7.963a4.498 4.498 0 01-4.495-4.5 4.498 4.498 0 014.16-4.488l.335-.013h37.078zm-325.5-32.5a4.501 4.501 0 013.294 5.444 28.718 28.718 0 00-.828 6.85c0 5.071 1.337 10.012 3.92 14.631a4.504 4.504 0 01-1.724 6.126 4.491 4.491 0 01-6.117-1.727 41.106 41.106 0 01-2.574-5.511l-65.128 26.791 5.331 2.199v10.126l-18.653-8.327-.34-.165c-3.227-1.723-3.128-6.474.23-8.035l.2-.088 76.159-31.329a37.7 37.7 0 01.794-13.686 4.494 4.494 0 015.436-3.299zm335.545-38.385a4 4 0 014 4v55.01a4 4 0 01-4 4h-54.921a4 4 0 01-4-4v-55.01a4 4 0 014-4h54.921z"
16
- ></path>
17
- <filter
18
- id="periscope-failed-filter-2"
19
- width="111.3%"
20
- height="124.5%"
21
- x="-5.7%"
22
- y="-12.3%"
23
- filterUnits="objectBoundingBox"
24
- >
25
- <feOffset in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>
26
- <feGaussianBlur
27
- in="shadowOffsetOuter1"
28
- result="shadowBlurOuter1"
29
- stdDeviation="8"
30
- ></feGaussianBlur>
31
- <feColorMatrix
32
- in="shadowBlurOuter1"
33
- values="0 0 0 0 0.0823529412 0 0 0 0 0.454901961 0 0 0 0 0.615686275 0 0 0 0.5 0"
34
- ></feColorMatrix>
35
- </filter>
36
- <path
37
- id="periscope-failed-path-3"
38
- d="M151.685 24.754V37.13l-24.838.186a2 2 0 00-1.985 2v2.766a2 2 0 002.015 1.985l24.808-.186v7.876h-91.01V26.95a2 2 0 011.995-2l89.015-.196zM113.693 37.33h-38.41a2 2 0 00-2 2v2.751a2 2 0 002 2h38.41a2 2 0 002-2v-2.75a2 2 0 00-2-2z"
39
- ></path>
40
- <filter
41
- id="periscope-failed-filter-4"
42
- width="152.7%"
43
- height="277.7%"
44
- x="-26.4%"
45
- y="-88.9%"
46
- filterUnits="objectBoundingBox"
47
- >
48
- <feOffset in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>
49
- <feGaussianBlur
50
- in="shadowOffsetOuter1"
51
- result="shadowBlurOuter1"
52
- stdDeviation="8"
53
- ></feGaussianBlur>
54
- <feColorMatrix
55
- in="shadowBlurOuter1"
56
- values="0 0 0 0 0.161570617 0 0 0 0 0.163300979 0 0 0 0 0.199501812 0 0 0 0.3 0"
57
- ></feColorMatrix>
58
- </filter>
59
- <path
60
- id="periscope-failed-path-5"
61
- d="M452.809 0l124.97.196a2 2 0 011.996 2v27.305a2 2 0 01-2 2h-.003l-124.963-.196V19.128h9.236a2 2 0 002-2v-2.751a2 2 0 00-2-2h-9.236V0zm55.047 12.377h-32.679a2 2 0 00-2 2v2.75a2 2 0 002 2h32.679a2 2 0 002-2v-2.75a2 2 0 00-2-2zm25.217 0h-12.047a2 2 0 00-2 2v2.75a2 2 0 002 2h12.047a2 2 0 002-2v-2.75a2 2 0 00-2-2zm32.094 0h-18.924a2 2 0 00-2 2v2.75a2 2 0 002 2h18.924a2 2 0 002-2v-2.75a2 2 0 00-2-2z"
62
- ></path>
63
- <filter
64
- id="periscope-failed-filter-6"
65
- width="137.8%"
66
- height="252.4%"
67
- x="-18.9%"
68
- y="-76.2%"
69
- filterUnits="objectBoundingBox"
70
- >
71
- <feOffset in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>
72
- <feGaussianBlur
73
- in="shadowOffsetOuter1"
74
- result="shadowBlurOuter1"
75
- stdDeviation="8"
76
- ></feGaussianBlur>
77
- <feColorMatrix
78
- in="shadowBlurOuter1"
79
- values="0 0 0 0 0.161570617 0 0 0 0 0.163300979 0 0 0 0 0.199501812 0 0 0 0.3 0"
80
- ></feColorMatrix>
81
- </filter>
82
- <path
83
- id="periscope-failed-path-7"
84
- d="M180.022 51.757a2 2 0 012 2v27.505a2 2 0 01-2 2H2a2 2 0 01-2-2V53.757a2 2 0 012-2h178.022zm-141.7 12.377h-23.65a2 2 0 00-2 2v2.751a2 2 0 002 2h23.65a2 2 0 002-2v-2.75a2 2 0 00-2-2zm25.344 0H51.538a2 2 0 00-2 2v2.751a2 2 0 002 2h12.128a2 2 0 002-2v-2.75a2 2 0 00-2-2zm56.45 0H76.883a2 2 0 00-2 2v2.751a2 2 0 002 2h43.233a2 2 0 002-2v-2.75a2 2 0 00-2-2zm47.234 0h-34.017a2 2 0 00-2 2v2.751a2 2 0 002 2h34.017a2 2 0 002-2v-2.75a2 2 0 00-2-2z"
85
- ></path>
86
- <filter
87
- id="periscope-failed-filter-8"
88
- width="126.4%"
89
- height="252.4%"
90
- x="-13.2%"
91
- y="-76.2%"
92
- filterUnits="objectBoundingBox"
93
- >
94
- <feOffset in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>
95
- <feGaussianBlur
96
- in="shadowOffsetOuter1"
97
- result="shadowBlurOuter1"
98
- stdDeviation="8"
99
- ></feGaussianBlur>
100
- <feColorMatrix
101
- in="shadowBlurOuter1"
102
- values="0 0 0 0 0.161570617 0 0 0 0 0.163300979 0 0 0 0 0.199501812 0 0 0 0.3 0"
103
- ></feColorMatrix>
104
- </filter>
105
- <path
106
- id="periscope-failed-path-9"
107
- d="M598 27.004a2 2 0 012 2v27.504a2 2 0 01-2 2h-42.944V46.13h30.272a2 2 0 001.994-1.85l.006-.15v-2.75a2 2 0 00-2-2H554.97l-.041-.176a4.002 4.002 0 00-3.674-2.994l-.2-.005h-54.921a4 4 0 00-3.995 3.8l-.005.2v18.302h-72.157a2 2 0 01-2-2V29.004a2 2 0 012-2H598zM456.299 39.38H432.65a2 2 0 00-2 2v2.75a2 2 0 002 2h23.649a2 2 0 002-2v-2.75a2 2 0 00-2-2zm25.345 0h-12.129a2 2 0 00-2 2v2.75a2 2 0 002 2h12.129a2 2 0 002-2v-2.75a2 2 0 00-2-2z"
108
- ></path>
109
- <filter
110
- id="periscope-failed-filter-10"
111
- width="126.4%"
112
- height="252.4%"
113
- x="-13.2%"
114
- y="-76.2%"
115
- filterUnits="objectBoundingBox"
116
- >
117
- <feOffset in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>
118
- <feGaussianBlur
119
- in="shadowOffsetOuter1"
120
- result="shadowBlurOuter1"
121
- stdDeviation="8"
122
- ></feGaussianBlur>
123
- <feColorMatrix
124
- in="shadowBlurOuter1"
125
- values="0 0 0 0 0.161570617 0 0 0 0 0.163300979 0 0 0 0 0.199501812 0 0 0 0.3 0"
126
- ></feColorMatrix>
127
- </filter>
128
- </defs>
129
- <g fill="none" fillRule="evenodd" stroke="none" strokeWidth="1">
130
- <g transform="translate(-404 -259)">
131
- <g transform="translate(132 195)">
132
- <g transform="translate(288 64)">
133
- <path
134
- fill="#15749D"
135
- fillOpacity="0.3"
136
- d="M302.247 310.746c36.612 0 66.292 6.549 66.292 14.627S338.86 340 302.247 340c-36.613 0-66.292-6.55-66.292-14.627 0-8.078 29.68-14.627 66.292-14.627zM65.904 208.318c6.071 0 11.057 4.655 11.608 10.6a6.983 6.983 0 014.09-1.321c3.885 0 7.034 3.159 7.034 7.055 0 3.818-3.022 6.926-6.798 7.051l-.237.004H49.756c-4.548 0-8.234-3.696-8.234-8.256 0-4.56 3.686-8.257 8.234-8.257 1.848 0 3.549.618 4.923 1.65 1.378-4.919 5.88-8.526 11.225-8.526zm195.894-57.546c16.134 0 29.213 13.097 29.213 29.254 0 16.157-13.08 29.254-29.213 29.254-16.134 0-29.214-13.097-29.214-29.254 0-16.157 13.08-29.254 29.214-29.254zm80.899 0c16.134 0 29.213 13.097 29.213 29.254 0 16.157-13.08 29.254-29.213 29.254-16.135 0-29.214-13.097-29.214-29.254 0-16.157 13.08-29.254 29.214-29.254zm-80.899 22.503c-5.514 0-10.317 3.673-12.173 9.018a3.377 3.377 0 002.077 4.297 3.37 3.37 0 004.29-2.08l.16-.42c1.027-2.474 3.233-4.064 5.646-4.064 2.547 0 4.863 1.771 5.805 4.484l.12.302a3.37 3.37 0 004.17 1.778 3.377 3.377 0 002.077-4.297c-1.855-5.345-6.658-9.018-12.172-9.018zm80.9 0c-5.515 0-10.318 3.673-12.174 9.018a3.377 3.377 0 002.077 4.297 3.37 3.37 0 004.29-2.08l.16-.42c1.027-2.474 3.233-4.064 5.646-4.064 2.547 0 4.863 1.771 5.805 4.484l.12.302a3.37 3.37 0 004.17 1.778 3.377 3.377 0 002.077-4.297c-1.855-5.345-6.659-9.018-12.172-9.018zM519.99 12.426c12.578 0 22.908 9.642 24.048 21.958a14.473 14.473 0 018.471-2.737c8.049 0 14.575 6.544 14.575 14.617 0 7.966-6.358 14.445-14.262 14.612l-.313.003H486.54c-9.42 0-17.057-7.658-17.057-17.106 0-9.446 7.637-17.104 17.057-17.104 3.83 0 7.352 1.281 10.2 3.418 2.855-10.189 12.179-17.66 23.252-17.66zM170.591 0c6.61 0 12.239 4.15 14.476 9.99a6.571 6.571 0 011.792-.252c2.114 0 3.994.996 5.208 2.543a9.767 9.767 0 014.028-.872c5.431 0 9.833 4.414 9.833 9.86 0 5.354-4.254 9.712-9.557 9.858l-.276.004h-42.442c-5.43 0-9.833-4.415-9.833-9.861 0-5.447 4.403-9.861 9.833-9.861.666 0 1.315.068 1.942.194C157.345 4.93 163.386 0 170.59 0z"
137
- ></path>
138
- <path
139
- fill="#FFF"
140
- d="M446.067 111.391v175.276a2.5 2.5 0 01-2.5 2.5h-282.64a2.5 2.5 0 01-2.5-2.5V111.39h287.64zm-184.27 39.38c-16.133 0-29.213 13.098-29.213 29.255 0 16.157 13.08 29.254 29.214 29.254s29.213-13.097 29.213-29.254c0-16.157-13.08-29.254-29.213-29.254zm80.9 0c-16.135 0-29.214 13.098-29.214 29.255 0 16.157 13.08 29.254 29.214 29.254s29.213-13.097 29.213-29.254c0-16.157-13.08-29.254-29.213-29.254z"
141
- ></path>
142
- <path
143
- fill="#292A33"
144
- fillRule="nonzero"
145
- d="M452.808 155.272v111.39l73.035.002a4.498 4.498 0 014.494 4.5 4.498 4.498 0 01-4.159 4.488l-.335.013-73.035-.001.001 7.877c0 6.733-5.37 12.211-12.055 12.373l-.305.004H164.045c-6.724 0-12.194-5.377-12.356-12.072l-.004-.305v-7.877H94.381a4.498 4.498 0 01-4.494-4.5 4.498 4.498 0 014.159-4.488l.335-.012 57.302-.001.001-44.897 6.741-2.773.001 64.548a5.622 5.622 0 005.397 5.622l.22.004H440.45c3.03 0 5.498-2.4 5.614-5.405l.004-.221v-128.27h6.741zm129.214 111.392a4.498 4.498 0 014.495 4.5 4.498 4.498 0 01-4.16 4.488l-.335.013h-33.707a4.498 4.498 0 01-4.495-4.5 4.498 4.498 0 014.16-4.49l.335-.011h33.707zm-507.865 0a4.498 4.498 0 014.495 4.5 4.498 4.498 0 01-4.16 4.488l-.335.013H56.18a4.498 4.498 0 01-4.495-4.5 4.498 4.498 0 014.16-4.49l.335-.011h17.977zm242.477-33.13l.478.01c6.182.271 10.978 5.775 10.978 12.367a3.373 3.373 0 01-3.37 3.375c-1.8 0-3.27-1.412-3.367-3.19l-.005-.185-.011-.394c-.167-2.905-2.173-5.107-4.503-5.227l-.2-.005h-31.022l-.313.012c-2.384.193-4.4 2.564-4.4 5.614a3.373 3.373 0 01-3.37 3.375 3.373 3.373 0 01-3.372-3.375c0-6.657 4.89-12.204 11.16-12.373l.295-.004h31.022zm26.063-89.513c19.858 0 35.955 16.119 35.955 36.004 0 19.886-16.097 36.006-35.955 36.006-18.994 0-34.546-14.746-35.865-33.43l-9.166-.061c-1.288 18.712-16.854 33.491-35.868 33.491-19.857 0-35.955-16.12-35.955-36.006 0-19.885 16.097-36.004 35.955-36.004 13.281 0 24.88 7.21 31.106 17.934 3.515-1.212 6.847-1.818 9.994-1.818 2.95 0 5.89.533 8.822 1.6 6.255-10.605 17.786-17.716 30.977-17.716zm-184.27 36.005v29.234l-6.742 2.773v-32.007h6.741zm184.27-29.254c-16.135 0-29.214 13.096-29.214 29.253 0 16.158 13.079 29.255 29.214 29.255 16.135 0 29.213-13.097 29.213-29.255 0-16.157-13.078-29.253-29.213-29.253zm-80.899 0c-16.134 0-29.214 13.097-29.214 29.253 0 16.157 13.08 29.255 29.214 29.255 16.135 0 29.213-13.097 29.213-29.255 0-16.157-13.078-29.253-29.213-29.253zm0 22.503c5.514 0 10.317 3.673 12.172 9.018a3.377 3.377 0 01-2.077 4.297 3.37 3.37 0 01-4.17-1.778l-.12-.302c-.942-2.713-3.258-4.484-5.805-4.484-2.413 0-4.619 1.59-5.645 4.064l-.16.42a3.37 3.37 0 01-4.29 2.08 3.377 3.377 0 01-2.078-4.297c1.856-5.345 6.66-9.018 12.173-9.018zm80.9 0c5.512 0 10.316 3.673 12.171 9.018a3.377 3.377 0 01-2.077 4.297 3.37 3.37 0 01-4.17-1.778l-.12-.302c-.942-2.713-3.258-4.484-5.805-4.484-2.413 0-4.619 1.59-5.645 4.064l-.16.42a3.37 3.37 0 01-4.291 2.08 3.377 3.377 0 01-2.077-4.297c1.856-5.345 6.66-9.018 12.173-9.018zm-40.45-8.638a3.374 3.374 0 00-3.372 3.376 3.374 3.374 0 003.372 3.375c1.861 0 3.37-1.51 3.37-3.375a3.373 3.373 0 00-3.37-3.376zM440.45 68.635c6.725 0 12.195 5.377 12.356 12.072l.004.305-.002 23.465h.002v6.751h-.002l.001 12.539h-6.74l-.002-12.54h-287.64v37.294h-6.74V81.01c0-6.733 5.369-12.21 12.054-12.372l.305-.004h276.404zm0 6.75H164.045a5.622 5.622 0 00-5.614 5.406l-.004.22v23.466h287.64V81.012a5.622 5.622 0 00-5.397-5.622l-.22-.004zM173.034 85.513l.211.005a4.498 4.498 0 014.283 4.496c0 2.486-2.012 4.5-4.494 4.5a4.498 4.498 0 01-4.495-4.5c0-2.486 2.013-4.5 4.495-4.5zm13.483 0l.211.005a4.498 4.498 0 014.283 4.496c0 2.486-2.012 4.5-4.494 4.5a4.498 4.498 0 01-4.495-4.5c0-2.486 2.013-4.5 4.495-4.5zm13.483 0l.212.005a4.498 4.498 0 014.282 4.496c0 2.486-2.012 4.5-4.494 4.5a4.498 4.498 0 01-4.494-4.5c0-2.486 2.012-4.5 4.494-4.5z"
146
- ></path>
147
- <path
148
- fill="#CACED8"
149
- d="M38.321 160.898a2 2 0 012 2v2.751a2 2 0 01-2 2H14.672a2 2 0 01-2-2v-2.75a2 2 0 012-2h23.65zm25.345 0a2 2 0 012 2v2.751a2 2 0 01-2 2H51.538a2 2 0 01-2-2v-2.75a2 2 0 012-2h12.128zm56.45 0a2 2 0 012 2v2.751a2 2 0 01-2 2H76.883a2 2 0 01-2-2v-2.75a2 2 0 012-2h43.233zm47.234 0a2 2 0 012 2v2.751a2 2 0 01-2 2h-34.017a2 2 0 01-2-2v-2.75a2 2 0 012-2h34.017zm288.949-24.753a2 2 0 012 2v2.75a2 2 0 01-2 2H432.65a2 2 0 01-2-2v-2.75a2 2 0 012-2h23.649zm25.345 0a2 2 0 012 2v2.75a2 2 0 01-2 2h-12.129a2 2 0 01-2-2v-2.75a2 2 0 012-2h12.129zm103.684 0a2 2 0 012 2v2.75a2 2 0 01-2 2h-30.273l.001-5.925c0-.283-.03-.56-.085-.826h30.357zm-471.635-2.05a2 2 0 012 2v2.751a2 2 0 01-2 2h-38.41a2 2 0 01-2-2v-2.75a2 2 0 012-2h38.41zm37.992-.2v6.75l-24.808.186a2 2 0 01-2.015-1.985v-2.766a2 2 0 011.985-2l24.838-.186zm356.171-24.754a2 2 0 012 2v2.75a2 2 0 01-2 2h-32.679a2 2 0 01-2-2v-2.75a2 2 0 012-2h32.679zm-45.811 0a2 2 0 012 2v2.75a2 2 0 01-2 2h-9.236v-6.75h9.236zm71.028 0a2 2 0 012 2v2.75a2 2 0 01-2 2h-12.047a2 2 0 01-2-2v-2.75a2 2 0 012-2h12.047zm32.094 0a2 2 0 012 2v2.75a2 2 0 01-2 2h-18.924a2 2 0 01-2-2v-2.75a2 2 0 012-2h18.924zm-121.6-33.755a2.5 2.5 0 012.5 2.5v26.754h-287.64V77.886a2.5 2.5 0 012.5-2.5h282.64zM173.034 85.512a4.498 4.498 0 00-4.495 4.501c0 2.486 2.013 4.5 4.495 4.5a4.498 4.498 0 004.494-4.5c0-2.486-2.012-4.5-4.494-4.5zm13.483 0a4.498 4.498 0 00-4.495 4.501c0 2.486 2.013 4.5 4.495 4.5a4.498 4.498 0 004.494-4.5c0-2.486-2.012-4.5-4.494-4.5zm13.483 0a4.498 4.498 0 00-4.494 4.501c0 2.486 2.012 4.5 4.494 4.5a4.498 4.498 0 004.494-4.5c0-2.486-2.012-4.5-4.494-4.5z"
150
- ></path>
151
- <g>
152
- <use
153
- fill="#000"
154
- filter="url(#periscope-failed-filter-2)"
155
- xlinkHref="#periscope-failed-path-1"
156
- ></use>
157
- <use fill="#15749D" xlinkHref="#periscope-failed-path-1"></use>
158
- </g>
159
- <g transform="translate(0 96.764)">
160
- <g>
161
- <use
162
- fill="#000"
163
- filter="url(#periscope-failed-filter-4)"
164
- xlinkHref="#periscope-failed-path-3"
165
- ></use>
166
- <use fill="#FFF" xlinkHref="#periscope-failed-path-3"></use>
167
- </g>
168
- <g>
169
- <use
170
- fill="#000"
171
- filter="url(#periscope-failed-filter-6)"
172
- xlinkHref="#periscope-failed-path-5"
173
- ></use>
174
- <use fill="#FFF" xlinkHref="#periscope-failed-path-5"></use>
175
- </g>
176
- <g>
177
- <use
178
- fill="#000"
179
- filter="url(#periscope-failed-filter-8)"
180
- xlinkHref="#periscope-failed-path-7"
181
- ></use>
182
- <use fill="#FFF" xlinkHref="#periscope-failed-path-7"></use>
183
- </g>
184
- <g>
185
- <use
186
- fill="#000"
187
- filter="url(#periscope-failed-filter-10)"
188
- xlinkHref="#periscope-failed-path-9"
189
- ></use>
190
- <use fill="#FFF" xlinkHref="#periscope-failed-path-9"></use>
191
- </g>
192
- <path
193
- fill="#FFF"
194
- d="M524.284 47.541a3 3 0 013 3v13.002h13a3 3 0 013 3v2.002a3 3 0 01-3 3h-13v13.002a3 3 0 01-3 3h-2a3 3 0 01-3-3V71.544h-13a3 3 0 01-3-3v-2a3 3 0 013-3h13V50.54a3 3 0 013-3h2z"
195
- transform="rotate(45 523.284 67.544)"
196
- ></path>
197
- </g>
198
- </g>
199
- </g>
200
- </g>
201
- </g>
202
- </svg>
203
- );
204
- };
205
-
206
- export default PeriscopeFailedIcon;