@thecb/components 10.4.6-beta.2 → 10.4.6-beta.3
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 +417 -413
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +417 -413
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/wallet-name/WalletName.js +27 -23
package/dist/index.cjs.js
CHANGED
|
@@ -13061,6 +13061,251 @@ var fallbackValues$2 = {
|
|
|
13061
13061
|
backgroundColor: backgroundColor$1
|
|
13062
13062
|
};
|
|
13063
13063
|
|
|
13064
|
+
var fontSize$1 = {
|
|
13065
|
+
"default": "1.375rem",
|
|
13066
|
+
largeTitle: "1.75rem",
|
|
13067
|
+
small: "1.25rem"
|
|
13068
|
+
};
|
|
13069
|
+
var fontWeight$1 = {
|
|
13070
|
+
"default": "600",
|
|
13071
|
+
largeTitle: "700",
|
|
13072
|
+
small: "600"
|
|
13073
|
+
};
|
|
13074
|
+
var fontColor = {
|
|
13075
|
+
"default": CHARADE_GREY,
|
|
13076
|
+
largeTitle: CHARADE_GREY,
|
|
13077
|
+
small: CHARADE_GREY
|
|
13078
|
+
};
|
|
13079
|
+
var lineHeight = {
|
|
13080
|
+
"default": "2rem",
|
|
13081
|
+
largeTitle: "2rem",
|
|
13082
|
+
small: "2rem"
|
|
13083
|
+
};
|
|
13084
|
+
var textAlign = {
|
|
13085
|
+
"default": "left",
|
|
13086
|
+
largeTitle: "left",
|
|
13087
|
+
small: "left"
|
|
13088
|
+
};
|
|
13089
|
+
var titleType = {
|
|
13090
|
+
"default": "h5",
|
|
13091
|
+
largeTitle: "h1",
|
|
13092
|
+
small: "h6"
|
|
13093
|
+
};
|
|
13094
|
+
var titleSpacing = {
|
|
13095
|
+
"default": "0.5rem",
|
|
13096
|
+
largeTitle: "1.125rem",
|
|
13097
|
+
small: "0.5rem"
|
|
13098
|
+
};
|
|
13099
|
+
var boxShadow = {
|
|
13100
|
+
"default": "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
|
|
13101
|
+
largeTitle: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
|
|
13102
|
+
small: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)"
|
|
13103
|
+
};
|
|
13104
|
+
var borderRadius = {
|
|
13105
|
+
"default": "0.25rem",
|
|
13106
|
+
largeTitle: "0.25rem",
|
|
13107
|
+
small: "0.25rem"
|
|
13108
|
+
};
|
|
13109
|
+
var backgroundColor$2 = {
|
|
13110
|
+
"default": WHITE,
|
|
13111
|
+
largeTitle: WHITE,
|
|
13112
|
+
small: WHITE
|
|
13113
|
+
};
|
|
13114
|
+
var fallbackValues$3 = {
|
|
13115
|
+
fontSize: fontSize$1,
|
|
13116
|
+
fontWeight: fontWeight$1,
|
|
13117
|
+
fontColor: fontColor,
|
|
13118
|
+
lineHeight: lineHeight,
|
|
13119
|
+
textAlign: textAlign,
|
|
13120
|
+
titleType: titleType,
|
|
13121
|
+
titleSpacing: titleSpacing,
|
|
13122
|
+
boxShadow: boxShadow,
|
|
13123
|
+
borderRadius: borderRadius,
|
|
13124
|
+
backgroundColor: backgroundColor$2
|
|
13125
|
+
};
|
|
13126
|
+
|
|
13127
|
+
var TitleText = styled__default.h1.withConfig({
|
|
13128
|
+
displayName: "Titlestyled__TitleText",
|
|
13129
|
+
componentId: "sc-11lhluq-0"
|
|
13130
|
+
})(["font-size:", ";line-height:1.5;color:", ";font-weight:", ";margin:", ";text-align:", ";font-family:", ";", ";"], function (_ref) {
|
|
13131
|
+
var fontSize = _ref.fontSize;
|
|
13132
|
+
return fontSize;
|
|
13133
|
+
}, function (_ref2) {
|
|
13134
|
+
var color = _ref2.color;
|
|
13135
|
+
return color;
|
|
13136
|
+
}, function (_ref3) {
|
|
13137
|
+
var weight = _ref3.weight;
|
|
13138
|
+
return weight;
|
|
13139
|
+
}, function (_ref4) {
|
|
13140
|
+
var margin = _ref4.margin;
|
|
13141
|
+
return margin;
|
|
13142
|
+
}, function (_ref5) {
|
|
13143
|
+
var textAlign = _ref5.textAlign;
|
|
13144
|
+
return textAlign;
|
|
13145
|
+
}, function (_ref6) {
|
|
13146
|
+
var fontFamily = _ref6.fontFamily;
|
|
13147
|
+
return fontFamily;
|
|
13148
|
+
}, function (_ref7) {
|
|
13149
|
+
var extraStyles = _ref7.extraStyles;
|
|
13150
|
+
return extraStyles;
|
|
13151
|
+
});
|
|
13152
|
+
|
|
13153
|
+
// Comments assume desktop base font size of 16px, mobile base font size of 14px
|
|
13154
|
+
|
|
13155
|
+
var fontSize$2 = {
|
|
13156
|
+
large: "1.5rem",
|
|
13157
|
+
// 24px (at base font size of 16px)
|
|
13158
|
+
small: "1.25rem" // 20px
|
|
13159
|
+
};
|
|
13160
|
+
var fontFamily$1 = {
|
|
13161
|
+
large: "Public Sans",
|
|
13162
|
+
small: "Public Sans"
|
|
13163
|
+
};
|
|
13164
|
+
var mobileFontSize = {
|
|
13165
|
+
large: "1.5rem",
|
|
13166
|
+
// 21px (at base font size of 14px)
|
|
13167
|
+
small: "1.2142rem" // 17px
|
|
13168
|
+
};
|
|
13169
|
+
var fallbackValues$4 = {
|
|
13170
|
+
fontFamily: fontFamily$1,
|
|
13171
|
+
fontSize: fontSize$2
|
|
13172
|
+
};
|
|
13173
|
+
var mobileFallbackValues = {
|
|
13174
|
+
fontFamily: fontFamily$1,
|
|
13175
|
+
fontSize: mobileFontSize
|
|
13176
|
+
};
|
|
13177
|
+
var MOBILE_BREAKPOINT = 768;
|
|
13178
|
+
|
|
13179
|
+
var _excluded$i = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
13180
|
+
|
|
13181
|
+
/*
|
|
13182
|
+
New responsive text component for Title elements
|
|
13183
|
+
Size is decoupled from tag
|
|
13184
|
+
Comes with two variants - "large" and "small"
|
|
13185
|
+
Large variant results in text that is 1.5rem (24px desktop, 21px mobile)
|
|
13186
|
+
Small variant results in text that is 1.25rem/1.2142rem (20px desktop, 17px mobile)
|
|
13187
|
+
|
|
13188
|
+
If you need a smaller text size, use the <Detail /> atom, which has smaller variants
|
|
13189
|
+
|
|
13190
|
+
Use the "as" prop to specify element type, can use any of: h1/h2/h3/h4/h5/h6/p
|
|
13191
|
+
If you need an inline text element (span), use the <Text /> atom
|
|
13192
|
+
The "as" value should be dictated by the structure of your page, not what font-size you want
|
|
13193
|
+
|
|
13194
|
+
Title / Detail both use slightly different desktop/mobile scales
|
|
13195
|
+
(Mobile scale is different to allow for design-friendly px values)
|
|
13196
|
+
Both atoms detect the presence of a mobile device on their own
|
|
13197
|
+
and apply the corresponding scale
|
|
13198
|
+
|
|
13199
|
+
Mobile breakpoint value is specified in Title.theme.js
|
|
13200
|
+
|
|
13201
|
+
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
|
|
13202
|
+
*/
|
|
13203
|
+
|
|
13204
|
+
var isBelowBreakpoint = window.innerWidth < MOBILE_BREAKPOINT;
|
|
13205
|
+
var isTouchDevice$1 = "ontouchstart" in window || navigator.maxTouchPoints > 1;
|
|
13206
|
+
var mobileDeviceDetected = isBelowBreakpoint && isTouchDevice$1;
|
|
13207
|
+
var fallbacks = mobileDeviceDetected ? mobileFallbackValues : fallbackValues$4;
|
|
13208
|
+
var Title = function Title(_ref) {
|
|
13209
|
+
var themeValues = _ref.themeValues,
|
|
13210
|
+
_ref$weight = _ref.weight,
|
|
13211
|
+
weight = _ref$weight === void 0 ? FONT_WEIGHT_REGULAR : _ref$weight,
|
|
13212
|
+
_ref$color = _ref.color,
|
|
13213
|
+
color = _ref$color === void 0 ? FIREFLY_GREY : _ref$color,
|
|
13214
|
+
_ref$margin = _ref.margin,
|
|
13215
|
+
margin = _ref$margin === void 0 ? 0 : _ref$margin,
|
|
13216
|
+
textAlign = _ref.textAlign,
|
|
13217
|
+
_ref$extraStyles = _ref.extraStyles,
|
|
13218
|
+
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
|
|
13219
|
+
className = _ref.className,
|
|
13220
|
+
_ref$variant = _ref.variant,
|
|
13221
|
+
variant = _ref$variant === void 0 ? "large" : _ref$variant,
|
|
13222
|
+
_ref$as = _ref.as,
|
|
13223
|
+
as = _ref$as === void 0 ? "h1" : _ref$as,
|
|
13224
|
+
dataQa = _ref.dataQa,
|
|
13225
|
+
children = _ref.children,
|
|
13226
|
+
rest = _objectWithoutProperties(_ref, _excluded$i);
|
|
13227
|
+
return /*#__PURE__*/React__default.createElement(TitleText, _extends({
|
|
13228
|
+
variant: variant,
|
|
13229
|
+
as: as,
|
|
13230
|
+
weight: weight,
|
|
13231
|
+
color: color,
|
|
13232
|
+
margin: margin,
|
|
13233
|
+
textAlign: textAlign,
|
|
13234
|
+
extraStyles: extraStyles,
|
|
13235
|
+
className: className,
|
|
13236
|
+
fontFamily: themeValues.fontFamily,
|
|
13237
|
+
fontSize: themeValues.fontSize,
|
|
13238
|
+
"data-qa": dataQa
|
|
13239
|
+
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
13240
|
+
};
|
|
13241
|
+
var Title$1 = themeComponent(Title, "Title", fallbacks, "large");
|
|
13242
|
+
|
|
13243
|
+
/*
|
|
13244
|
+
New (01/22) - updated <Module /> to use <Title /> atom
|
|
13245
|
+
Because <Title /> decouples size from element, also gave <Module />
|
|
13246
|
+
two new props: "as" and "fontSize"
|
|
13247
|
+
|
|
13248
|
+
When present, <Module /> will use those values to dictate element type and font size.
|
|
13249
|
+
|
|
13250
|
+
For backwards compatability, <Module /> still computes a themed font size and element type based on old
|
|
13251
|
+
<Heading /> variants. If "fontSize" or "as" is undefined, <Module /> will use themed values.
|
|
13252
|
+
*/
|
|
13253
|
+
|
|
13254
|
+
var Module = function Module(_ref) {
|
|
13255
|
+
var _ref$variant = _ref.variant,
|
|
13256
|
+
variant = _ref$variant === void 0 ? "default" : _ref$variant,
|
|
13257
|
+
as = _ref.as,
|
|
13258
|
+
disabled = _ref.disabled,
|
|
13259
|
+
heading = _ref.heading,
|
|
13260
|
+
rightTitleContent = _ref.rightTitleContent,
|
|
13261
|
+
_ref$titleID = _ref.titleID,
|
|
13262
|
+
titleID = _ref$titleID === void 0 ? "" : _ref$titleID,
|
|
13263
|
+
_ref$spacing = _ref.spacing,
|
|
13264
|
+
spacing = _ref$spacing === void 0 ? "1rem" : _ref$spacing,
|
|
13265
|
+
_ref$padding = _ref.padding,
|
|
13266
|
+
padding = _ref$padding === void 0 ? "0" : _ref$padding,
|
|
13267
|
+
_ref$margin = _ref.margin,
|
|
13268
|
+
margin = _ref$margin === void 0 ? "0" : _ref$margin,
|
|
13269
|
+
_ref$spacingBottom = _ref.spacingBottom,
|
|
13270
|
+
spacingBottom = _ref$spacingBottom === void 0 ? "2.5rem" : _ref$spacingBottom,
|
|
13271
|
+
fontSize = _ref.fontSize,
|
|
13272
|
+
themeValues = _ref.themeValues,
|
|
13273
|
+
children = _ref.children;
|
|
13274
|
+
var themedFontSize = variant === "small" ? "1.25rem" : variant === "default" ? "1.375rem" : "2rem";
|
|
13275
|
+
var computedFontSize = fontSize || themedFontSize;
|
|
13276
|
+
var themedElemType = variant === "small" ? "h6" : variant === "default" ? "h5" : "h2";
|
|
13277
|
+
var computedElemType = as || themedElemType;
|
|
13278
|
+
var disabledStyles = "opacity: 0.40;";
|
|
13279
|
+
var headingText = /*#__PURE__*/React__default.createElement(Title$1, {
|
|
13280
|
+
weight: themeValues.fontWeight,
|
|
13281
|
+
color: themeValues.fontColor,
|
|
13282
|
+
margin: "".concat(spacing, " 0 ").concat(themeValues.titleSpacing, " 0"),
|
|
13283
|
+
textAlign: themeValues.textAlign,
|
|
13284
|
+
as: computedElemType,
|
|
13285
|
+
extraStyles: "font-size: ".concat(computedFontSize, ";"),
|
|
13286
|
+
id: titleID
|
|
13287
|
+
}, heading);
|
|
13288
|
+
return /*#__PURE__*/React__default.createElement(Box, {
|
|
13289
|
+
"aria-disabled": disabled,
|
|
13290
|
+
extraStyles: disabled && disabledStyles,
|
|
13291
|
+
padding: "0",
|
|
13292
|
+
role: "group"
|
|
13293
|
+
}, heading && !rightTitleContent && headingText, heading && rightTitleContent && /*#__PURE__*/React__default.createElement(Cluster, {
|
|
13294
|
+
justify: "space-between",
|
|
13295
|
+
align: "center",
|
|
13296
|
+
nowrap: true
|
|
13297
|
+
}, headingText, rightTitleContent), /*#__PURE__*/React__default.createElement(Box, {
|
|
13298
|
+
padding: "0 0 ".concat(spacingBottom),
|
|
13299
|
+
extraStyles: "margin: ".concat(margin)
|
|
13300
|
+
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
13301
|
+
padding: padding,
|
|
13302
|
+
background: themeValues.backgroundColor,
|
|
13303
|
+
borderRadius: themeValues.borderRadius,
|
|
13304
|
+
boxShadow: themeValues.boxShadow
|
|
13305
|
+
}, children)));
|
|
13306
|
+
};
|
|
13307
|
+
var Module$1 = /*#__PURE__*/React.memo(themeComponent(Module, "Module", fallbackValues$3, "default"));
|
|
13308
|
+
|
|
13064
13309
|
var WalletName = function WalletName(_ref) {
|
|
13065
13310
|
var _ref$variant = _ref.variant,
|
|
13066
13311
|
personName = _ref.personName,
|
|
@@ -13073,11 +13318,15 @@ var WalletName = function WalletName(_ref) {
|
|
|
13073
13318
|
themeValues = _ref.themeValues;
|
|
13074
13319
|
var themeContext = React.useContext(styled.ThemeContext);
|
|
13075
13320
|
var isMobile = themeContext.isMobile;
|
|
13076
|
-
return /*#__PURE__*/React__default.createElement(React.Fragment, null, /*#__PURE__*/React__default.createElement(
|
|
13077
|
-
|
|
13321
|
+
return /*#__PURE__*/React__default.createElement(React.Fragment, null, /*#__PURE__*/React__default.createElement(Module$1, {
|
|
13322
|
+
spacingBottom: isMobile ? "0" : "1.5rem"
|
|
13323
|
+
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
13324
|
+
padding: "24px",
|
|
13325
|
+
spacingBottom: "0",
|
|
13326
|
+
margin: "0 0 0 0",
|
|
13078
13327
|
extraStyles: isMobile ? "display: flex; flex-direction: column; flex-wrap: wrap; \n span {text - align: right;}" : "display: flex; justify-content: space-between; align-items: center;"
|
|
13079
13328
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
13080
|
-
padding: "0"
|
|
13329
|
+
padding: "0 0 0"
|
|
13081
13330
|
}, /*#__PURE__*/React__default.createElement(Text$1, null, personName)), !isMobile && /*#__PURE__*/React__default.createElement(Box, {
|
|
13082
13331
|
padding: "0"
|
|
13083
13332
|
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
@@ -13087,7 +13336,7 @@ var WalletName = function WalletName(_ref) {
|
|
|
13087
13336
|
action: action,
|
|
13088
13337
|
variant: "smallGhost",
|
|
13089
13338
|
extraStyles: "span {font-size: 12px;}"
|
|
13090
|
-
}))), isMobile && /*#__PURE__*/React__default.createElement(Box, {
|
|
13339
|
+
})))), isMobile && /*#__PURE__*/React__default.createElement(Box, {
|
|
13091
13340
|
padding: "0",
|
|
13092
13341
|
extraStyles: "display: flex; align-items: center; justify-content: flex-end;"
|
|
13093
13342
|
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
@@ -13121,7 +13370,7 @@ var singleIconColor = {
|
|
|
13121
13370
|
secondary: "".concat(BRIGHT_GREY),
|
|
13122
13371
|
darkMode: "".concat(WHITE)
|
|
13123
13372
|
};
|
|
13124
|
-
var fallbackValues$
|
|
13373
|
+
var fallbackValues$5 = {
|
|
13125
13374
|
primaryColor: primaryColor,
|
|
13126
13375
|
accentColor: accentColor,
|
|
13127
13376
|
subIconColor: subIconColor,
|
|
@@ -13160,7 +13409,7 @@ var AccountsIcon = function AccountsIcon(_ref) {
|
|
|
13160
13409
|
mask: "url(#b)"
|
|
13161
13410
|
})));
|
|
13162
13411
|
};
|
|
13163
|
-
var AccountsIcon$1 = themeComponent(AccountsIcon, "Icons", fallbackValues$
|
|
13412
|
+
var AccountsIcon$1 = themeComponent(AccountsIcon, "Icons", fallbackValues$5, "info");
|
|
13164
13413
|
|
|
13165
13414
|
// Fill color based on default "success" variant color
|
|
13166
13415
|
var AutopayIcon = function AutopayIcon(_ref) {
|
|
@@ -13231,7 +13480,7 @@ var AccountsAddIcon = function AccountsAddIcon(_ref) {
|
|
|
13231
13480
|
mask: "url(#b)"
|
|
13232
13481
|
})));
|
|
13233
13482
|
};
|
|
13234
|
-
var AccountsAddIcon$1 = themeComponent(AccountsAddIcon, "Icons", fallbackValues$
|
|
13483
|
+
var AccountsAddIcon$1 = themeComponent(AccountsAddIcon, "Icons", fallbackValues$5, "info");
|
|
13235
13484
|
|
|
13236
13485
|
var ForgotPasswordIcon = function ForgotPasswordIcon(_ref) {
|
|
13237
13486
|
var themeValues = _ref.themeValues;
|
|
@@ -13268,7 +13517,7 @@ var ForgotPasswordIcon = function ForgotPasswordIcon(_ref) {
|
|
|
13268
13517
|
xlinkHref: "#prefix__c"
|
|
13269
13518
|
})));
|
|
13270
13519
|
};
|
|
13271
|
-
var ForgotPasswordIcon$1 = themeComponent(ForgotPasswordIcon, "Icons", fallbackValues$
|
|
13520
|
+
var ForgotPasswordIcon$1 = themeComponent(ForgotPasswordIcon, "Icons", fallbackValues$5, "info");
|
|
13272
13521
|
|
|
13273
13522
|
var GoToEmailIcon = function GoToEmailIcon(_ref) {
|
|
13274
13523
|
var themeValues = _ref.themeValues;
|
|
@@ -13297,7 +13546,7 @@ var GoToEmailIcon = function GoToEmailIcon(_ref) {
|
|
|
13297
13546
|
mask: "url(#prefix__b)"
|
|
13298
13547
|
})));
|
|
13299
13548
|
};
|
|
13300
|
-
var GoToEmailIcon$1 = themeComponent(GoToEmailIcon, "Icons", fallbackValues$
|
|
13549
|
+
var GoToEmailIcon$1 = themeComponent(GoToEmailIcon, "Icons", fallbackValues$5, "info");
|
|
13301
13550
|
|
|
13302
13551
|
var VerifiedEmailIcon = function VerifiedEmailIcon(_ref) {
|
|
13303
13552
|
var themeValues = _ref.themeValues;
|
|
@@ -13340,7 +13589,7 @@ var VerifiedEmailIcon = function VerifiedEmailIcon(_ref) {
|
|
|
13340
13589
|
xlinkHref: "#prefix__d"
|
|
13341
13590
|
})));
|
|
13342
13591
|
};
|
|
13343
|
-
var VerifiedEmailIcon$1 = themeComponent(VerifiedEmailIcon, "Icons", fallbackValues$
|
|
13592
|
+
var VerifiedEmailIcon$1 = themeComponent(VerifiedEmailIcon, "Icons", fallbackValues$5, "info");
|
|
13344
13593
|
|
|
13345
13594
|
var PaymentMethodIcon = function PaymentMethodIcon(_ref) {
|
|
13346
13595
|
var themeValues = _ref.themeValues;
|
|
@@ -13374,7 +13623,7 @@ var PaymentMethodIcon = function PaymentMethodIcon(_ref) {
|
|
|
13374
13623
|
mask: "url(#b)"
|
|
13375
13624
|
})));
|
|
13376
13625
|
};
|
|
13377
|
-
var PaymentMethodIcon$1 = themeComponent(PaymentMethodIcon, "Icons", fallbackValues$
|
|
13626
|
+
var PaymentMethodIcon$1 = themeComponent(PaymentMethodIcon, "Icons", fallbackValues$5, "info");
|
|
13378
13627
|
|
|
13379
13628
|
var AccountsIconSmall = function AccountsIconSmall(_ref) {
|
|
13380
13629
|
var themeValues = _ref.themeValues;
|
|
@@ -13412,7 +13661,7 @@ var AccountsIconSmall = function AccountsIconSmall(_ref) {
|
|
|
13412
13661
|
mask: "url(#mask-2-accountssmall)"
|
|
13413
13662
|
}))))))));
|
|
13414
13663
|
};
|
|
13415
|
-
var AccountsIconSmall$1 = themeComponent(AccountsIconSmall, "Icons", fallbackValues$
|
|
13664
|
+
var AccountsIconSmall$1 = themeComponent(AccountsIconSmall, "Icons", fallbackValues$5, "primary");
|
|
13416
13665
|
|
|
13417
13666
|
var PaymentsIconSmall = function PaymentsIconSmall(_ref) {
|
|
13418
13667
|
var themeValues = _ref.themeValues;
|
|
@@ -13462,7 +13711,7 @@ var PaymentsIconSmall = function PaymentsIconSmall(_ref) {
|
|
|
13462
13711
|
mask: "url(#mask-2-paymentssmall)"
|
|
13463
13712
|
}))))))));
|
|
13464
13713
|
};
|
|
13465
|
-
var PaymentsIconSmall$1 = themeComponent(PaymentsIconSmall, "Icons", fallbackValues$
|
|
13714
|
+
var PaymentsIconSmall$1 = themeComponent(PaymentsIconSmall, "Icons", fallbackValues$5, "primary");
|
|
13466
13715
|
|
|
13467
13716
|
var PaymentMethodAddIcon = function PaymentMethodAddIcon(_ref) {
|
|
13468
13717
|
var themeValues = _ref.themeValues;
|
|
@@ -13525,7 +13774,7 @@ var PaymentMethodAddIcon = function PaymentMethodAddIcon(_ref) {
|
|
|
13525
13774
|
d: "M0 0H21V21H0z"
|
|
13526
13775
|
})))))));
|
|
13527
13776
|
};
|
|
13528
|
-
var PaymentMethodAddIcon$1 = themeComponent(PaymentMethodAddIcon, "Icons", fallbackValues$
|
|
13777
|
+
var PaymentMethodAddIcon$1 = themeComponent(PaymentMethodAddIcon, "Icons", fallbackValues$5, "info");
|
|
13529
13778
|
|
|
13530
13779
|
var ProfileIconSmall = function ProfileIconSmall(_ref) {
|
|
13531
13780
|
var themeValues = _ref.themeValues;
|
|
@@ -13553,7 +13802,7 @@ var ProfileIconSmall = function ProfileIconSmall(_ref) {
|
|
|
13553
13802
|
id: "user-circle"
|
|
13554
13803
|
})))));
|
|
13555
13804
|
};
|
|
13556
|
-
var ProfileIconSmall$1 = themeComponent(ProfileIconSmall, "Icons", fallbackValues$
|
|
13805
|
+
var ProfileIconSmall$1 = themeComponent(ProfileIconSmall, "Icons", fallbackValues$5, "primary");
|
|
13557
13806
|
|
|
13558
13807
|
var SettingsIconSmall = function SettingsIconSmall(_ref) {
|
|
13559
13808
|
var themeValues = _ref.themeValues;
|
|
@@ -13603,7 +13852,7 @@ var SettingsIconSmall = function SettingsIconSmall(_ref) {
|
|
|
13603
13852
|
mask: "url(#mask-2-paymentssmall)"
|
|
13604
13853
|
}))))))));
|
|
13605
13854
|
};
|
|
13606
|
-
var SettingsIconSmall$1 = themeComponent(SettingsIconSmall, "Icons", fallbackValues$
|
|
13855
|
+
var SettingsIconSmall$1 = themeComponent(SettingsIconSmall, "Icons", fallbackValues$5, "primary");
|
|
13607
13856
|
|
|
13608
13857
|
var WalletIconSmall = function WalletIconSmall(_ref) {
|
|
13609
13858
|
var themeValues = _ref.themeValues,
|
|
@@ -13643,7 +13892,7 @@ var WalletIconSmall = function WalletIconSmall(_ref) {
|
|
|
13643
13892
|
fill: themeValues.singleIconColor
|
|
13644
13893
|
})));
|
|
13645
13894
|
};
|
|
13646
|
-
var WalletIconSmall$1 = themeComponent(WalletIconSmall, "Icons", fallbackValues$
|
|
13895
|
+
var WalletIconSmall$1 = themeComponent(WalletIconSmall, "Icons", fallbackValues$5, "primary");
|
|
13647
13896
|
|
|
13648
13897
|
var ChevronIcon = function ChevronIcon(_ref) {
|
|
13649
13898
|
var themeValues = _ref.themeValues,
|
|
@@ -13684,7 +13933,7 @@ var ChevronIcon = function ChevronIcon(_ref) {
|
|
|
13684
13933
|
height: "24"
|
|
13685
13934
|
}))));
|
|
13686
13935
|
};
|
|
13687
|
-
var ChevronIcon$1 = themeComponent(ChevronIcon, "Icons", fallbackValues$
|
|
13936
|
+
var ChevronIcon$1 = themeComponent(ChevronIcon, "Icons", fallbackValues$5, "secondary");
|
|
13688
13937
|
|
|
13689
13938
|
var PropertiesAddIcon = function PropertiesAddIcon(_ref) {
|
|
13690
13939
|
var themeValues = _ref.themeValues;
|
|
@@ -13752,7 +14001,7 @@ var PropertiesAddIcon = function PropertiesAddIcon(_ref) {
|
|
|
13752
14001
|
d: "M0 0h21v21H0z"
|
|
13753
14002
|
})))))));
|
|
13754
14003
|
};
|
|
13755
|
-
var PropertiesAddIcon$1 = themeComponent(PropertiesAddIcon, "Icons", fallbackValues$
|
|
14004
|
+
var PropertiesAddIcon$1 = themeComponent(PropertiesAddIcon, "Icons", fallbackValues$5, "info");
|
|
13756
14005
|
|
|
13757
14006
|
var PropertiesIconSmall = function PropertiesIconSmall(_ref) {
|
|
13758
14007
|
var themeValues = _ref.themeValues;
|
|
@@ -13778,7 +14027,7 @@ var PropertiesIconSmall = function PropertiesIconSmall(_ref) {
|
|
|
13778
14027
|
d: "M16.875 8.5a.297.297 0 00.25-.125l.781-.969a.389.389 0 00.078-.281.397.397 0 00-.109-.25L15.25 4.719V.375a.362.362 0 00-.11-.266.362.362 0 00-.265-.109h-1.75a.362.362 0 00-.266.11.362.362 0 00-.109.265v2.281L9.969.344A1.531 1.531 0 009 0c-.354 0-.667.115-.938.344L.125 6.875a.397.397 0 00-.11.25.389.389 0 00.079.281l.781.969a.297.297 0 00.25.125.457.457 0 00.281-.094L8.75 2.375A.416.416 0 019 2.281c.083 0 .167.032.25.094l7.344 6.031a.457.457 0 00.281.094zM7.125 14a.362.362 0 00.266-.11.362.362 0 00.109-.265v-3.5c0-.104.036-.193.11-.266a.362.362 0 01.265-.109h2.25c.104 0 .193.036.266.11.073.072.109.16.109.265v3.5c0 .104.036.193.11.266.072.073.16.109.265.109H14.5a.723.723 0 00.531-.219.723.723 0 00.219-.531V8.781a.424.424 0 00-.125-.312L9.25 3.656A.416.416 0 009 3.563a.416.416 0 00-.25.093L2.875 8.47a.424.424 0 00-.125.312v4.469c0 .208.073.385.219.531A.723.723 0 003.5 14h3.625z"
|
|
13779
14028
|
})));
|
|
13780
14029
|
};
|
|
13781
|
-
var PropertiesIconSmall$1 = themeComponent(PropertiesIconSmall, "Icons", fallbackValues$
|
|
14030
|
+
var PropertiesIconSmall$1 = themeComponent(PropertiesIconSmall, "Icons", fallbackValues$5, "primary");
|
|
13782
14031
|
|
|
13783
14032
|
var AccountNumberImage = function AccountNumberImage() {
|
|
13784
14033
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
@@ -14800,7 +15049,7 @@ var WalletIcon = function WalletIcon(_ref) {
|
|
|
14800
15049
|
d: "M239.196 71.402v3.56l3.562.002V77.1h-3.562v3.562h-2.137V77.1h-3.562v-2.137l3.561-.001.001-3.561h2.137z"
|
|
14801
15050
|
}))));
|
|
14802
15051
|
};
|
|
14803
|
-
var WalletIcon$1 = themeComponent(WalletIcon, "Icons", fallbackValues$
|
|
15052
|
+
var WalletIcon$1 = themeComponent(WalletIcon, "Icons", fallbackValues$5, "info");
|
|
14804
15053
|
|
|
14805
15054
|
var AchReturnIcon = function AchReturnIcon() {
|
|
14806
15055
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
@@ -15050,7 +15299,7 @@ var PencilIcon = function PencilIcon(_ref) {
|
|
|
15050
15299
|
fill: themeValues.subIconColor
|
|
15051
15300
|
}));
|
|
15052
15301
|
};
|
|
15053
|
-
var PencilIcon$1 = themeComponent(PencilIcon, "Icons", fallbackValues$
|
|
15302
|
+
var PencilIcon$1 = themeComponent(PencilIcon, "Icons", fallbackValues$5, "info");
|
|
15054
15303
|
|
|
15055
15304
|
var PendingIcon = function PendingIcon(_ref) {
|
|
15056
15305
|
var _ref$fill = _ref.fill,
|
|
@@ -15261,7 +15510,7 @@ var CarrotIcon = function CarrotIcon(_ref) {
|
|
|
15261
15510
|
d: "M0 0H24V24H0z"
|
|
15262
15511
|
}))))))));
|
|
15263
15512
|
};
|
|
15264
|
-
var CarrotIcon$1 = themeComponent(CarrotIcon, "Icons", fallbackValues$
|
|
15513
|
+
var CarrotIcon$1 = themeComponent(CarrotIcon, "Icons", fallbackValues$5, "darkMode");
|
|
15265
15514
|
|
|
15266
15515
|
var ProfileIcon = function ProfileIcon(_ref) {
|
|
15267
15516
|
var themeValues = _ref.themeValues;
|
|
@@ -15298,7 +15547,7 @@ var ProfileIcon = function ProfileIcon(_ref) {
|
|
|
15298
15547
|
d: "M51.196 76.402v3.56l3.562.002V82.1h-3.562v3.562H49.06V82.1h-3.562v-2.137l3.561-.001.001-3.561h2.137zm196-5v3.56l3.562.002V77.1h-3.562v3.562h-2.137V77.1h-3.562v-2.137l3.561-.001.001-3.561h2.137z"
|
|
15299
15548
|
}))));
|
|
15300
15549
|
};
|
|
15301
|
-
var ProfileIcon$1 = themeComponent(ProfileIcon, "Icons", fallbackValues$
|
|
15550
|
+
var ProfileIcon$1 = themeComponent(ProfileIcon, "Icons", fallbackValues$5, "info");
|
|
15302
15551
|
|
|
15303
15552
|
var GenericCardLarge = function GenericCardLarge() {
|
|
15304
15553
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
@@ -15360,7 +15609,7 @@ var EmptyCartIcon = function EmptyCartIcon(_ref) {
|
|
|
15360
15609
|
fillRule: "nonzero"
|
|
15361
15610
|
})));
|
|
15362
15611
|
};
|
|
15363
|
-
var EmptyCartIcon$1 = themeComponent(EmptyCartIcon, "Icons", fallbackValues$
|
|
15612
|
+
var EmptyCartIcon$1 = themeComponent(EmptyCartIcon, "Icons", fallbackValues$5, "info");
|
|
15364
15613
|
|
|
15365
15614
|
var ShoppingCartIcon = function ShoppingCartIcon() {
|
|
15366
15615
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
@@ -15432,7 +15681,7 @@ var TrashIcon = function TrashIcon(_ref) {
|
|
|
15432
15681
|
points: "0 0 20 0 20 20 0 20"
|
|
15433
15682
|
})));
|
|
15434
15683
|
};
|
|
15435
|
-
var TrashIcon$1 = themeComponent(TrashIcon, "Icons", fallbackValues$
|
|
15684
|
+
var TrashIcon$1 = themeComponent(TrashIcon, "Icons", fallbackValues$5, "primary");
|
|
15436
15685
|
|
|
15437
15686
|
var NoCustomerResultsIcon = function NoCustomerResultsIcon() {
|
|
15438
15687
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
@@ -16024,7 +16273,7 @@ var WalletBannerIcon = function WalletBannerIcon(_ref) {
|
|
|
16024
16273
|
fill: "white"
|
|
16025
16274
|
}));
|
|
16026
16275
|
};
|
|
16027
|
-
var WalletBannerIcon$1 = themeComponent(WalletBannerIcon, "Icons", fallbackValues$
|
|
16276
|
+
var WalletBannerIcon$1 = themeComponent(WalletBannerIcon, "Icons", fallbackValues$5, "primary");
|
|
16028
16277
|
|
|
16029
16278
|
var StandardCheckoutImage = function StandardCheckoutImage() {
|
|
16030
16279
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
@@ -17535,7 +17784,7 @@ var FindIconSmall = function FindIconSmall(_ref) {
|
|
|
17535
17784
|
fill: themeValues.singleIconColor
|
|
17536
17785
|
})));
|
|
17537
17786
|
};
|
|
17538
|
-
var FindIconSmall$1 = themeComponent(FindIconSmall, "Icons", fallbackValues$
|
|
17787
|
+
var FindIconSmall$1 = themeComponent(FindIconSmall, "Icons", fallbackValues$5, "primary");
|
|
17539
17788
|
|
|
17540
17789
|
var HistoryIconSmall = function HistoryIconSmall(_ref) {
|
|
17541
17790
|
var themeValues = _ref.themeValues;
|
|
@@ -17560,7 +17809,7 @@ var HistoryIconSmall = function HistoryIconSmall(_ref) {
|
|
|
17560
17809
|
fill: themeValues.singleIconColor
|
|
17561
17810
|
}));
|
|
17562
17811
|
};
|
|
17563
|
-
var HistoryIconSmall$1 = themeComponent(HistoryIconSmall, "Icons", fallbackValues$
|
|
17812
|
+
var HistoryIconSmall$1 = themeComponent(HistoryIconSmall, "Icons", fallbackValues$5, "primary");
|
|
17564
17813
|
|
|
17565
17814
|
var ChargebackIconSmall = function ChargebackIconSmall(_ref) {
|
|
17566
17815
|
var _ref$color = _ref.color,
|
|
@@ -18381,7 +18630,7 @@ var KebabMenuIcon = function KebabMenuIcon() {
|
|
|
18381
18630
|
}));
|
|
18382
18631
|
};
|
|
18383
18632
|
|
|
18384
|
-
var _excluded$
|
|
18633
|
+
var _excluded$j = ["iconFill", "iconWidth", "iconHeight"];
|
|
18385
18634
|
var MultiCartIcon = function MultiCartIcon(_ref) {
|
|
18386
18635
|
var _ref$iconFill = _ref.iconFill,
|
|
18387
18636
|
iconFill = _ref$iconFill === void 0 ? "#3B5BDB" : _ref$iconFill,
|
|
@@ -18389,7 +18638,7 @@ var MultiCartIcon = function MultiCartIcon(_ref) {
|
|
|
18389
18638
|
iconWidth = _ref$iconWidth === void 0 ? "20" : _ref$iconWidth,
|
|
18390
18639
|
_ref$iconHeight = _ref.iconHeight,
|
|
18391
18640
|
iconHeight = _ref$iconHeight === void 0 ? "17" : _ref$iconHeight,
|
|
18392
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
18641
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
18393
18642
|
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
18394
18643
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18395
18644
|
width: iconWidth,
|
|
@@ -18403,7 +18652,7 @@ var MultiCartIcon = function MultiCartIcon(_ref) {
|
|
|
18403
18652
|
}));
|
|
18404
18653
|
};
|
|
18405
18654
|
|
|
18406
|
-
var _excluded$
|
|
18655
|
+
var _excluded$k = ["iconFill", "iconWidth", "iconHeight"];
|
|
18407
18656
|
var CloseIcon = function CloseIcon(_ref) {
|
|
18408
18657
|
var _ref$iconFill = _ref.iconFill,
|
|
18409
18658
|
iconFill = _ref$iconFill === void 0 ? "#3B414D" : _ref$iconFill,
|
|
@@ -18411,7 +18660,7 @@ var CloseIcon = function CloseIcon(_ref) {
|
|
|
18411
18660
|
iconWidth = _ref$iconWidth === void 0 ? "24" : _ref$iconWidth,
|
|
18412
18661
|
_ref$iconHeight = _ref.iconHeight,
|
|
18413
18662
|
iconHeight = _ref$iconHeight === void 0 ? "24" : _ref$iconHeight,
|
|
18414
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
18663
|
+
rest = _objectWithoutProperties(_ref, _excluded$k);
|
|
18415
18664
|
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
18416
18665
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18417
18666
|
width: iconWidth,
|
|
@@ -18479,12 +18728,12 @@ var TrashIconV2 = function TrashIconV2(_ref) {
|
|
|
18479
18728
|
mask: "url(#mask0_4292_11876)"
|
|
18480
18729
|
}));
|
|
18481
18730
|
};
|
|
18482
|
-
var TrashIconV2$1 = themeComponent(TrashIconV2, "Icons", fallbackValues$
|
|
18731
|
+
var TrashIconV2$1 = themeComponent(TrashIconV2, "Icons", fallbackValues$5, "primary");
|
|
18483
18732
|
|
|
18484
18733
|
var color$2 = "#15749D";
|
|
18485
18734
|
var hoverColor$1 = "#116285";
|
|
18486
18735
|
var activeColor$1 = "#0E506D";
|
|
18487
|
-
var fallbackValues$
|
|
18736
|
+
var fallbackValues$6 = {
|
|
18488
18737
|
color: color$2,
|
|
18489
18738
|
hoverColor: hoverColor$1,
|
|
18490
18739
|
activeColor: activeColor$1
|
|
@@ -18525,7 +18774,7 @@ var AddObligation = function AddObligation(_ref) {
|
|
|
18525
18774
|
tabIndex: "-1"
|
|
18526
18775
|
})))));
|
|
18527
18776
|
};
|
|
18528
|
-
var AddObligation$1 = themeComponent(AddObligation, "AddObligation", fallbackValues$
|
|
18777
|
+
var AddObligation$1 = themeComponent(AddObligation, "AddObligation", fallbackValues$6);
|
|
18529
18778
|
|
|
18530
18779
|
var IconChevron = function IconChevron(_ref) {
|
|
18531
18780
|
var _ref$fill = _ref.fill,
|
|
@@ -18914,7 +19163,7 @@ var link = {
|
|
|
18914
19163
|
error: "".concat(SCIENCE_BLUE),
|
|
18915
19164
|
success: "".concat(SCIENCE_BLUE)
|
|
18916
19165
|
};
|
|
18917
|
-
var fallbackValues$
|
|
19166
|
+
var fallbackValues$7 = {
|
|
18918
19167
|
background: background,
|
|
18919
19168
|
border: border$1,
|
|
18920
19169
|
iconBackground: iconBackground,
|
|
@@ -19073,126 +19322,10 @@ var Alert = function Alert(_ref) {
|
|
|
19073
19322
|
maxWidth: maxContentWidth
|
|
19074
19323
|
}, content) : content);
|
|
19075
19324
|
};
|
|
19076
|
-
var Alert$1 = themeComponent(Alert, "Alert", fallbackValues$
|
|
19077
|
-
|
|
19078
|
-
var TitleText = styled__default.h1.withConfig({
|
|
19079
|
-
displayName: "Titlestyled__TitleText",
|
|
19080
|
-
componentId: "sc-11lhluq-0"
|
|
19081
|
-
})(["font-size:", ";line-height:1.5;color:", ";font-weight:", ";margin:", ";text-align:", ";font-family:", ";", ";"], function (_ref) {
|
|
19082
|
-
var fontSize = _ref.fontSize;
|
|
19083
|
-
return fontSize;
|
|
19084
|
-
}, function (_ref2) {
|
|
19085
|
-
var color = _ref2.color;
|
|
19086
|
-
return color;
|
|
19087
|
-
}, function (_ref3) {
|
|
19088
|
-
var weight = _ref3.weight;
|
|
19089
|
-
return weight;
|
|
19090
|
-
}, function (_ref4) {
|
|
19091
|
-
var margin = _ref4.margin;
|
|
19092
|
-
return margin;
|
|
19093
|
-
}, function (_ref5) {
|
|
19094
|
-
var textAlign = _ref5.textAlign;
|
|
19095
|
-
return textAlign;
|
|
19096
|
-
}, function (_ref6) {
|
|
19097
|
-
var fontFamily = _ref6.fontFamily;
|
|
19098
|
-
return fontFamily;
|
|
19099
|
-
}, function (_ref7) {
|
|
19100
|
-
var extraStyles = _ref7.extraStyles;
|
|
19101
|
-
return extraStyles;
|
|
19102
|
-
});
|
|
19103
|
-
|
|
19104
|
-
// Comments assume desktop base font size of 16px, mobile base font size of 14px
|
|
19105
|
-
|
|
19106
|
-
var fontSize$1 = {
|
|
19107
|
-
large: "1.5rem",
|
|
19108
|
-
// 24px (at base font size of 16px)
|
|
19109
|
-
small: "1.25rem" // 20px
|
|
19110
|
-
};
|
|
19111
|
-
var fontFamily$1 = {
|
|
19112
|
-
large: "Public Sans",
|
|
19113
|
-
small: "Public Sans"
|
|
19114
|
-
};
|
|
19115
|
-
var mobileFontSize = {
|
|
19116
|
-
large: "1.5rem",
|
|
19117
|
-
// 21px (at base font size of 14px)
|
|
19118
|
-
small: "1.2142rem" // 17px
|
|
19119
|
-
};
|
|
19120
|
-
var fallbackValues$6 = {
|
|
19121
|
-
fontFamily: fontFamily$1,
|
|
19122
|
-
fontSize: fontSize$1
|
|
19123
|
-
};
|
|
19124
|
-
var mobileFallbackValues = {
|
|
19125
|
-
fontFamily: fontFamily$1,
|
|
19126
|
-
fontSize: mobileFontSize
|
|
19127
|
-
};
|
|
19128
|
-
var MOBILE_BREAKPOINT = 768;
|
|
19129
|
-
|
|
19130
|
-
var _excluded$k = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
19131
|
-
|
|
19132
|
-
/*
|
|
19133
|
-
New responsive text component for Title elements
|
|
19134
|
-
Size is decoupled from tag
|
|
19135
|
-
Comes with two variants - "large" and "small"
|
|
19136
|
-
Large variant results in text that is 1.5rem (24px desktop, 21px mobile)
|
|
19137
|
-
Small variant results in text that is 1.25rem/1.2142rem (20px desktop, 17px mobile)
|
|
19138
|
-
|
|
19139
|
-
If you need a smaller text size, use the <Detail /> atom, which has smaller variants
|
|
19140
|
-
|
|
19141
|
-
Use the "as" prop to specify element type, can use any of: h1/h2/h3/h4/h5/h6/p
|
|
19142
|
-
If you need an inline text element (span), use the <Text /> atom
|
|
19143
|
-
The "as" value should be dictated by the structure of your page, not what font-size you want
|
|
19144
|
-
|
|
19145
|
-
Title / Detail both use slightly different desktop/mobile scales
|
|
19146
|
-
(Mobile scale is different to allow for design-friendly px values)
|
|
19147
|
-
Both atoms detect the presence of a mobile device on their own
|
|
19148
|
-
and apply the corresponding scale
|
|
19149
|
-
|
|
19150
|
-
Mobile breakpoint value is specified in Title.theme.js
|
|
19151
|
-
|
|
19152
|
-
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
|
|
19153
|
-
*/
|
|
19154
|
-
|
|
19155
|
-
var isBelowBreakpoint = window.innerWidth < MOBILE_BREAKPOINT;
|
|
19156
|
-
var isTouchDevice$1 = "ontouchstart" in window || navigator.maxTouchPoints > 1;
|
|
19157
|
-
var mobileDeviceDetected = isBelowBreakpoint && isTouchDevice$1;
|
|
19158
|
-
var fallbacks = mobileDeviceDetected ? mobileFallbackValues : fallbackValues$6;
|
|
19159
|
-
var Title = function Title(_ref) {
|
|
19160
|
-
var themeValues = _ref.themeValues,
|
|
19161
|
-
_ref$weight = _ref.weight,
|
|
19162
|
-
weight = _ref$weight === void 0 ? FONT_WEIGHT_REGULAR : _ref$weight,
|
|
19163
|
-
_ref$color = _ref.color,
|
|
19164
|
-
color = _ref$color === void 0 ? FIREFLY_GREY : _ref$color,
|
|
19165
|
-
_ref$margin = _ref.margin,
|
|
19166
|
-
margin = _ref$margin === void 0 ? 0 : _ref$margin,
|
|
19167
|
-
textAlign = _ref.textAlign,
|
|
19168
|
-
_ref$extraStyles = _ref.extraStyles,
|
|
19169
|
-
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
|
|
19170
|
-
className = _ref.className,
|
|
19171
|
-
_ref$variant = _ref.variant,
|
|
19172
|
-
variant = _ref$variant === void 0 ? "large" : _ref$variant,
|
|
19173
|
-
_ref$as = _ref.as,
|
|
19174
|
-
as = _ref$as === void 0 ? "h1" : _ref$as,
|
|
19175
|
-
dataQa = _ref.dataQa,
|
|
19176
|
-
children = _ref.children,
|
|
19177
|
-
rest = _objectWithoutProperties(_ref, _excluded$k);
|
|
19178
|
-
return /*#__PURE__*/React__default.createElement(TitleText, _extends({
|
|
19179
|
-
variant: variant,
|
|
19180
|
-
as: as,
|
|
19181
|
-
weight: weight,
|
|
19182
|
-
color: color,
|
|
19183
|
-
margin: margin,
|
|
19184
|
-
textAlign: textAlign,
|
|
19185
|
-
extraStyles: extraStyles,
|
|
19186
|
-
className: className,
|
|
19187
|
-
fontFamily: themeValues.fontFamily,
|
|
19188
|
-
fontSize: themeValues.fontSize,
|
|
19189
|
-
"data-qa": dataQa
|
|
19190
|
-
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
19191
|
-
};
|
|
19192
|
-
var Title$1 = themeComponent(Title, "Title", fallbacks, "large");
|
|
19325
|
+
var Alert$1 = themeComponent(Alert, "Alert", fallbackValues$7, "info");
|
|
19193
19326
|
|
|
19194
19327
|
var color$3 = "#292A33";
|
|
19195
|
-
var fallbackValues$
|
|
19328
|
+
var fallbackValues$8 = {
|
|
19196
19329
|
color: color$3
|
|
19197
19330
|
};
|
|
19198
19331
|
|
|
@@ -19210,7 +19343,7 @@ var AmountCallout = function AmountCallout(_ref) {
|
|
|
19210
19343
|
as: "p"
|
|
19211
19344
|
}, amount));
|
|
19212
19345
|
};
|
|
19213
|
-
var AmountCallout$1 = themeComponent(AmountCallout, "AmountCallout", fallbackValues$
|
|
19346
|
+
var AmountCallout$1 = themeComponent(AmountCallout, "AmountCallout", fallbackValues$8);
|
|
19214
19347
|
|
|
19215
19348
|
var background$1 = {
|
|
19216
19349
|
info: "".concat(INFO_BLUE),
|
|
@@ -19226,7 +19359,7 @@ var color$4 = {
|
|
|
19226
19359
|
success: "".concat(SEA_GREEN),
|
|
19227
19360
|
disabled: "".concat(MANATEE_GREY)
|
|
19228
19361
|
};
|
|
19229
|
-
var fallbackValues$
|
|
19362
|
+
var fallbackValues$9 = {
|
|
19230
19363
|
background: background$1,
|
|
19231
19364
|
color: color$4
|
|
19232
19365
|
};
|
|
@@ -19257,7 +19390,7 @@ var Badge = function Badge(_ref) {
|
|
|
19257
19390
|
fill: themeValues.color
|
|
19258
19391
|
}));
|
|
19259
19392
|
};
|
|
19260
|
-
var Badge$1 = themeComponent(Badge, "Badge", fallbackValues$
|
|
19393
|
+
var Badge$1 = themeComponent(Badge, "Badge", fallbackValues$9, "success");
|
|
19261
19394
|
|
|
19262
19395
|
function _extends$1() {
|
|
19263
19396
|
_extends$1 = Object.assign ? Object.assign.bind() : function (target) {
|
|
@@ -20598,7 +20731,7 @@ function transparentize(amount, color) {
|
|
|
20598
20731
|
var curriedTransparentize = curry /* ::<number | string, string, string> */(transparentize);
|
|
20599
20732
|
|
|
20600
20733
|
var linkColor = MATISSE_BLUE;
|
|
20601
|
-
var fallbackValues$
|
|
20734
|
+
var fallbackValues$a = {
|
|
20602
20735
|
linkColor: linkColor
|
|
20603
20736
|
};
|
|
20604
20737
|
|
|
@@ -20622,7 +20755,7 @@ var BoxWithShadow = function BoxWithShadow(_ref) {
|
|
|
20622
20755
|
boxShadow: shadowRegistry[variant]
|
|
20623
20756
|
}, props), children);
|
|
20624
20757
|
};
|
|
20625
|
-
var BoxWithShadow$1 = themeComponent(BoxWithShadow, "BoxWithShadow", fallbackValues$
|
|
20758
|
+
var BoxWithShadow$1 = themeComponent(BoxWithShadow, "BoxWithShadow", fallbackValues$a);
|
|
20626
20759
|
|
|
20627
20760
|
// import theme from "styled-theming";
|
|
20628
20761
|
var MATISSE_BLUE$2 = MATISSE_BLUE,
|
|
@@ -20637,18 +20770,18 @@ var LINK_TEXT_DECORATION$2 = LINK_TEXT_DECORATION;
|
|
|
20637
20770
|
var color$5 = "".concat(MATISSE_BLUE$2);
|
|
20638
20771
|
var activeColor$2 = "".concat(STORM_GREY$1);
|
|
20639
20772
|
var activeBreadcrumbColor = "".concat(STORM_GREY$1);
|
|
20640
|
-
var fontSize$
|
|
20641
|
-
var lineHeight = "1.25rem";
|
|
20642
|
-
var fontWeight$
|
|
20773
|
+
var fontSize$3 = "0.875rem";
|
|
20774
|
+
var lineHeight$1 = "1.25rem";
|
|
20775
|
+
var fontWeight$2 = "400";
|
|
20643
20776
|
var margin = "0.5rem";
|
|
20644
20777
|
var hover = "text-decoration: ".concat(LINK_TEXT_DECORATION$2, ";");
|
|
20645
|
-
var fallbackValues$
|
|
20778
|
+
var fallbackValues$b = {
|
|
20646
20779
|
color: color$5,
|
|
20647
20780
|
activeColor: activeColor$2,
|
|
20648
20781
|
activeBreadcrumbColor: activeBreadcrumbColor,
|
|
20649
|
-
fontSize: fontSize$
|
|
20650
|
-
lineHeight: lineHeight,
|
|
20651
|
-
fontWeight: fontWeight$
|
|
20782
|
+
fontSize: fontSize$3,
|
|
20783
|
+
lineHeight: lineHeight$1,
|
|
20784
|
+
fontWeight: fontWeight$2,
|
|
20652
20785
|
margin: margin,
|
|
20653
20786
|
hover: hover
|
|
20654
20787
|
};
|
|
@@ -20660,7 +20793,7 @@ var fontFamily$2 = {
|
|
|
20660
20793
|
var hoverColor$2 = SAPPHIRE_BLUE;
|
|
20661
20794
|
var activeColor$3 = PEACOCK_BLUE;
|
|
20662
20795
|
var externalLinkColor = MATISSE_BLUE;
|
|
20663
|
-
var fallbackValues$
|
|
20796
|
+
var fallbackValues$c = {
|
|
20664
20797
|
fontFamily: fontFamily$2,
|
|
20665
20798
|
hoverColor: hoverColor$2,
|
|
20666
20799
|
activeColor: activeColor$3,
|
|
@@ -20736,7 +20869,7 @@ var ExternalLink = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
20736
20869
|
ariaLabel = _ref.ariaLabel,
|
|
20737
20870
|
children = _ref.children;
|
|
20738
20871
|
var themeContext = React.useContext(styled.ThemeContext);
|
|
20739
|
-
var themeValues = createThemeValues(themeContext, fallbackValues$
|
|
20872
|
+
var themeValues = createThemeValues(themeContext, fallbackValues$c, "Link", variant);
|
|
20740
20873
|
return /*#__PURE__*/React__default.createElement(StyledExternalLink, {
|
|
20741
20874
|
href: href,
|
|
20742
20875
|
target: newTab ? "_blank" : "",
|
|
@@ -20829,7 +20962,7 @@ var InternalLink = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
20829
20962
|
_ref$extraStyles = _ref.extraStyles,
|
|
20830
20963
|
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles;
|
|
20831
20964
|
var themeContext = React.useContext(styled.ThemeContext);
|
|
20832
|
-
var themeValues = createThemeValues(themeContext, fallbackValues$
|
|
20965
|
+
var themeValues = createThemeValues(themeContext, fallbackValues$c, "Link", variant);
|
|
20833
20966
|
return /*#__PURE__*/React__default.createElement(StyledInternalLink, {
|
|
20834
20967
|
to: to,
|
|
20835
20968
|
color: color,
|
|
@@ -20852,7 +20985,7 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
|
20852
20985
|
var _ref$breadcrumbsList = _ref.breadcrumbsList,
|
|
20853
20986
|
breadcrumbsList = _ref$breadcrumbsList === void 0 ? [] : _ref$breadcrumbsList;
|
|
20854
20987
|
var themeContext = React.useContext(styled.ThemeContext);
|
|
20855
|
-
var themeValues = createThemeValues(themeContext, fallbackValues$
|
|
20988
|
+
var themeValues = createThemeValues(themeContext, fallbackValues$b, "Breadcrumb");
|
|
20856
20989
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
20857
20990
|
padding: "0",
|
|
20858
20991
|
as: "nav",
|
|
@@ -22517,7 +22650,7 @@ var fontFamily$3 = {
|
|
|
22517
22650
|
|
|
22518
22651
|
// Comments assume base font size of 16px
|
|
22519
22652
|
|
|
22520
|
-
var fontSize$
|
|
22653
|
+
var fontSize$4 = {
|
|
22521
22654
|
p: "1rem",
|
|
22522
22655
|
// 16px
|
|
22523
22656
|
pL: "1.125rem",
|
|
@@ -22530,9 +22663,9 @@ var fontSize$3 = {
|
|
|
22530
22663
|
// 10px
|
|
22531
22664
|
pXL: "1.5rem" // 24px
|
|
22532
22665
|
};
|
|
22533
|
-
var fallbackValues$
|
|
22666
|
+
var fallbackValues$d = {
|
|
22534
22667
|
fontFamily: fontFamily$3,
|
|
22535
|
-
fontSize: fontSize$
|
|
22668
|
+
fontSize: fontSize$4
|
|
22536
22669
|
};
|
|
22537
22670
|
|
|
22538
22671
|
var ParagraphText = styled__default.p.withConfig({
|
|
@@ -22584,12 +22717,12 @@ var Paragraph = function Paragraph(_ref) {
|
|
|
22584
22717
|
"data-qa": dataQa
|
|
22585
22718
|
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
22586
22719
|
};
|
|
22587
|
-
var Paragraph$1 = themeComponent(Paragraph, "Paragraph", fallbackValues$
|
|
22720
|
+
var Paragraph$1 = themeComponent(Paragraph, "Paragraph", fallbackValues$d, "p");
|
|
22588
22721
|
|
|
22589
|
-
var backgroundColor$
|
|
22722
|
+
var backgroundColor$3 = WHITE;
|
|
22590
22723
|
var iconBackgroundColor = GRECIAN_GREY;
|
|
22591
|
-
var fallbackValues$
|
|
22592
|
-
backgroundColor: backgroundColor$
|
|
22724
|
+
var fallbackValues$e = {
|
|
22725
|
+
backgroundColor: backgroundColor$3,
|
|
22593
22726
|
iconBackgroundColor: iconBackgroundColor
|
|
22594
22727
|
};
|
|
22595
22728
|
|
|
@@ -22719,7 +22852,7 @@ var CardRegistryCard = function CardRegistryCard(_ref2) {
|
|
|
22719
22852
|
extraStyles: "width: 100%;"
|
|
22720
22853
|
}))))));
|
|
22721
22854
|
};
|
|
22722
|
-
var CardRegistryCard$1 = themeComponent(withWindowSize(CardRegistryCard), "CardRegistryCard", fallbackValues$
|
|
22855
|
+
var CardRegistryCard$1 = themeComponent(withWindowSize(CardRegistryCard), "CardRegistryCard", fallbackValues$e);
|
|
22723
22856
|
|
|
22724
22857
|
var cardRegistry = {
|
|
22725
22858
|
accounts: function accounts(props) {
|
|
@@ -22751,7 +22884,7 @@ var cardRegistry = {
|
|
|
22751
22884
|
}
|
|
22752
22885
|
};
|
|
22753
22886
|
|
|
22754
|
-
var backgroundColor$
|
|
22887
|
+
var backgroundColor$4 = {
|
|
22755
22888
|
"default": "".concat(TRANSPARENT)
|
|
22756
22889
|
};
|
|
22757
22890
|
var textFontSize = {
|
|
@@ -22790,8 +22923,8 @@ var checkedStyles = {
|
|
|
22790
22923
|
var defaultStyles = {
|
|
22791
22924
|
"default": "\n background: ".concat(WHITE, "; \n border: 1px solid ").concat(STORM_GREY, ";\n")
|
|
22792
22925
|
};
|
|
22793
|
-
var fallbackValues$
|
|
22794
|
-
backgroundColor: backgroundColor$
|
|
22926
|
+
var fallbackValues$f = {
|
|
22927
|
+
backgroundColor: backgroundColor$4,
|
|
22795
22928
|
textFontSize: textFontSize,
|
|
22796
22929
|
textFontWeight: textFontWeight,
|
|
22797
22930
|
textLineHeight: textLineHeight,
|
|
@@ -22946,7 +23079,7 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
22946
23079
|
extraStyles: textExtraStyles ? "".concat(textExtraStyles, " ").concat(disabled && "color: #6e727e; background-color: #f7f7f7;", " ") : "margin-left: 1rem ".concat(disabled && "color: #6e727e; background-color: #f7f7f7;")
|
|
22947
23080
|
}, title)));
|
|
22948
23081
|
};
|
|
22949
|
-
var Checkbox$1 = themeComponent(Checkbox, "Checkbox", fallbackValues$
|
|
23082
|
+
var Checkbox$1 = themeComponent(Checkbox, "Checkbox", fallbackValues$f, "default");
|
|
22950
23083
|
|
|
22951
23084
|
var listBackgroundColor = {
|
|
22952
23085
|
"default": "".concat(ATHENS_GREY),
|
|
@@ -22972,7 +23105,7 @@ var radioButtonInactive = {
|
|
|
22972
23105
|
"default": "".concat(GHOST_GREY),
|
|
22973
23106
|
disabled: "".concat(GHOST_GREY)
|
|
22974
23107
|
};
|
|
22975
|
-
var fallbackValues$
|
|
23108
|
+
var fallbackValues$g = {
|
|
22976
23109
|
listBackgroundColor: listBackgroundColor,
|
|
22977
23110
|
listItemColor: listItemColor,
|
|
22978
23111
|
listItemBackgroundColor: listItemBackgroundColor,
|
|
@@ -23139,7 +23272,7 @@ var CheckboxList = function CheckboxList(_ref2) {
|
|
|
23139
23272
|
});
|
|
23140
23273
|
})));
|
|
23141
23274
|
};
|
|
23142
|
-
var CheckboxList$1 = themeComponent(CheckboxList, "CheckboxList", fallbackValues$
|
|
23275
|
+
var CheckboxList$1 = themeComponent(CheckboxList, "CheckboxList", fallbackValues$g, "default");
|
|
23143
23276
|
|
|
23144
23277
|
var DropdownIcon = function DropdownIcon() {
|
|
23145
23278
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
@@ -24476,7 +24609,7 @@ exportTypedArrayMethod$1('at', function at(index) {
|
|
|
24476
24609
|
var selectedColor = "".concat(MATISSE_BLUE);
|
|
24477
24610
|
var hoverColor$3 = "".concat(HOVER_LIGHT_BLUE);
|
|
24478
24611
|
var focusColor = "".concat(MATISSE_BLUE_DARK);
|
|
24479
|
-
var fallbackValues$
|
|
24612
|
+
var fallbackValues$h = {
|
|
24480
24613
|
selectedColor: selectedColor,
|
|
24481
24614
|
hoverColor: hoverColor$3,
|
|
24482
24615
|
focusColor: focusColor
|
|
@@ -24865,7 +24998,7 @@ var Dropdown = function Dropdown(_ref13) {
|
|
|
24865
24998
|
}, choice.text)));
|
|
24866
24999
|
}))) : /*#__PURE__*/React__default.createElement(React.Fragment, null)));
|
|
24867
25000
|
};
|
|
24868
|
-
var Dropdown$1 = themeComponent(Dropdown, "Dropdown", fallbackValues$
|
|
25001
|
+
var Dropdown$1 = themeComponent(Dropdown, "Dropdown", fallbackValues$h);
|
|
24869
25002
|
|
|
24870
25003
|
var SelectContainer = styled__default.div.withConfig({
|
|
24871
25004
|
displayName: "FormSelectstyled__SelectContainer",
|
|
@@ -24916,11 +25049,11 @@ var borderColor = {
|
|
|
24916
25049
|
"default": "".concat(GREY_CHATEAU),
|
|
24917
25050
|
disabled: "".concat(GREY_CHATEAU)
|
|
24918
25051
|
};
|
|
24919
|
-
var lineHeight$
|
|
25052
|
+
var lineHeight$2 = {
|
|
24920
25053
|
"default": "1rem",
|
|
24921
25054
|
disabled: "1rem"
|
|
24922
25055
|
};
|
|
24923
|
-
var fontSize$
|
|
25056
|
+
var fontSize$5 = {
|
|
24924
25057
|
"default": "0.875rem",
|
|
24925
25058
|
disabled: "0.875rem"
|
|
24926
25059
|
};
|
|
@@ -24928,7 +25061,7 @@ var errorFontSize = {
|
|
|
24928
25061
|
"default": "0.75rem",
|
|
24929
25062
|
disabled: "0.75rem"
|
|
24930
25063
|
};
|
|
24931
|
-
var fontWeight$
|
|
25064
|
+
var fontWeight$3 = {
|
|
24932
25065
|
"default": "".concat(FONT_WEIGHT_REGULAR),
|
|
24933
25066
|
disabled: "".concat(FONT_WEIGHT_REGULAR)
|
|
24934
25067
|
};
|
|
@@ -24936,17 +25069,17 @@ var hoverFocusStyles = {
|
|
|
24936
25069
|
"default": "color: #0E506D; outline: none; text-decoration: underline; ",
|
|
24937
25070
|
disabled: "color: #6D717E;"
|
|
24938
25071
|
};
|
|
24939
|
-
var fallbackValues$
|
|
25072
|
+
var fallbackValues$i = {
|
|
24940
25073
|
linkColor: linkColor$1,
|
|
24941
25074
|
formBackgroundColor: formBackgroundColor,
|
|
24942
25075
|
inputBackgroundColor: inputBackgroundColor,
|
|
24943
25076
|
color: color$6,
|
|
24944
25077
|
labelColor: labelColor,
|
|
24945
25078
|
borderColor: borderColor,
|
|
24946
|
-
lineHeight: lineHeight$
|
|
24947
|
-
fontSize: fontSize$
|
|
25079
|
+
lineHeight: lineHeight$2,
|
|
25080
|
+
fontSize: fontSize$5,
|
|
24948
25081
|
errorFontSize: errorFontSize,
|
|
24949
|
-
fontWeight: fontWeight$
|
|
25082
|
+
fontWeight: fontWeight$3,
|
|
24950
25083
|
hoverFocusStyles: hoverFocusStyles
|
|
24951
25084
|
};
|
|
24952
25085
|
|
|
@@ -25048,7 +25181,7 @@ var FormSelect = function FormSelect(_ref) {
|
|
|
25048
25181
|
extraStyles: "height: ".concat(themeValues.lineHeight, ";")
|
|
25049
25182
|
})));
|
|
25050
25183
|
};
|
|
25051
|
-
var FormSelect$1 = themeComponent(FormSelect, "FormSelect", fallbackValues$
|
|
25184
|
+
var FormSelect$1 = themeComponent(FormSelect, "FormSelect", fallbackValues$i, "default");
|
|
25052
25185
|
|
|
25053
25186
|
var options = [{
|
|
25054
25187
|
text: "Afghanistan",
|
|
@@ -25847,7 +25980,7 @@ var DetailText = styled__default.p.withConfig({
|
|
|
25847
25980
|
|
|
25848
25981
|
// Comments assume desktop base font size of 16px, mobile base font size of 14px
|
|
25849
25982
|
|
|
25850
|
-
var fontSize$
|
|
25983
|
+
var fontSize$6 = {
|
|
25851
25984
|
large: "1.125rem",
|
|
25852
25985
|
// 18px (at base font size of 16)
|
|
25853
25986
|
regular: "1rem",
|
|
@@ -25871,9 +26004,9 @@ var mobileFontSize$1 = {
|
|
|
25871
26004
|
// 12px
|
|
25872
26005
|
extraSmall: "0.71428rem" // 10px
|
|
25873
26006
|
};
|
|
25874
|
-
var fallbackValues$
|
|
26007
|
+
var fallbackValues$j = {
|
|
25875
26008
|
fontFamily: fontFamily$4,
|
|
25876
|
-
fontSize: fontSize$
|
|
26009
|
+
fontSize: fontSize$6
|
|
25877
26010
|
};
|
|
25878
26011
|
var mobileFallbackValues$1 = {
|
|
25879
26012
|
fontFamily: fontFamily$4,
|
|
@@ -25912,7 +26045,7 @@ var _excluded$q = ["themeValues", "weight", "color", "margin", "textAlign", "ext
|
|
|
25912
26045
|
var isBelowBreakpoint$1 = window.innerWidth < MOBILE_BREAKPOINT$1;
|
|
25913
26046
|
var isTouchDevice$2 = "ontouchstart" in window || navigator.maxTouchPoints > 1;
|
|
25914
26047
|
var mobileDeviceDetected$1 = isBelowBreakpoint$1 && isTouchDevice$2;
|
|
25915
|
-
var fallbacks$1 = mobileDeviceDetected$1 ? mobileFallbackValues$1 : fallbackValues$
|
|
26048
|
+
var fallbacks$1 = mobileDeviceDetected$1 ? mobileFallbackValues$1 : fallbackValues$j;
|
|
25916
26049
|
var Detail = function Detail(_ref) {
|
|
25917
26050
|
var themeValues = _ref.themeValues,
|
|
25918
26051
|
_ref$weight = _ref.weight,
|
|
@@ -25948,11 +26081,11 @@ var Detail = function Detail(_ref) {
|
|
|
25948
26081
|
};
|
|
25949
26082
|
var Detail$1 = themeComponent(Detail, "Detail", fallbacks$1, "regular");
|
|
25950
26083
|
|
|
25951
|
-
var backgroundColor$
|
|
25952
|
-
var boxShadow = "0px 2px 14px 0px ".concat(ATHENS_GREY, ", 0px 3px 8px 0px ").concat(GHOST_GREY);
|
|
25953
|
-
var fallbackValues$
|
|
25954
|
-
backgroundColor: backgroundColor$
|
|
25955
|
-
boxShadow: boxShadow
|
|
26084
|
+
var backgroundColor$5 = WHITE;
|
|
26085
|
+
var boxShadow$1 = "0px 2px 14px 0px ".concat(ATHENS_GREY, ", 0px 3px 8px 0px ").concat(GHOST_GREY);
|
|
26086
|
+
var fallbackValues$k = {
|
|
26087
|
+
backgroundColor: backgroundColor$5,
|
|
26088
|
+
boxShadow: boxShadow$1
|
|
25956
26089
|
};
|
|
25957
26090
|
|
|
25958
26091
|
var DisplayBox = function DisplayBox(_ref) {
|
|
@@ -25973,7 +26106,7 @@ var DisplayBox = function DisplayBox(_ref) {
|
|
|
25973
26106
|
dataQa: dataQa
|
|
25974
26107
|
}, children));
|
|
25975
26108
|
};
|
|
25976
|
-
var DisplayBox$1 = themeComponent(DisplayBox, "DisplayBox", fallbackValues$
|
|
26109
|
+
var DisplayBox$1 = themeComponent(DisplayBox, "DisplayBox", fallbackValues$k);
|
|
25977
26110
|
|
|
25978
26111
|
/*
|
|
25979
26112
|
Hook that assigns a click event listener to the main document element
|
|
@@ -26080,7 +26213,7 @@ var index$4 = /*#__PURE__*/Object.freeze({
|
|
|
26080
26213
|
var hoverColor$4 = "#116285";
|
|
26081
26214
|
var activeColor$4 = "#0E506D";
|
|
26082
26215
|
var popoverTriggerColor = "#15749D";
|
|
26083
|
-
var fallbackValues$
|
|
26216
|
+
var fallbackValues$l = {
|
|
26084
26217
|
hoverColor: hoverColor$4,
|
|
26085
26218
|
activeColor: activeColor$4,
|
|
26086
26219
|
popoverTriggerColor: popoverTriggerColor
|
|
@@ -26230,7 +26363,7 @@ var Popover = function Popover(_ref) {
|
|
|
26230
26363
|
extraStyles: "\n position: absolute;\n content: \"\";\n width: 0;\n height: 0;\n ".concat(arrowBorder(borderColor, arrowDirection, "8px"), ";\n filter: drop-shadow(2px 8px 14px black);\n bottom: ").concat(arrowBottom, ";\n right: ").concat(arrowRight, ";\n top: ").concat(arrowTop, ";\n left: ").concat(arrowLeft, ";\n ")
|
|
26231
26364
|
})));
|
|
26232
26365
|
};
|
|
26233
|
-
var Popover$1 = themeComponent(Popover, "Popover", fallbackValues$
|
|
26366
|
+
var Popover$1 = themeComponent(Popover, "Popover", fallbackValues$l);
|
|
26234
26367
|
|
|
26235
26368
|
var DisplayCard = function DisplayCard(_ref) {
|
|
26236
26369
|
var title = _ref.title,
|
|
@@ -26603,11 +26736,11 @@ var borderColor$1 = {
|
|
|
26603
26736
|
"default": "".concat(STORM_GREY),
|
|
26604
26737
|
disabled: "".concat(STORM_GREY)
|
|
26605
26738
|
};
|
|
26606
|
-
var lineHeight$
|
|
26739
|
+
var lineHeight$3 = {
|
|
26607
26740
|
"default": "1rem",
|
|
26608
26741
|
disabled: "1rem"
|
|
26609
26742
|
};
|
|
26610
|
-
var fontSize$
|
|
26743
|
+
var fontSize$7 = {
|
|
26611
26744
|
"default": "0.875rem",
|
|
26612
26745
|
disabled: "0.875rem"
|
|
26613
26746
|
};
|
|
@@ -26615,7 +26748,7 @@ var errorFontSize$1 = {
|
|
|
26615
26748
|
"default": "0.75rem",
|
|
26616
26749
|
disabled: "0.75rem"
|
|
26617
26750
|
};
|
|
26618
|
-
var fontWeight$
|
|
26751
|
+
var fontWeight$4 = {
|
|
26619
26752
|
"default": "".concat(FONT_WEIGHT_REGULAR),
|
|
26620
26753
|
disabled: "".concat(FONT_WEIGHT_REGULAR)
|
|
26621
26754
|
};
|
|
@@ -26626,17 +26759,17 @@ var hoverFocusStyles$1 = {
|
|
|
26626
26759
|
var formFooterPanel = {
|
|
26627
26760
|
"default": "".concat(INFO_BLUE)
|
|
26628
26761
|
};
|
|
26629
|
-
var fallbackValues$
|
|
26762
|
+
var fallbackValues$m = {
|
|
26630
26763
|
linkColor: linkColor$2,
|
|
26631
26764
|
formBackgroundColor: formBackgroundColor$1,
|
|
26632
26765
|
inputBackgroundColor: inputBackgroundColor$1,
|
|
26633
26766
|
color: color$7,
|
|
26634
26767
|
labelColor: labelColor$1,
|
|
26635
26768
|
borderColor: borderColor$1,
|
|
26636
|
-
lineHeight: lineHeight$
|
|
26637
|
-
fontSize: fontSize$
|
|
26769
|
+
lineHeight: lineHeight$3,
|
|
26770
|
+
fontSize: fontSize$7,
|
|
26638
26771
|
errorFontSize: errorFontSize$1,
|
|
26639
|
-
fontWeight: fontWeight$
|
|
26772
|
+
fontWeight: fontWeight$4,
|
|
26640
26773
|
hoverFocusStyles: hoverFocusStyles$1,
|
|
26641
26774
|
formFooterPanel: formFooterPanel
|
|
26642
26775
|
};
|
|
@@ -26846,7 +26979,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
26846
26979
|
padding: "0 0 0 auto"
|
|
26847
26980
|
}, decorator)));
|
|
26848
26981
|
};
|
|
26849
|
-
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$
|
|
26982
|
+
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$m, "default");
|
|
26850
26983
|
|
|
26851
26984
|
var _excluded$s = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
|
|
26852
26985
|
var FormInputRow = function FormInputRow(_ref) {
|
|
@@ -26894,7 +27027,7 @@ var FormContainer = function FormContainer(_ref) {
|
|
|
26894
27027
|
borderRadius: "4px"
|
|
26895
27028
|
}, rest), children);
|
|
26896
27029
|
};
|
|
26897
|
-
var FormContainer$1 = themeComponent(withWindowSize(FormContainer), "FormContainer", fallbackValues$
|
|
27030
|
+
var FormContainer$1 = themeComponent(withWindowSize(FormContainer), "FormContainer", fallbackValues$m, "default");
|
|
26898
27031
|
|
|
26899
27032
|
var FormFooterPanel = function FormFooterPanel(_ref) {
|
|
26900
27033
|
var themeValues = _ref.themeValues,
|
|
@@ -26915,9 +27048,9 @@ var FormFooterPanel = function FormFooterPanel(_ref) {
|
|
|
26915
27048
|
text: linkText
|
|
26916
27049
|
})));
|
|
26917
27050
|
};
|
|
26918
|
-
var FormFooterPanel$1 = themeComponent(withWindowSize(FormFooterPanel), "FormFooterPanel", fallbackValues$
|
|
27051
|
+
var FormFooterPanel$1 = themeComponent(withWindowSize(FormFooterPanel), "FormFooterPanel", fallbackValues$m, "default");
|
|
26919
27052
|
|
|
26920
|
-
var fontSize$
|
|
27053
|
+
var fontSize$8 = {
|
|
26921
27054
|
"default": "1rem",
|
|
26922
27055
|
radio: "1.0625rem"
|
|
26923
27056
|
};
|
|
@@ -26929,8 +27062,8 @@ var color$8 = {
|
|
|
26929
27062
|
"default": "".concat(CHARADE_GREY),
|
|
26930
27063
|
radio: "".concat(MINESHAFT_GREY)
|
|
26931
27064
|
};
|
|
26932
|
-
var fallbackValues$
|
|
26933
|
-
fontSize: fontSize$
|
|
27065
|
+
var fallbackValues$n = {
|
|
27066
|
+
fontSize: fontSize$8,
|
|
26934
27067
|
padding: padding$1,
|
|
26935
27068
|
color: color$8
|
|
26936
27069
|
};
|
|
@@ -26971,11 +27104,11 @@ var FormattedAddress = function FormattedAddress(_ref) {
|
|
|
26971
27104
|
dataQa: "".concat(qaPrefix, "-3")
|
|
26972
27105
|
}, city, ", ", stateProvince, " ".concat(zip), country ? " ".concat(country) : "")));
|
|
26973
27106
|
};
|
|
26974
|
-
var FormattedAddress$1 = themeComponent(FormattedAddress, "FormattedAddress", fallbackValues$
|
|
27107
|
+
var FormattedAddress$1 = themeComponent(FormattedAddress, "FormattedAddress", fallbackValues$n, "default");
|
|
26975
27108
|
|
|
26976
27109
|
var textColor$1 = "".concat(CHARADE_GREY);
|
|
26977
27110
|
var autopayTextColor = "".concat(REGENT_GREY);
|
|
26978
|
-
var fallbackValues$
|
|
27111
|
+
var fallbackValues$o = {
|
|
26979
27112
|
textColor: textColor$1,
|
|
26980
27113
|
autopayTextColor: autopayTextColor
|
|
26981
27114
|
};
|
|
@@ -27013,11 +27146,11 @@ var FormattedBankAccount = function FormattedBankAccount(_ref2) {
|
|
|
27013
27146
|
extraStyles: "font-style: italic;"
|
|
27014
27147
|
}, "Autopay Enabled")));
|
|
27015
27148
|
};
|
|
27016
|
-
var FormattedBankAccount$1 = themeComponent(FormattedBankAccount, "FormattedBankAccount", fallbackValues$
|
|
27149
|
+
var FormattedBankAccount$1 = themeComponent(FormattedBankAccount, "FormattedBankAccount", fallbackValues$o);
|
|
27017
27150
|
|
|
27018
27151
|
var textColor$2 = "".concat(CHARADE_GREY);
|
|
27019
27152
|
var autopayTextColor$1 = "".concat(REGENT_GREY);
|
|
27020
|
-
var fallbackValues$
|
|
27153
|
+
var fallbackValues$p = {
|
|
27021
27154
|
textColor: textColor$2,
|
|
27022
27155
|
autopayTextColor: autopayTextColor$1
|
|
27023
27156
|
};
|
|
@@ -27109,7 +27242,7 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
|
|
|
27109
27242
|
extraStyles: "font-style: italic;"
|
|
27110
27243
|
}, "Autopay Enabled")));
|
|
27111
27244
|
};
|
|
27112
|
-
var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$
|
|
27245
|
+
var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$p);
|
|
27113
27246
|
|
|
27114
27247
|
var Hamburger = styled__default.button.withConfig({
|
|
27115
27248
|
displayName: "HamburgerButton__Hamburger",
|
|
@@ -27182,7 +27315,7 @@ var fontFamily$5 = {
|
|
|
27182
27315
|
primary: "Public Sans",
|
|
27183
27316
|
secondary: "Open Sans"
|
|
27184
27317
|
};
|
|
27185
|
-
var fontSize$
|
|
27318
|
+
var fontSize$9 = {
|
|
27186
27319
|
h1: "2.25rem",
|
|
27187
27320
|
h2: "2rem",
|
|
27188
27321
|
h3: "1.75rem",
|
|
@@ -27190,9 +27323,9 @@ var fontSize$8 = {
|
|
|
27190
27323
|
h5: "1.375rem",
|
|
27191
27324
|
h6: "1.25rem"
|
|
27192
27325
|
};
|
|
27193
|
-
var fallbackValues$
|
|
27326
|
+
var fallbackValues$q = {
|
|
27194
27327
|
fontFamily: fontFamily$5,
|
|
27195
|
-
fontSize: fontSize$
|
|
27328
|
+
fontSize: fontSize$9
|
|
27196
27329
|
};
|
|
27197
27330
|
|
|
27198
27331
|
var _excluded$v = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
@@ -27229,7 +27362,7 @@ var Heading = function Heading(_ref) {
|
|
|
27229
27362
|
"data-qa": dataQa
|
|
27230
27363
|
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
27231
27364
|
};
|
|
27232
|
-
var Heading$1 = themeComponent(Heading, "Heading", fallbackValues$
|
|
27365
|
+
var Heading$1 = themeComponent(Heading, "Heading", fallbackValues$q, "h1");
|
|
27233
27366
|
|
|
27234
27367
|
var Image = styled__default.img.withConfig({
|
|
27235
27368
|
displayName: "ImageBoxstyled__Image",
|
|
@@ -27348,7 +27481,7 @@ var Jumbo = function Jumbo(_ref) {
|
|
|
27348
27481
|
};
|
|
27349
27482
|
var Jumbo$1 = withWindowSize(Jumbo);
|
|
27350
27483
|
|
|
27351
|
-
var fontWeight$
|
|
27484
|
+
var fontWeight$5 = {
|
|
27352
27485
|
// v1 variants
|
|
27353
27486
|
"default": "600",
|
|
27354
27487
|
pS: "600",
|
|
@@ -27364,8 +27497,8 @@ var fontWeight$4 = {
|
|
|
27364
27497
|
// fontsize Detail regular
|
|
27365
27498
|
large: "700" // fontsize Title small
|
|
27366
27499
|
};
|
|
27367
|
-
var fallbackValues$
|
|
27368
|
-
fontWeight: fontWeight$
|
|
27500
|
+
var fallbackValues$r = {
|
|
27501
|
+
fontWeight: fontWeight$5
|
|
27369
27502
|
};
|
|
27370
27503
|
|
|
27371
27504
|
var LabeledAmountV1 = function LabeledAmountV1(_ref) {
|
|
@@ -27423,7 +27556,7 @@ var LabeledAmount = function LabeledAmount(_ref) {
|
|
|
27423
27556
|
var LabeledAmountComponent = version === "v1" ? LabeledAmountV1 : LabeledAmountV2;
|
|
27424
27557
|
return /*#__PURE__*/React__default.createElement(LabeledAmountComponent, rest);
|
|
27425
27558
|
};
|
|
27426
|
-
var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$
|
|
27559
|
+
var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$r, "default");
|
|
27427
27560
|
|
|
27428
27561
|
var weightTitle = {
|
|
27429
27562
|
"default": "600",
|
|
@@ -27433,7 +27566,7 @@ var detailVariant = {
|
|
|
27433
27566
|
"default": "large",
|
|
27434
27567
|
small: "small"
|
|
27435
27568
|
};
|
|
27436
|
-
var fallbackValues$
|
|
27569
|
+
var fallbackValues$s = {
|
|
27437
27570
|
weightTitle: weightTitle,
|
|
27438
27571
|
detailVariant: detailVariant
|
|
27439
27572
|
};
|
|
@@ -27481,10 +27614,10 @@ var LineItem = function LineItem(_ref) {
|
|
|
27481
27614
|
childGap: "0.25rem"
|
|
27482
27615
|
}, visibleCustomAttrs));
|
|
27483
27616
|
};
|
|
27484
|
-
var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$
|
|
27617
|
+
var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$s, "default");
|
|
27485
27618
|
|
|
27486
27619
|
var color$9 = "#15749D";
|
|
27487
|
-
var fallbackValues$
|
|
27620
|
+
var fallbackValues$t = {
|
|
27488
27621
|
color: color$9
|
|
27489
27622
|
};
|
|
27490
27623
|
|
|
@@ -27540,7 +27673,7 @@ var Spinner$1 = function Spinner(_ref6) {
|
|
|
27540
27673
|
strokeWidth: "6"
|
|
27541
27674
|
})));
|
|
27542
27675
|
};
|
|
27543
|
-
var Spinner$2 = themeComponent(Spinner$1, "Spinner", fallbackValues$
|
|
27676
|
+
var Spinner$2 = themeComponent(Spinner$1, "Spinner", fallbackValues$t);
|
|
27544
27677
|
|
|
27545
27678
|
var Loading = function Loading() {
|
|
27546
27679
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -27800,7 +27933,7 @@ var height$1 = {
|
|
|
27800
27933
|
"default": "3rem",
|
|
27801
27934
|
large: "192px"
|
|
27802
27935
|
};
|
|
27803
|
-
var fallbackValues$
|
|
27936
|
+
var fallbackValues$u = {
|
|
27804
27937
|
color: color$a,
|
|
27805
27938
|
height: height$1
|
|
27806
27939
|
};
|
|
@@ -27906,13 +28039,13 @@ var Placeholder = function Placeholder(_ref2) {
|
|
|
27906
28039
|
extraStyles: "padding: 0 0 0 8px; text-align: center;"
|
|
27907
28040
|
}, text)))))))))));
|
|
27908
28041
|
};
|
|
27909
|
-
var Placeholder$1 = themeComponent(Placeholder, "Placeholder", fallbackValues$
|
|
28042
|
+
var Placeholder$1 = themeComponent(Placeholder, "Placeholder", fallbackValues$u, "default");
|
|
27910
28043
|
|
|
27911
|
-
var backgroundColor$
|
|
28044
|
+
var backgroundColor$6 = {
|
|
27912
28045
|
"default": "".concat(WHITE)
|
|
27913
28046
|
};
|
|
27914
|
-
var fallbackValues$
|
|
27915
|
-
backgroundColor: backgroundColor$
|
|
28047
|
+
var fallbackValues$v = {
|
|
28048
|
+
backgroundColor: backgroundColor$6
|
|
27916
28049
|
};
|
|
27917
28050
|
|
|
27918
28051
|
var ProcessingFee = function ProcessingFee(_ref) {
|
|
@@ -27938,11 +28071,11 @@ var ProcessingFee = function ProcessingFee(_ref) {
|
|
|
27938
28071
|
showQuitLink: false
|
|
27939
28072
|
}));
|
|
27940
28073
|
};
|
|
27941
|
-
var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$
|
|
28074
|
+
var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$v, "default");
|
|
27942
28075
|
|
|
27943
28076
|
var activeColor$5 = MATISSE_BLUE;
|
|
27944
28077
|
var inactiveBorderColor = GREY_CHATEAU;
|
|
27945
|
-
var fallbackValues$
|
|
28078
|
+
var fallbackValues$w = {
|
|
27946
28079
|
inactiveBorderColor: inactiveBorderColor,
|
|
27947
28080
|
activeColor: activeColor$5
|
|
27948
28081
|
};
|
|
@@ -28025,11 +28158,11 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
|
|
|
28025
28158
|
inactiveBorderColor: themeValues.inactiveBorderColor
|
|
28026
28159
|
}), labelText));
|
|
28027
28160
|
};
|
|
28028
|
-
var RadioButtonWithLabel$1 = themeComponent(RadioButtonWithLabel, "RadioButtonWithLabel", fallbackValues$
|
|
28161
|
+
var RadioButtonWithLabel$1 = themeComponent(RadioButtonWithLabel, "RadioButtonWithLabel", fallbackValues$w);
|
|
28029
28162
|
|
|
28030
28163
|
var activeColor$6 = "".concat(MATISSE_BLUE);
|
|
28031
28164
|
var inactiveColor = "".concat(STORM_GREY);
|
|
28032
|
-
var fallbackValues$
|
|
28165
|
+
var fallbackValues$x = {
|
|
28033
28166
|
activeColor: activeColor$6,
|
|
28034
28167
|
inactiveColor: inactiveColor
|
|
28035
28168
|
};
|
|
@@ -28134,12 +28267,12 @@ var RadioButton$1 = function RadioButton(_ref2) {
|
|
|
28134
28267
|
borderRadius: "8px"
|
|
28135
28268
|
})));
|
|
28136
28269
|
};
|
|
28137
|
-
var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$
|
|
28270
|
+
var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$x);
|
|
28138
28271
|
|
|
28139
28272
|
var border$2 = {
|
|
28140
28273
|
"default": "1px solid #caced8"
|
|
28141
28274
|
};
|
|
28142
|
-
var fallbackValues$
|
|
28275
|
+
var fallbackValues$y = {
|
|
28143
28276
|
border: border$2
|
|
28144
28277
|
};
|
|
28145
28278
|
|
|
@@ -28212,7 +28345,7 @@ var SearchableSelect = function SearchableSelect(_ref) {
|
|
|
28212
28345
|
});
|
|
28213
28346
|
}))));
|
|
28214
28347
|
};
|
|
28215
|
-
var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$
|
|
28348
|
+
var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$y, "default");
|
|
28216
28349
|
|
|
28217
28350
|
var borderColor$2 = {
|
|
28218
28351
|
"default": "".concat(GREY_CHATEAU)
|
|
@@ -28220,7 +28353,7 @@ var borderColor$2 = {
|
|
|
28220
28353
|
var borderSize = {
|
|
28221
28354
|
"default": "1px"
|
|
28222
28355
|
};
|
|
28223
|
-
var fallbackValues$
|
|
28356
|
+
var fallbackValues$z = {
|
|
28224
28357
|
borderColor: borderColor$2,
|
|
28225
28358
|
borderSize: borderSize
|
|
28226
28359
|
};
|
|
@@ -28238,7 +28371,7 @@ var SolidDivider = function SolidDivider(_ref) {
|
|
|
28238
28371
|
borderWidthOverride: "0px 0px ".concat(borderSize || themeValues.borderSize, " 0px")
|
|
28239
28372
|
});
|
|
28240
28373
|
};
|
|
28241
|
-
var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$
|
|
28374
|
+
var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$z, "default");
|
|
28242
28375
|
|
|
28243
28376
|
var placeHolderOptionUS = {
|
|
28244
28377
|
text: "Please select state",
|
|
@@ -38824,7 +38957,7 @@ var offBackground = "".concat(REGENT_GREY);
|
|
|
38824
38957
|
var labelStyles = "\n display: flex;\n justify-content: flex-start;\n align-items: center;\n";
|
|
38825
38958
|
var rightLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row;\n");
|
|
38826
38959
|
var leftLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row-reverse;\n");
|
|
38827
|
-
var fallbackValues$
|
|
38960
|
+
var fallbackValues$A = {
|
|
38828
38961
|
onBackground: onBackground,
|
|
38829
38962
|
disabledBackground: disabledBackground,
|
|
38830
38963
|
white: white,
|
|
@@ -38996,7 +39129,7 @@ var ToggleSwitch = function ToggleSwitch(_ref6) {
|
|
|
38996
39129
|
color: CHARADE_GREY
|
|
38997
39130
|
}, label))));
|
|
38998
39131
|
};
|
|
38999
|
-
var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$
|
|
39132
|
+
var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$A);
|
|
39000
39133
|
|
|
39001
39134
|
var background$2 = "".concat(ATHENS_GREY);
|
|
39002
39135
|
var white$1 = "".concat(WHITE);
|
|
@@ -39038,12 +39171,12 @@ var TypeaheadInput = function TypeaheadInput(_ref) {
|
|
|
39038
39171
|
}));
|
|
39039
39172
|
};
|
|
39040
39173
|
|
|
39041
|
-
var backgroundColor$
|
|
39174
|
+
var backgroundColor$7 = WHITE;
|
|
39042
39175
|
var imageBackgroundColor = INFO_BLUE;
|
|
39043
39176
|
var headerBackgroundColor = STORM_GREY;
|
|
39044
39177
|
var headerColor = WHITE;
|
|
39045
|
-
var fallbackValues$
|
|
39046
|
-
backgroundColor: backgroundColor$
|
|
39178
|
+
var fallbackValues$B = {
|
|
39179
|
+
backgroundColor: backgroundColor$7,
|
|
39047
39180
|
imageBackgroundColor: imageBackgroundColor,
|
|
39048
39181
|
headerBackgroundColor: headerBackgroundColor,
|
|
39049
39182
|
headerColor: headerColor
|
|
@@ -39066,7 +39199,7 @@ var CardImage = styled__default.img.withConfig({
|
|
|
39066
39199
|
var titleColor = BRIGHT_GREY;
|
|
39067
39200
|
var titleWeight = FONT_WEIGHT_BOLD;
|
|
39068
39201
|
var textColor$3 = BRIGHT_GREY;
|
|
39069
|
-
var fallbackValues$
|
|
39202
|
+
var fallbackValues$C = {
|
|
39070
39203
|
titleColor: titleColor,
|
|
39071
39204
|
titleWeight: titleWeight,
|
|
39072
39205
|
textColor: textColor$3
|
|
@@ -39090,7 +39223,7 @@ var CardText = function CardText(_ref) {
|
|
|
39090
39223
|
color: themeValues.textColor
|
|
39091
39224
|
}, text))));
|
|
39092
39225
|
};
|
|
39093
|
-
var CardText$1 = themeComponent(withWindowSize(CardText), "CardText", fallbackValues$
|
|
39226
|
+
var CardText$1 = themeComponent(withWindowSize(CardText), "CardText", fallbackValues$C);
|
|
39094
39227
|
|
|
39095
39228
|
var CardHeader = function CardHeader(_ref) {
|
|
39096
39229
|
var backgroundColor = _ref.backgroundColor,
|
|
@@ -39192,12 +39325,12 @@ var Card = function Card(_ref) {
|
|
|
39192
39325
|
titleVariant: titleVariant
|
|
39193
39326
|
}), children)))));
|
|
39194
39327
|
};
|
|
39195
|
-
var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$
|
|
39328
|
+
var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$B);
|
|
39196
39329
|
|
|
39197
39330
|
var fontFamily$6 = "Public Sans, sans-serif";
|
|
39198
39331
|
var activeColor$7 = MATISSE_BLUE;
|
|
39199
39332
|
var linkColor$3 = CHARADE_GREY;
|
|
39200
|
-
var fallbackValues$
|
|
39333
|
+
var fallbackValues$D = {
|
|
39201
39334
|
fontFamily: fontFamily$6,
|
|
39202
39335
|
activeColor: activeColor$7,
|
|
39203
39336
|
linkColor: linkColor$3
|
|
@@ -39226,7 +39359,7 @@ var NavTab = function NavTab(_ref) {
|
|
|
39226
39359
|
extraStyles: "\n border-bottom: 3px solid transparent;\n font-family: ".concat(themeValues.fontFamily, ";\n text-decoration: none;\n ").concat(isActive && !isMobile ? border : "none", ";\n &:hover {\n text-decoration: none;\n color: ").concat(themeValues.activeColor, ";\n ").concat(isMobile ? "" : "".concat(border), "\n };\n padding: 1.25rem 0;\n ")
|
|
39227
39360
|
}, label));
|
|
39228
39361
|
};
|
|
39229
|
-
var NavTab$1 = themeComponent(NavTab, "NavTab", fallbackValues$
|
|
39362
|
+
var NavTab$1 = themeComponent(NavTab, "NavTab", fallbackValues$D);
|
|
39230
39363
|
|
|
39231
39364
|
var NavTabs = function NavTabs(_ref) {
|
|
39232
39365
|
var tabsConfig = _ref.tabsConfig,
|
|
@@ -39315,10 +39448,10 @@ var TableCell_styled = styled__default.td.withConfig({
|
|
|
39315
39448
|
return extraStyles;
|
|
39316
39449
|
});
|
|
39317
39450
|
|
|
39318
|
-
var backgroundColor$
|
|
39451
|
+
var backgroundColor$8 = ALABASTER_WHITE;
|
|
39319
39452
|
var borderColor$3 = GREY_CHATEAU;
|
|
39320
|
-
var fallbackValues$
|
|
39321
|
-
backgroundColor: backgroundColor$
|
|
39453
|
+
var fallbackValues$E = {
|
|
39454
|
+
backgroundColor: backgroundColor$8,
|
|
39322
39455
|
borderColor: borderColor$3
|
|
39323
39456
|
};
|
|
39324
39457
|
|
|
@@ -39339,7 +39472,7 @@ var StyledTableHead = styled__default.thead.withConfig({
|
|
|
39339
39472
|
|
|
39340
39473
|
var borderColor$4 = GREY_CHATEAU;
|
|
39341
39474
|
var hoverBackgroundColor$1 = HOVER_LIGHT_BLUE;
|
|
39342
|
-
var fallbackValues$
|
|
39475
|
+
var fallbackValues$F = {
|
|
39343
39476
|
borderColor: borderColor$4,
|
|
39344
39477
|
hoverBackgroundColor: hoverBackgroundColor$1
|
|
39345
39478
|
};
|
|
@@ -39378,7 +39511,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
39378
39511
|
hoverBackgroundColor: themeValues.hoverBackgroundColor
|
|
39379
39512
|
}, props), children);
|
|
39380
39513
|
};
|
|
39381
|
-
var TableRow$1 = themeComponent(TableRow, "TableRow", fallbackValues$
|
|
39514
|
+
var TableRow$1 = themeComponent(TableRow, "TableRow", fallbackValues$F);
|
|
39382
39515
|
|
|
39383
39516
|
var TableHead = function TableHead(_ref) {
|
|
39384
39517
|
var children = _ref.children,
|
|
@@ -39393,7 +39526,7 @@ var TableHead = function TableHead(_ref) {
|
|
|
39393
39526
|
hoverEffect: false
|
|
39394
39527
|
}, children));
|
|
39395
39528
|
};
|
|
39396
|
-
var TableHead$1 = themeComponent(TableHead, "TableHead", fallbackValues$
|
|
39529
|
+
var TableHead$1 = themeComponent(TableHead, "TableHead", fallbackValues$E);
|
|
39397
39530
|
|
|
39398
39531
|
var TableHeading_styled = styled__default.th.withConfig({
|
|
39399
39532
|
displayName: "TableHeadingstyled",
|
|
@@ -40227,9 +40360,9 @@ AddressForm.reducer = reducer;
|
|
|
40227
40360
|
AddressForm.mapStateToProps = mapStateToProps$1;
|
|
40228
40361
|
AddressForm.mapDispatchToProps = mapDispatchToProps;
|
|
40229
40362
|
|
|
40230
|
-
var backgroundColor$
|
|
40231
|
-
var fallbackValues$
|
|
40232
|
-
backgroundColor: backgroundColor$
|
|
40363
|
+
var backgroundColor$9 = "#ebeffb";
|
|
40364
|
+
var fallbackValues$G = {
|
|
40365
|
+
backgroundColor: backgroundColor$9
|
|
40233
40366
|
};
|
|
40234
40367
|
|
|
40235
40368
|
var Banner = function Banner(_ref) {
|
|
@@ -40277,7 +40410,7 @@ var Banner = function Banner(_ref) {
|
|
|
40277
40410
|
extraStyles: isMobile && "> svg { width: 176px; }"
|
|
40278
40411
|
}, /*#__PURE__*/React__default.createElement(Image, null))));
|
|
40279
40412
|
};
|
|
40280
|
-
var Banner$1 = themeComponent(Banner, "Banner", fallbackValues$
|
|
40413
|
+
var Banner$1 = themeComponent(Banner, "Banner", fallbackValues$G);
|
|
40281
40414
|
|
|
40282
40415
|
var ChangePasswordForm = function ChangePasswordForm(_ref) {
|
|
40283
40416
|
var clearOnDismount = _ref.clearOnDismount,
|
|
@@ -40411,7 +40544,7 @@ ChangePasswordForm.mapDispatchToProps = mapDispatchToProps$1;
|
|
|
40411
40544
|
var titleColor$1 = "#292A33";
|
|
40412
40545
|
var headingBackgroundColor = "transparent";
|
|
40413
40546
|
var bodyBackgroundColor = "transparent";
|
|
40414
|
-
var fallbackValues$
|
|
40547
|
+
var fallbackValues$H = {
|
|
40415
40548
|
titleColor: titleColor$1,
|
|
40416
40549
|
headingBackgroundColor: headingBackgroundColor,
|
|
40417
40550
|
bodyBackgroundColor: bodyBackgroundColor
|
|
@@ -40536,7 +40669,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
40536
40669
|
"aria-labelledby": "".concat(id, "-button")
|
|
40537
40670
|
}, children))));
|
|
40538
40671
|
};
|
|
40539
|
-
var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$
|
|
40672
|
+
var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$H);
|
|
40540
40673
|
|
|
40541
40674
|
var ClipboardIcon = function ClipboardIcon(_ref) {
|
|
40542
40675
|
var themeValues = _ref.themeValues;
|
|
@@ -40569,7 +40702,7 @@ var ClipboardIcon = function ClipboardIcon(_ref) {
|
|
|
40569
40702
|
fill: themeValues.singleIconColor
|
|
40570
40703
|
})));
|
|
40571
40704
|
};
|
|
40572
|
-
var ClipboardIcon$1 = themeComponent(ClipboardIcon, "Icons", fallbackValues$
|
|
40705
|
+
var ClipboardIcon$1 = themeComponent(ClipboardIcon, "Icons", fallbackValues$5, "primary");
|
|
40573
40706
|
|
|
40574
40707
|
/*
|
|
40575
40708
|
This component will render `content` and a clipboard icon.
|
|
@@ -41112,7 +41245,7 @@ EmailForm.mapDispatchToProps = mapDispatchToProps$3;
|
|
|
41112
41245
|
|
|
41113
41246
|
var footerBackgroundColor = BRIGHT_GREY;
|
|
41114
41247
|
var subfooterBackgroundColor = STORM_GREY;
|
|
41115
|
-
var fallbackValues$
|
|
41248
|
+
var fallbackValues$I = {
|
|
41116
41249
|
footerBackgroundColor: footerBackgroundColor,
|
|
41117
41250
|
subfooterBackgroundColor: subfooterBackgroundColor
|
|
41118
41251
|
};
|
|
@@ -41143,7 +41276,7 @@ var FooterWithSubfooter = function FooterWithSubfooter(_ref) {
|
|
|
41143
41276
|
rightContent: rightSubfooterContent
|
|
41144
41277
|
}));
|
|
41145
41278
|
};
|
|
41146
|
-
var FooterWithSubfooter$1 = themeComponent(FooterWithSubfooter, "FooterWithSubfooter", fallbackValues$
|
|
41279
|
+
var FooterWithSubfooter$1 = themeComponent(FooterWithSubfooter, "FooterWithSubfooter", fallbackValues$I);
|
|
41147
41280
|
|
|
41148
41281
|
var ForgotPasswordForm = function ForgotPasswordForm(_ref) {
|
|
41149
41282
|
var fields = _ref.fields,
|
|
@@ -41189,10 +41322,10 @@ ForgotPasswordForm.mapStateToProps = mapStateToProps$5;
|
|
|
41189
41322
|
ForgotPasswordForm.mapDispatchToProps = mapDispatchToProps$4;
|
|
41190
41323
|
|
|
41191
41324
|
var textColor$4 = "#ffffff";
|
|
41192
|
-
var backgroundColor$
|
|
41193
|
-
var fallbackValues$
|
|
41325
|
+
var backgroundColor$a = "#182848";
|
|
41326
|
+
var fallbackValues$J = {
|
|
41194
41327
|
textColor: textColor$4,
|
|
41195
|
-
backgroundColor: backgroundColor$
|
|
41328
|
+
backgroundColor: backgroundColor$a
|
|
41196
41329
|
};
|
|
41197
41330
|
|
|
41198
41331
|
// this component needs some fix'n
|
|
@@ -41249,7 +41382,7 @@ var HighlightTabRow = function HighlightTabRow(_ref) {
|
|
|
41249
41382
|
}, t));
|
|
41250
41383
|
}), repeat( /*#__PURE__*/React__default.createElement(Box, null), boxesAfter))));
|
|
41251
41384
|
};
|
|
41252
|
-
var HighlightTabRow$1 = themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$
|
|
41385
|
+
var HighlightTabRow$1 = themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$J);
|
|
41253
41386
|
|
|
41254
41387
|
var AccountBillIcon = function AccountBillIcon() {
|
|
41255
41388
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
@@ -42714,7 +42847,7 @@ var disabledColor$1 = {
|
|
|
42714
42847
|
var activeBackgroundColor$1 = {
|
|
42715
42848
|
primary: CORNFLOWER_BLUE
|
|
42716
42849
|
};
|
|
42717
|
-
var backgroundColor$
|
|
42850
|
+
var backgroundColor$b = {
|
|
42718
42851
|
primary: LINK_WATER
|
|
42719
42852
|
};
|
|
42720
42853
|
var borderColor$5 = {
|
|
@@ -42723,12 +42856,12 @@ var borderColor$5 = {
|
|
|
42723
42856
|
var color$b = {
|
|
42724
42857
|
primary: ROYAL_BLUE_VIVID
|
|
42725
42858
|
};
|
|
42726
|
-
var fallbackValues$
|
|
42859
|
+
var fallbackValues$K = {
|
|
42727
42860
|
disabledBackgroundColor: disabledBackgroundColor$1,
|
|
42728
42861
|
disabledBorderColor: disabledBorderColor$1,
|
|
42729
42862
|
disabledColor: disabledColor$1,
|
|
42730
42863
|
activeBackgroundColor: activeBackgroundColor$1,
|
|
42731
|
-
backgroundColor: backgroundColor$
|
|
42864
|
+
backgroundColor: backgroundColor$b,
|
|
42732
42865
|
borderColor: borderColor$5,
|
|
42733
42866
|
color: color$b
|
|
42734
42867
|
};
|
|
@@ -42844,7 +42977,7 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42844
42977
|
extraStyles: "margin-right: auto;"
|
|
42845
42978
|
}), showRight && !!rightContent && rightContent))));
|
|
42846
42979
|
};
|
|
42847
|
-
var LinkCard$1 = themeComponent(LinkCard, "LinkCard", fallbackValues$
|
|
42980
|
+
var LinkCard$1 = themeComponent(LinkCard, "LinkCard", fallbackValues$K, "primary");
|
|
42848
42981
|
|
|
42849
42982
|
var LoginForm = function LoginForm(_ref) {
|
|
42850
42983
|
var clearOnDismount = _ref.clearOnDismount,
|
|
@@ -46483,135 +46616,6 @@ var Modal$1 = function Modal(_ref) {
|
|
|
46483
46616
|
}))))))))), children);
|
|
46484
46617
|
};
|
|
46485
46618
|
|
|
46486
|
-
var fontSize$9 = {
|
|
46487
|
-
"default": "1.375rem",
|
|
46488
|
-
largeTitle: "1.75rem",
|
|
46489
|
-
small: "1.25rem"
|
|
46490
|
-
};
|
|
46491
|
-
var fontWeight$5 = {
|
|
46492
|
-
"default": "600",
|
|
46493
|
-
largeTitle: "700",
|
|
46494
|
-
small: "600"
|
|
46495
|
-
};
|
|
46496
|
-
var fontColor = {
|
|
46497
|
-
"default": CHARADE_GREY,
|
|
46498
|
-
largeTitle: CHARADE_GREY,
|
|
46499
|
-
small: CHARADE_GREY
|
|
46500
|
-
};
|
|
46501
|
-
var lineHeight$3 = {
|
|
46502
|
-
"default": "2rem",
|
|
46503
|
-
largeTitle: "2rem",
|
|
46504
|
-
small: "2rem"
|
|
46505
|
-
};
|
|
46506
|
-
var textAlign = {
|
|
46507
|
-
"default": "left",
|
|
46508
|
-
largeTitle: "left",
|
|
46509
|
-
small: "left"
|
|
46510
|
-
};
|
|
46511
|
-
var titleType = {
|
|
46512
|
-
"default": "h5",
|
|
46513
|
-
largeTitle: "h1",
|
|
46514
|
-
small: "h6"
|
|
46515
|
-
};
|
|
46516
|
-
var titleSpacing = {
|
|
46517
|
-
"default": "0.5rem",
|
|
46518
|
-
largeTitle: "1.125rem",
|
|
46519
|
-
small: "0.5rem"
|
|
46520
|
-
};
|
|
46521
|
-
var boxShadow$1 = {
|
|
46522
|
-
"default": "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
|
|
46523
|
-
largeTitle: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
|
|
46524
|
-
small: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)"
|
|
46525
|
-
};
|
|
46526
|
-
var borderRadius = {
|
|
46527
|
-
"default": "0.25rem",
|
|
46528
|
-
largeTitle: "0.25rem",
|
|
46529
|
-
small: "0.25rem"
|
|
46530
|
-
};
|
|
46531
|
-
var backgroundColor$b = {
|
|
46532
|
-
"default": WHITE,
|
|
46533
|
-
largeTitle: WHITE,
|
|
46534
|
-
small: WHITE
|
|
46535
|
-
};
|
|
46536
|
-
var fallbackValues$K = {
|
|
46537
|
-
fontSize: fontSize$9,
|
|
46538
|
-
fontWeight: fontWeight$5,
|
|
46539
|
-
fontColor: fontColor,
|
|
46540
|
-
lineHeight: lineHeight$3,
|
|
46541
|
-
textAlign: textAlign,
|
|
46542
|
-
titleType: titleType,
|
|
46543
|
-
titleSpacing: titleSpacing,
|
|
46544
|
-
boxShadow: boxShadow$1,
|
|
46545
|
-
borderRadius: borderRadius,
|
|
46546
|
-
backgroundColor: backgroundColor$b
|
|
46547
|
-
};
|
|
46548
|
-
|
|
46549
|
-
/*
|
|
46550
|
-
New (01/22) - updated <Module /> to use <Title /> atom
|
|
46551
|
-
Because <Title /> decouples size from element, also gave <Module />
|
|
46552
|
-
two new props: "as" and "fontSize"
|
|
46553
|
-
|
|
46554
|
-
When present, <Module /> will use those values to dictate element type and font size.
|
|
46555
|
-
|
|
46556
|
-
For backwards compatability, <Module /> still computes a themed font size and element type based on old
|
|
46557
|
-
<Heading /> variants. If "fontSize" or "as" is undefined, <Module /> will use themed values.
|
|
46558
|
-
*/
|
|
46559
|
-
|
|
46560
|
-
var Module = function Module(_ref) {
|
|
46561
|
-
var _ref$variant = _ref.variant,
|
|
46562
|
-
variant = _ref$variant === void 0 ? "default" : _ref$variant,
|
|
46563
|
-
as = _ref.as,
|
|
46564
|
-
disabled = _ref.disabled,
|
|
46565
|
-
heading = _ref.heading,
|
|
46566
|
-
rightTitleContent = _ref.rightTitleContent,
|
|
46567
|
-
_ref$titleID = _ref.titleID,
|
|
46568
|
-
titleID = _ref$titleID === void 0 ? "" : _ref$titleID,
|
|
46569
|
-
_ref$spacing = _ref.spacing,
|
|
46570
|
-
spacing = _ref$spacing === void 0 ? "1rem" : _ref$spacing,
|
|
46571
|
-
_ref$padding = _ref.padding,
|
|
46572
|
-
padding = _ref$padding === void 0 ? "0" : _ref$padding,
|
|
46573
|
-
_ref$margin = _ref.margin,
|
|
46574
|
-
margin = _ref$margin === void 0 ? "0" : _ref$margin,
|
|
46575
|
-
_ref$spacingBottom = _ref.spacingBottom,
|
|
46576
|
-
spacingBottom = _ref$spacingBottom === void 0 ? "2.5rem" : _ref$spacingBottom,
|
|
46577
|
-
fontSize = _ref.fontSize,
|
|
46578
|
-
themeValues = _ref.themeValues,
|
|
46579
|
-
children = _ref.children;
|
|
46580
|
-
var themedFontSize = variant === "small" ? "1.25rem" : variant === "default" ? "1.375rem" : "2rem";
|
|
46581
|
-
var computedFontSize = fontSize || themedFontSize;
|
|
46582
|
-
var themedElemType = variant === "small" ? "h6" : variant === "default" ? "h5" : "h2";
|
|
46583
|
-
var computedElemType = as || themedElemType;
|
|
46584
|
-
var disabledStyles = "opacity: 0.40;";
|
|
46585
|
-
var headingText = /*#__PURE__*/React__default.createElement(Title$1, {
|
|
46586
|
-
weight: themeValues.fontWeight,
|
|
46587
|
-
color: themeValues.fontColor,
|
|
46588
|
-
margin: "".concat(spacing, " 0 ").concat(themeValues.titleSpacing, " 0"),
|
|
46589
|
-
textAlign: themeValues.textAlign,
|
|
46590
|
-
as: computedElemType,
|
|
46591
|
-
extraStyles: "font-size: ".concat(computedFontSize, ";"),
|
|
46592
|
-
id: titleID
|
|
46593
|
-
}, heading);
|
|
46594
|
-
return /*#__PURE__*/React__default.createElement(Box, {
|
|
46595
|
-
"aria-disabled": disabled,
|
|
46596
|
-
extraStyles: disabled && disabledStyles,
|
|
46597
|
-
padding: "0",
|
|
46598
|
-
role: "group"
|
|
46599
|
-
}, heading && !rightTitleContent && headingText, heading && rightTitleContent && /*#__PURE__*/React__default.createElement(Cluster, {
|
|
46600
|
-
justify: "space-between",
|
|
46601
|
-
align: "center",
|
|
46602
|
-
nowrap: true
|
|
46603
|
-
}, headingText, rightTitleContent), /*#__PURE__*/React__default.createElement(Box, {
|
|
46604
|
-
padding: "0 0 ".concat(spacingBottom),
|
|
46605
|
-
extraStyles: "margin: ".concat(margin)
|
|
46606
|
-
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
46607
|
-
padding: padding,
|
|
46608
|
-
background: themeValues.backgroundColor,
|
|
46609
|
-
borderRadius: themeValues.borderRadius,
|
|
46610
|
-
boxShadow: themeValues.boxShadow
|
|
46611
|
-
}, children)));
|
|
46612
|
-
};
|
|
46613
|
-
var Module$1 = /*#__PURE__*/React.memo(themeComponent(Module, "Module", fallbackValues$K, "default"));
|
|
46614
|
-
|
|
46615
46619
|
var backgroundColor$c = {
|
|
46616
46620
|
profile: "#3b414d",
|
|
46617
46621
|
cms: "#3b414d"
|