@thecb/components 4.5.0-beta.2 → 4.5.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,6 +15222,215 @@ 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
+
15225
15434
  var color$2 = "#15749D";
15226
15435
  var hoverColor$1 = "#116285";
15227
15436
  var activeColor$1 = "#0E506D";
@@ -20677,11 +20886,13 @@ var MOBILE_BREAKPOINT = 768;
20677
20886
  New responsive text component for Detail elements
20678
20887
  (Block level text elements which are smaller than "Title" elements)
20679
20888
  Size is decoupled from tag
20680
- Comes with two variants - "large" and "small"
20681
- Large variant results in text that is 1.5rem (24px desktop, 21px mobile)
20682
- Small variant results in text that is 1.25rem/1.2142rem (20px desktop, 17px mobile)
20889
+ Comes with four variants - "large", "regular", "small", "extraSmall"
20890
+ Large variant results in text that is 1.125rem/1.1428rem (18px desktop, 16px mobile)
20891
+ Regular variant results in text that is 1rem (16px desktop, 14px mobile)
20892
+ Small variant reuslts in text that is 0.875rem/0.8571rem (14px desktop, 12px mobile)
20893
+ ExtraSmall variant results in text that is 0.75rem/0.7142rem (12px desktop, 10px mobile)
20683
20894
 
20684
- If you need a smaller larger size, use the <Title /> atom, which has larger variants
20895
+ If you need a larger font size, use the <Title /> atom, which has larger variants
20685
20896
 
20686
20897
  Use the "as" prop to specify element type, can use any of: h1/h2/h3/h4/h5/h6/p
20687
20898
  If you need an inline text element (span), use the <Text /> atom
@@ -21759,6 +21970,7 @@ var Jumbo$1 = withWindowSize(Jumbo);
21759
21970
 
21760
21971
  var fontWeight$4 = {
21761
21972
  "default": "600",
21973
+ pS: "600",
21762
21974
  p: "600",
21763
21975
  pL: "600",
21764
21976
  h6: "700"
@@ -21773,7 +21985,8 @@ var LabeledAmount = function LabeledAmount(_ref) {
21773
21985
  label = _ref.label,
21774
21986
  amount = _ref.amount,
21775
21987
  themeValues = _ref.themeValues,
21776
- as = _ref.as;
21988
+ as = _ref.as,
21989
+ extraStyles = _ref.extraStyles;
21777
21990
  var LabeledAmountText = variant === "h6" ? Heading$1 : Paragraph$1;
21778
21991
  return /*#__PURE__*/React__default.createElement(Stack, {
21779
21992
  direction: "row"
@@ -21781,12 +21994,12 @@ var LabeledAmount = function LabeledAmount(_ref) {
21781
21994
  variant: variant,
21782
21995
  as: as,
21783
21996
  weight: themeValues.fontWeight,
21784
- extraStyles: "text-align: start; flex: 3;"
21997
+ extraStyles: "".concat(extraStyles, "; text-align: start; flex: 3;")
21785
21998
  }, label, ":"), /*#__PURE__*/React__default.createElement(LabeledAmountText, {
21786
21999
  variant: variant,
21787
22000
  as: as,
21788
22001
  weight: themeValues.fontWeight,
21789
- extraStyles: "text-align: end; flex: 1;"
22002
+ extraStyles: "".concat(extraStyles, "; text-align: end; flex: 1;")
21790
22003
  }, amount));
21791
22004
  };
21792
22005
 
@@ -21798,7 +22011,7 @@ var weightTitle = {
21798
22011
  };
21799
22012
  var paragraphVariant = {
21800
22013
  "default": "pL",
21801
- small: "p"
22014
+ small: "pS"
21802
22015
  };
21803
22016
  var fallbackValues$m = {
21804
22017
  weightTitle: weightTitle,
@@ -39257,43 +39470,53 @@ var Modal$1 = function Modal(_ref) {
39257
39470
 
39258
39471
  var fontSize$a = {
39259
39472
  "default": "1.375rem",
39260
- largeTitle: "1.75rem"
39473
+ largeTitle: "1.75rem",
39474
+ small: "1.25rem"
39261
39475
  };
39262
39476
  var fontWeight$5 = {
39263
39477
  "default": "600",
39264
- largeTitle: "700"
39478
+ largeTitle: "700",
39479
+ small: "600"
39265
39480
  };
39266
39481
  var fontColor = {
39267
39482
  "default": CHARADE_GREY,
39268
- largeTitle: CHARADE_GREY
39483
+ largeTitle: CHARADE_GREY,
39484
+ small: CHARADE_GREY
39269
39485
  };
39270
39486
  var lineHeight$4 = {
39271
39487
  "default": "2rem",
39272
- largeTitle: "2rem"
39488
+ largeTitle: "2rem",
39489
+ small: "2rem"
39273
39490
  };
39274
39491
  var textAlign = {
39275
39492
  "default": "left",
39276
- largeTitle: "left"
39493
+ largeTitle: "left",
39494
+ small: "left"
39277
39495
  };
39278
39496
  var titleType = {
39279
39497
  "default": "h5",
39280
- largeTitle: "h1"
39498
+ largeTitle: "h1",
39499
+ small: "h6"
39281
39500
  };
39282
39501
  var titleSpacing = {
39283
39502
  "default": "0.5rem",
39284
- largeTitle: "1.125rem"
39503
+ largeTitle: "1.125rem",
39504
+ small: "0.5rem"
39285
39505
  };
39286
39506
  var boxShadow$1 = {
39287
39507
  "default": "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
39288
- largeTitle: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)"
39508
+ largeTitle: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
39509
+ small: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)"
39289
39510
  };
39290
39511
  var borderRadius = {
39291
39512
  "default": "0.25rem",
39292
- largeTitle: "0.25rem"
39513
+ largeTitle: "0.25rem",
39514
+ small: "0.25rem"
39293
39515
  };
39294
39516
  var backgroundColor$6 = {
39295
39517
  "default": WHITE,
39296
- largeTitle: WHITE
39518
+ largeTitle: WHITE,
39519
+ small: WHITE
39297
39520
  };
39298
39521
  var fallbackValues$x = {
39299
39522
  fontSize: fontSize$a,
@@ -39321,7 +39544,7 @@ var Module = function Module(_ref) {
39321
39544
  variant = _ref$variant === void 0 ? "default" : _ref$variant,
39322
39545
  children = _ref.children;
39323
39546
  return /*#__PURE__*/React__default.createElement(React.Fragment, null, heading && /*#__PURE__*/React__default.createElement(Heading$1, {
39324
- variant: variant === "default" ? "h5" : "h2",
39547
+ variant: variant === "small" ? "h6" : variant === "default" ? "h5" : "h2",
39325
39548
  weight: themeValues.fontWeight,
39326
39549
  color: themeValues.fontColor,
39327
39550
  margin: "".concat(spacing, " 0 ").concat(themeValues.titleSpacing, " 0"),
@@ -40148,11 +40371,11 @@ var lineItem = {
40148
40371
  };
40149
40372
  var labeledAmountSubtotal = {
40150
40373
  "default": "pL",
40151
- small: "p"
40374
+ small: "pS"
40152
40375
  };
40153
40376
  var labeledAmountTotal = {
40154
40377
  "default": "h6",
40155
- small: "pL"
40378
+ small: "p"
40156
40379
  };
40157
40380
  var fallbackValues$A = {
40158
40381
  backgroundColor: backgroundColor$8,
@@ -40166,6 +40389,7 @@ var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
40166
40389
  feeElems = _ref.feeElems,
40167
40390
  subtotal = _ref.subtotal,
40168
40391
  total = _ref.total,
40392
+ variant = _ref.variant,
40169
40393
  themeValues = _ref.themeValues;
40170
40394
  return /*#__PURE__*/React__default.createElement(Stack, {
40171
40395
  childGap: "16px"
@@ -40176,10 +40400,11 @@ var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
40176
40400
  label: "Subtotal",
40177
40401
  amount: displayCurrency(subtotal)
40178
40402
  }), feeElems), /*#__PURE__*/React__default.createElement(SolidDivider$1, null), /*#__PURE__*/React__default.createElement(LabeledAmount$1, {
40179
- as: "h2",
40403
+ as: "p",
40180
40404
  variant: themeValues.labeledAmountTotal,
40181
40405
  label: "Total",
40182
- amount: displayCurrency(total)
40406
+ amount: displayCurrency(total),
40407
+ extraStyles: variant === "small" && "font-weight: ".concat(FONT_WEIGHT_BOLD, ";")
40183
40408
  }));
40184
40409
  };
40185
40410
 
@@ -40224,6 +40449,8 @@ var PaymentDetails = function PaymentDetails(_ref4) {
40224
40449
  _fees = _ref4.fees,
40225
40450
  subtotal = _ref4.subtotal,
40226
40451
  total = _ref4.total,
40452
+ _ref4$variant = _ref4.variant,
40453
+ variant = _ref4$variant === void 0 ? "default" : _ref4$variant,
40227
40454
  _ref4$hideTitle = _ref4.hideTitle,
40228
40455
  hideTitle = _ref4$hideTitle === void 0 ? false : _ref4$hideTitle,
40229
40456
  _ref4$titleText = _ref4.titleText,
@@ -40289,13 +40516,15 @@ var PaymentDetails = function PaymentDetails(_ref4) {
40289
40516
  feeElems: feeElems,
40290
40517
  subtotal: subtotal,
40291
40518
  total: total,
40292
- themeValues: themeValues
40519
+ themeValues: themeValues,
40520
+ variant: variant
40293
40521
  })) : /*#__PURE__*/React__default.createElement(PaymentDetailsContent, {
40294
40522
  lineItemElems: lineItemElems,
40295
40523
  feeElems: feeElems,
40296
40524
  subtotal: subtotal,
40297
40525
  total: total,
40298
- themeValues: themeValues
40526
+ themeValues: themeValues,
40527
+ variant: variant
40299
40528
  });
40300
40529
  var title = hideTitle ? /*#__PURE__*/React__default.createElement(React.Fragment, null) : isCollapsible ? /*#__PURE__*/React__default.createElement(Box, {
40301
40530
  width: "100%",
@@ -42052,6 +42281,7 @@ exports.CenterStack = CenterStack$1;
42052
42281
  exports.ChangePasswordForm = ChangePasswordForm;
42053
42282
  exports.ChargebackIcon = ChargebackIcon;
42054
42283
  exports.ChargebackReversalIcon = ChargebackReversalIcon;
42284
+ exports.CheckIcon = CheckIcon;
42055
42285
  exports.Checkbox = Checkbox$1;
42056
42286
  exports.CheckboxList = CheckboxList$1;
42057
42287
  exports.CheckmarkIcon = CheckmarkIcon;
@@ -42129,6 +42359,7 @@ exports.PaymentMethodIcon = PaymentMethodIcon$1;
42129
42359
  exports.PaymentSearchIcon = PaymentSearchIcon;
42130
42360
  exports.PaymentsIconSmall = PaymentsIconSmall$1;
42131
42361
  exports.PendingIcon = PendingIcon;
42362
+ exports.PeriscopeFailedIcon = PeriscopeFailedIcon;
42132
42363
  exports.PhoneForm = PhoneForm;
42133
42364
  exports.Placeholder = Placeholder$1;
42134
42365
  exports.ProcessingFee = ProcessingFee$1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "4.5.0-beta.2",
3
+ "version": "4.5.1",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -14,11 +14,13 @@ import { themeComponent } from "../../../util/themeUtils";
14
14
  New responsive text component for Detail elements
15
15
  (Block level text elements which are smaller than "Title" elements)
16
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)
17
+ Comes with four variants - "large", "regular", "small", "extraSmall"
18
+ Large variant results in text that is 1.125rem/1.1428rem (18px desktop, 16px mobile)
19
+ Regular variant results in text that is 1rem (16px desktop, 14px mobile)
20
+ Small variant reuslts in text that is 0.875rem/0.8571rem (14px desktop, 12px mobile)
21
+ ExtraSmall variant results in text that is 0.75rem/0.7142rem (12px desktop, 10px mobile)
20
22
 
21
- If you need a smaller larger size, use the <Title /> atom, which has larger variants
23
+ If you need a larger font size, use the <Title /> atom, which has larger variants
22
24
 
23
25
  Use the "as" prop to specify element type, can use any of: h1/h2/h3/h4/h5/h6/p
24
26
  If you need an inline text element (span), use the <Text /> atom
@@ -0,0 +1,37 @@
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;
@@ -0,0 +1,206 @@
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;
@@ -51,6 +51,8 @@ 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";
54
56
 
55
57
  export {
56
58
  AccountsIcon,
@@ -105,5 +107,7 @@ export {
105
107
  NoPaymentResultsIcon,
106
108
  CustomerSearchIcon,
107
109
  PaymentSearchIcon,
108
- ResetPasswordIcon
110
+ ResetPasswordIcon,
111
+ PeriscopeFailedIcon,
112
+ CheckIcon
109
113
  };
@@ -5,7 +5,14 @@ import { Stack } from "../layouts";
5
5
  import Heading from "../heading";
6
6
  import Paragraph from "../paragraph";
7
7
 
8
- const LabeledAmount = ({ variant = "pL", label, amount, themeValues, as }) => {
8
+ const LabeledAmount = ({
9
+ variant = "pL",
10
+ label,
11
+ amount,
12
+ themeValues,
13
+ as,
14
+ extraStyles
15
+ }) => {
9
16
  const LabeledAmountText = variant === "h6" ? Heading : Paragraph;
10
17
  return (
11
18
  <Stack direction="row">
@@ -13,7 +20,7 @@ const LabeledAmount = ({ variant = "pL", label, amount, themeValues, as }) => {
13
20
  variant={variant}
14
21
  as={as}
15
22
  weight={themeValues.fontWeight}
16
- extraStyles="text-align: start; flex: 3;"
23
+ extraStyles={`${extraStyles}; text-align: start; flex: 3;`}
17
24
  >
18
25
  {label}:
19
26
  </LabeledAmountText>
@@ -21,7 +28,7 @@ const LabeledAmount = ({ variant = "pL", label, amount, themeValues, as }) => {
21
28
  variant={variant}
22
29
  as={as}
23
30
  weight={themeValues.fontWeight}
24
- extraStyles="text-align: end; flex: 1;"
31
+ extraStyles={`${extraStyles}; text-align: end; flex: 1;`}
25
32
  >
26
33
  {amount}
27
34
  </LabeledAmountText>
@@ -1,5 +1,6 @@
1
1
  const fontWeight = {
2
2
  default: "600",
3
+ pS: "600",
3
4
  p: "600",
4
5
  pL: "600",
5
6
  h6: "700"
@@ -1,5 +1,5 @@
1
1
  const weightTitle = { default: "600", small: "400" };
2
- const paragraphVariant = { default: "pL", small: "p" };
2
+ const paragraphVariant = { default: "pL", small: "pS" };
3
3
 
4
4
  export const fallbackValues = {
5
5
  weightTitle,
@@ -16,7 +16,9 @@ const Module = ({
16
16
  <Fragment>
17
17
  {heading && (
18
18
  <Heading
19
- variant={variant === "default" ? "h5" : "h2"}
19
+ variant={
20
+ variant === "small" ? "h6" : variant === "default" ? "h5" : "h2"
21
+ }
20
22
  weight={themeValues.fontWeight}
21
23
  color={themeValues.fontColor}
22
24
  margin={`${spacing} 0 ${themeValues.titleSpacing} 0`}
@@ -1,20 +1,38 @@
1
1
  import { WHITE, CHARADE_GREY } from "../../../constants/colors";
2
2
 
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" };
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
+ };
10
22
  const boxShadow = {
11
23
  default:
12
24
  "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
13
25
  largeTitle:
26
+ "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
27
+ small:
14
28
  "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)"
15
29
  };
16
- const borderRadius = { default: "0.25rem", largeTitle: "0.25rem" };
17
- const backgroundColor = { default: WHITE, largeTitle: WHITE };
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 };
18
36
 
19
37
  export const fallbackValues = {
20
38
  fontSize,
@@ -10,12 +10,14 @@ 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";
13
14
 
14
15
  const PaymentDetailsContent = ({
15
16
  lineItemElems,
16
17
  feeElems,
17
18
  subtotal,
18
19
  total,
20
+ variant,
19
21
  themeValues
20
22
  }) => (
21
23
  <Stack childGap="16px">
@@ -31,10 +33,11 @@ const PaymentDetailsContent = ({
31
33
  </Box>
32
34
  <SolidDivider />
33
35
  <LabeledAmount
34
- as="h2"
36
+ as="p"
35
37
  variant={themeValues.labeledAmountTotal}
36
38
  label="Total"
37
39
  amount={displayCurrency(total)}
40
+ extraStyles={variant === "small" && `font-weight: ${FONT_WEIGHT_BOLD};`}
38
41
  />
39
42
  </Stack>
40
43
  );
@@ -74,6 +77,7 @@ const PaymentDetails = ({
74
77
  fees: _fees,
75
78
  subtotal,
76
79
  total,
80
+ variant = "default",
77
81
  hideTitle = false,
78
82
  titleText = "Payment Details",
79
83
  initiallyOpen = false,
@@ -113,12 +117,12 @@ const PaymentDetails = ({
113
117
  <SolidDivider />
114
118
  <Box padding="8px" />
115
119
  <PaymentDetailsContent
116
- {...{ lineItemElems, feeElems, subtotal, total, themeValues }}
120
+ {...{ lineItemElems, feeElems, subtotal, total, themeValues, variant }}
117
121
  />
118
122
  </Stack>
119
123
  ) : (
120
124
  <PaymentDetailsContent
121
- {...{ lineItemElems, feeElems, subtotal, total, themeValues }}
125
+ {...{ lineItemElems, feeElems, subtotal, total, themeValues, variant }}
122
126
  />
123
127
  );
124
128
  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: "p" };
4
- const labeledAmountTotal = { default: "h6", small: "pL" };
3
+ const labeledAmountSubtotal = { default: "pL", small: "pS" };
4
+ const labeledAmountTotal = { default: "h6", small: "p" };
5
5
 
6
6
  export const fallbackValues = {
7
7
  backgroundColor,