@thecb/components 7.0.0-beta.9 → 7.1.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -13391,6 +13391,43 @@ var SettingsIconSmall = function SettingsIconSmall(_ref) {
13391
13391
 
13392
13392
  var SettingsIconSmall$1 = themeComponent(SettingsIconSmall, "Icons", fallbackValues$2, "primary");
13393
13393
 
13394
+ var WalletIconSmall = function WalletIconSmall(_ref) {
13395
+ var themeValues = _ref.themeValues;
13396
+ return /*#__PURE__*/React__default.createElement("svg", {
13397
+ width: "20",
13398
+ height: "20",
13399
+ viewBox: "0 0 20 20",
13400
+ fill: "none",
13401
+ xmlns: "http://www.w3.org/2000/svg"
13402
+ }, /*#__PURE__*/React__default.createElement("path", {
13403
+ fillRule: "evenodd",
13404
+ clipRule: "evenodd",
13405
+ d: "M16.3125 6.94643C16.0446 6.70536 15.7232 6.57143 15.3482 6.57143L5.14283 6.57143C5.0089 6.57143 4.90176 6.54464 4.8214 6.46429C4.74104 6.38393 4.71426 6.27678 4.71426 6.14286C4.71426 6.03571 4.74104 5.92857 4.8214 5.84821C4.90176 5.76786 5.0089 5.71428 5.14283 5.71428L15.4285 5.71428C15.5357 5.71428 15.6428 5.6875 15.7232 5.60714C15.8035 5.52678 15.8571 5.41964 15.8571 5.28571C15.8571 4.9375 15.7232 4.64286 15.4821 4.375C15.2143 4.13393 14.9196 4 14.5714 4L4.71426 4C4.23211 4 3.80354 4.1875 3.48211 4.50893C3.16068 4.83036 2.99997 5.23214 2.99997 5.71428V14.2857C2.99997 14.7679 3.16068 15.1964 3.48211 15.5179C3.80354 15.8393 4.23211 16 4.71426 16L15.3482 16C15.7232 16 16.0446 15.8929 16.3125 15.625C16.5803 15.3839 16.7143 15.0893 16.7143 14.7143V7.85714C16.7143 7.50893 16.5803 7.21428 16.3125 6.94643ZM12.7142 13.143C13.661 13.143 14.4285 12.3755 14.4285 11.4288C14.4285 10.482 13.661 9.71447 12.7142 9.71447C11.7674 9.71447 10.9999 10.482 10.9999 11.4288C10.9999 12.3755 11.7674 13.143 12.7142 13.143Z",
13406
+ fill: themeValues.singleIconColor
13407
+ }), /*#__PURE__*/React__default.createElement("mask", {
13408
+ id: "mask0_503_574",
13409
+ style: "mask-type:alpha",
13410
+ maskUnits: "userSpaceOnUse",
13411
+ x: "3",
13412
+ y: "4",
13413
+ width: "14",
13414
+ height: "12"
13415
+ }, /*#__PURE__*/React__default.createElement("path", {
13416
+ fillRule: "evenodd",
13417
+ clipRule: "evenodd",
13418
+ d: "M16.3125 6.94643C16.0446 6.70536 15.7232 6.57143 15.3482 6.57143L5.14283 6.57143C5.0089 6.57143 4.90176 6.54464 4.8214 6.46429C4.74104 6.38393 4.71426 6.27678 4.71426 6.14286C4.71426 6.03571 4.74104 5.92857 4.8214 5.84821C4.90176 5.76786 5.0089 5.71428 5.14283 5.71428L15.4285 5.71428C15.5357 5.71428 15.6428 5.6875 15.7232 5.60714C15.8035 5.52678 15.8571 5.41964 15.8571 5.28571C15.8571 4.9375 15.7232 4.64286 15.4821 4.375C15.2143 4.13393 14.9196 4 14.5714 4L4.71426 4C4.23211 4 3.80354 4.1875 3.48211 4.50893C3.16068 4.83036 2.99997 5.23214 2.99997 5.71428V14.2857C2.99997 14.7679 3.16068 15.1964 3.48211 15.5179C3.80354 15.8393 4.23211 16 4.71426 16L15.3482 16C15.7232 16 16.0446 15.8929 16.3125 15.625C16.5803 15.3839 16.7143 15.0893 16.7143 14.7143V7.85714C16.7143 7.50893 16.5803 7.21428 16.3125 6.94643ZM12.7142 13.143C13.661 13.143 14.4285 12.3755 14.4285 11.4288C14.4285 10.482 13.661 9.71447 12.7142 9.71447C11.7674 9.71447 10.9999 10.482 10.9999 11.4288C10.9999 12.3755 11.7674 13.143 12.7142 13.143Z",
13419
+ fill: "white"
13420
+ })), /*#__PURE__*/React__default.createElement("g", {
13421
+ mask: "url(#mask0_503_574)"
13422
+ }, /*#__PURE__*/React__default.createElement("rect", {
13423
+ width: "20",
13424
+ height: "20",
13425
+ fill: themeValues.singleIconColor
13426
+ })));
13427
+ };
13428
+
13429
+ var WalletIconSmall$1 = themeComponent(WalletIconSmall, "Icons", fallbackValues$2, "primary");
13430
+
13394
13431
  var ChevronIcon = function ChevronIcon(_ref) {
13395
13432
  var themeValues = _ref.themeValues,
13396
13433
  iconFill = _ref.iconFill;
@@ -43337,16 +43374,7 @@ var Modal$1 = function Modal(_ref) {
43337
43374
  var _useContext = React.useContext(styled.ThemeContext),
43338
43375
  isMobile = _useContext.isMobile;
43339
43376
 
43340
- var modalContainerRef = React.useRef(null);
43341
- return /*#__PURE__*/React__default.createElement("div", {
43342
- ref: modalContainerRef
43343
- }, modalOpen && /*#__PURE__*/React__default.createElement(reactAriaModal // fallback to resolve Jest unit test errors when tabbable doesn't exist in jsdom https://github.com/focus-trap/focus-trap-react/issues/91
43344
- , {
43345
- initialFocus: modalContainerRef === null || modalContainerRef === void 0 ? void 0 : modalContainerRef.current,
43346
- focusTrapOptions: {
43347
- delayInitialFocus: false,
43348
- fallbackFocus: modalContainerRef === null || modalContainerRef === void 0 ? void 0 : modalContainerRef.current
43349
- },
43377
+ return /*#__PURE__*/React__default.createElement(React.Fragment, null, modalOpen && /*#__PURE__*/React__default.createElement(reactAriaModal, {
43350
43378
  onExit: onExit,
43351
43379
  getApplicationNode: getApplicationNode,
43352
43380
  titleText: modalHeaderText,
@@ -46874,6 +46902,7 @@ exports.TypeaheadInput = TypeaheadInput;
46874
46902
  exports.VerifiedEmailIcon = VerifiedEmailIcon$1;
46875
46903
  exports.VoidedIcon = VoidedIcon;
46876
46904
  exports.WalletIcon = WalletIcon$1;
46905
+ exports.WalletIconSmall = WalletIconSmall$1;
46877
46906
  exports.WarningIconXS = WarningIconXS;
46878
46907
  exports.WelcomeModule = WelcomeModule$1;
46879
46908
  exports.WorkflowTile = WorkflowTile;