@thecb/components 10.4.6-beta.1 → 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 +426 -413
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +426 -413
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/wallet-name/WalletName.js +45 -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,14 +13318,27 @@ 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(
|
|
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, {
|
|
13329
|
+
padding: "0 0 0"
|
|
13330
|
+
}, /*#__PURE__*/React__default.createElement(Text$1, null, personName)), !isMobile && /*#__PURE__*/React__default.createElement(Box, {
|
|
13080
13331
|
padding: "0"
|
|
13081
|
-
}, /*#__PURE__*/React__default.createElement(Text$1,
|
|
13332
|
+
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
13333
|
+
extraStyles: "font-size: 12px"
|
|
13334
|
+
}, text), /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
13335
|
+
text: actionText,
|
|
13336
|
+
action: action,
|
|
13337
|
+
variant: "smallGhost",
|
|
13338
|
+
extraStyles: "span {font-size: 12px;}"
|
|
13339
|
+
})))), isMobile && /*#__PURE__*/React__default.createElement(Box, {
|
|
13082
13340
|
padding: "0",
|
|
13083
|
-
extraStyles:
|
|
13341
|
+
extraStyles: "display: flex; align-items: center; justify-content: flex-end;"
|
|
13084
13342
|
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
13085
13343
|
extraStyles: "font-size: 12px"
|
|
13086
13344
|
}, text), /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
@@ -13112,7 +13370,7 @@ var singleIconColor = {
|
|
|
13112
13370
|
secondary: "".concat(BRIGHT_GREY),
|
|
13113
13371
|
darkMode: "".concat(WHITE)
|
|
13114
13372
|
};
|
|
13115
|
-
var fallbackValues$
|
|
13373
|
+
var fallbackValues$5 = {
|
|
13116
13374
|
primaryColor: primaryColor,
|
|
13117
13375
|
accentColor: accentColor,
|
|
13118
13376
|
subIconColor: subIconColor,
|
|
@@ -13151,7 +13409,7 @@ var AccountsIcon = function AccountsIcon(_ref) {
|
|
|
13151
13409
|
mask: "url(#b)"
|
|
13152
13410
|
})));
|
|
13153
13411
|
};
|
|
13154
|
-
var AccountsIcon$1 = themeComponent(AccountsIcon, "Icons", fallbackValues$
|
|
13412
|
+
var AccountsIcon$1 = themeComponent(AccountsIcon, "Icons", fallbackValues$5, "info");
|
|
13155
13413
|
|
|
13156
13414
|
// Fill color based on default "success" variant color
|
|
13157
13415
|
var AutopayIcon = function AutopayIcon(_ref) {
|
|
@@ -13222,7 +13480,7 @@ var AccountsAddIcon = function AccountsAddIcon(_ref) {
|
|
|
13222
13480
|
mask: "url(#b)"
|
|
13223
13481
|
})));
|
|
13224
13482
|
};
|
|
13225
|
-
var AccountsAddIcon$1 = themeComponent(AccountsAddIcon, "Icons", fallbackValues$
|
|
13483
|
+
var AccountsAddIcon$1 = themeComponent(AccountsAddIcon, "Icons", fallbackValues$5, "info");
|
|
13226
13484
|
|
|
13227
13485
|
var ForgotPasswordIcon = function ForgotPasswordIcon(_ref) {
|
|
13228
13486
|
var themeValues = _ref.themeValues;
|
|
@@ -13259,7 +13517,7 @@ var ForgotPasswordIcon = function ForgotPasswordIcon(_ref) {
|
|
|
13259
13517
|
xlinkHref: "#prefix__c"
|
|
13260
13518
|
})));
|
|
13261
13519
|
};
|
|
13262
|
-
var ForgotPasswordIcon$1 = themeComponent(ForgotPasswordIcon, "Icons", fallbackValues$
|
|
13520
|
+
var ForgotPasswordIcon$1 = themeComponent(ForgotPasswordIcon, "Icons", fallbackValues$5, "info");
|
|
13263
13521
|
|
|
13264
13522
|
var GoToEmailIcon = function GoToEmailIcon(_ref) {
|
|
13265
13523
|
var themeValues = _ref.themeValues;
|
|
@@ -13288,7 +13546,7 @@ var GoToEmailIcon = function GoToEmailIcon(_ref) {
|
|
|
13288
13546
|
mask: "url(#prefix__b)"
|
|
13289
13547
|
})));
|
|
13290
13548
|
};
|
|
13291
|
-
var GoToEmailIcon$1 = themeComponent(GoToEmailIcon, "Icons", fallbackValues$
|
|
13549
|
+
var GoToEmailIcon$1 = themeComponent(GoToEmailIcon, "Icons", fallbackValues$5, "info");
|
|
13292
13550
|
|
|
13293
13551
|
var VerifiedEmailIcon = function VerifiedEmailIcon(_ref) {
|
|
13294
13552
|
var themeValues = _ref.themeValues;
|
|
@@ -13331,7 +13589,7 @@ var VerifiedEmailIcon = function VerifiedEmailIcon(_ref) {
|
|
|
13331
13589
|
xlinkHref: "#prefix__d"
|
|
13332
13590
|
})));
|
|
13333
13591
|
};
|
|
13334
|
-
var VerifiedEmailIcon$1 = themeComponent(VerifiedEmailIcon, "Icons", fallbackValues$
|
|
13592
|
+
var VerifiedEmailIcon$1 = themeComponent(VerifiedEmailIcon, "Icons", fallbackValues$5, "info");
|
|
13335
13593
|
|
|
13336
13594
|
var PaymentMethodIcon = function PaymentMethodIcon(_ref) {
|
|
13337
13595
|
var themeValues = _ref.themeValues;
|
|
@@ -13365,7 +13623,7 @@ var PaymentMethodIcon = function PaymentMethodIcon(_ref) {
|
|
|
13365
13623
|
mask: "url(#b)"
|
|
13366
13624
|
})));
|
|
13367
13625
|
};
|
|
13368
|
-
var PaymentMethodIcon$1 = themeComponent(PaymentMethodIcon, "Icons", fallbackValues$
|
|
13626
|
+
var PaymentMethodIcon$1 = themeComponent(PaymentMethodIcon, "Icons", fallbackValues$5, "info");
|
|
13369
13627
|
|
|
13370
13628
|
var AccountsIconSmall = function AccountsIconSmall(_ref) {
|
|
13371
13629
|
var themeValues = _ref.themeValues;
|
|
@@ -13403,7 +13661,7 @@ var AccountsIconSmall = function AccountsIconSmall(_ref) {
|
|
|
13403
13661
|
mask: "url(#mask-2-accountssmall)"
|
|
13404
13662
|
}))))))));
|
|
13405
13663
|
};
|
|
13406
|
-
var AccountsIconSmall$1 = themeComponent(AccountsIconSmall, "Icons", fallbackValues$
|
|
13664
|
+
var AccountsIconSmall$1 = themeComponent(AccountsIconSmall, "Icons", fallbackValues$5, "primary");
|
|
13407
13665
|
|
|
13408
13666
|
var PaymentsIconSmall = function PaymentsIconSmall(_ref) {
|
|
13409
13667
|
var themeValues = _ref.themeValues;
|
|
@@ -13453,7 +13711,7 @@ var PaymentsIconSmall = function PaymentsIconSmall(_ref) {
|
|
|
13453
13711
|
mask: "url(#mask-2-paymentssmall)"
|
|
13454
13712
|
}))))))));
|
|
13455
13713
|
};
|
|
13456
|
-
var PaymentsIconSmall$1 = themeComponent(PaymentsIconSmall, "Icons", fallbackValues$
|
|
13714
|
+
var PaymentsIconSmall$1 = themeComponent(PaymentsIconSmall, "Icons", fallbackValues$5, "primary");
|
|
13457
13715
|
|
|
13458
13716
|
var PaymentMethodAddIcon = function PaymentMethodAddIcon(_ref) {
|
|
13459
13717
|
var themeValues = _ref.themeValues;
|
|
@@ -13516,7 +13774,7 @@ var PaymentMethodAddIcon = function PaymentMethodAddIcon(_ref) {
|
|
|
13516
13774
|
d: "M0 0H21V21H0z"
|
|
13517
13775
|
})))))));
|
|
13518
13776
|
};
|
|
13519
|
-
var PaymentMethodAddIcon$1 = themeComponent(PaymentMethodAddIcon, "Icons", fallbackValues$
|
|
13777
|
+
var PaymentMethodAddIcon$1 = themeComponent(PaymentMethodAddIcon, "Icons", fallbackValues$5, "info");
|
|
13520
13778
|
|
|
13521
13779
|
var ProfileIconSmall = function ProfileIconSmall(_ref) {
|
|
13522
13780
|
var themeValues = _ref.themeValues;
|
|
@@ -13544,7 +13802,7 @@ var ProfileIconSmall = function ProfileIconSmall(_ref) {
|
|
|
13544
13802
|
id: "user-circle"
|
|
13545
13803
|
})))));
|
|
13546
13804
|
};
|
|
13547
|
-
var ProfileIconSmall$1 = themeComponent(ProfileIconSmall, "Icons", fallbackValues$
|
|
13805
|
+
var ProfileIconSmall$1 = themeComponent(ProfileIconSmall, "Icons", fallbackValues$5, "primary");
|
|
13548
13806
|
|
|
13549
13807
|
var SettingsIconSmall = function SettingsIconSmall(_ref) {
|
|
13550
13808
|
var themeValues = _ref.themeValues;
|
|
@@ -13594,7 +13852,7 @@ var SettingsIconSmall = function SettingsIconSmall(_ref) {
|
|
|
13594
13852
|
mask: "url(#mask-2-paymentssmall)"
|
|
13595
13853
|
}))))))));
|
|
13596
13854
|
};
|
|
13597
|
-
var SettingsIconSmall$1 = themeComponent(SettingsIconSmall, "Icons", fallbackValues$
|
|
13855
|
+
var SettingsIconSmall$1 = themeComponent(SettingsIconSmall, "Icons", fallbackValues$5, "primary");
|
|
13598
13856
|
|
|
13599
13857
|
var WalletIconSmall = function WalletIconSmall(_ref) {
|
|
13600
13858
|
var themeValues = _ref.themeValues,
|
|
@@ -13634,7 +13892,7 @@ var WalletIconSmall = function WalletIconSmall(_ref) {
|
|
|
13634
13892
|
fill: themeValues.singleIconColor
|
|
13635
13893
|
})));
|
|
13636
13894
|
};
|
|
13637
|
-
var WalletIconSmall$1 = themeComponent(WalletIconSmall, "Icons", fallbackValues$
|
|
13895
|
+
var WalletIconSmall$1 = themeComponent(WalletIconSmall, "Icons", fallbackValues$5, "primary");
|
|
13638
13896
|
|
|
13639
13897
|
var ChevronIcon = function ChevronIcon(_ref) {
|
|
13640
13898
|
var themeValues = _ref.themeValues,
|
|
@@ -13675,7 +13933,7 @@ var ChevronIcon = function ChevronIcon(_ref) {
|
|
|
13675
13933
|
height: "24"
|
|
13676
13934
|
}))));
|
|
13677
13935
|
};
|
|
13678
|
-
var ChevronIcon$1 = themeComponent(ChevronIcon, "Icons", fallbackValues$
|
|
13936
|
+
var ChevronIcon$1 = themeComponent(ChevronIcon, "Icons", fallbackValues$5, "secondary");
|
|
13679
13937
|
|
|
13680
13938
|
var PropertiesAddIcon = function PropertiesAddIcon(_ref) {
|
|
13681
13939
|
var themeValues = _ref.themeValues;
|
|
@@ -13743,7 +14001,7 @@ var PropertiesAddIcon = function PropertiesAddIcon(_ref) {
|
|
|
13743
14001
|
d: "M0 0h21v21H0z"
|
|
13744
14002
|
})))))));
|
|
13745
14003
|
};
|
|
13746
|
-
var PropertiesAddIcon$1 = themeComponent(PropertiesAddIcon, "Icons", fallbackValues$
|
|
14004
|
+
var PropertiesAddIcon$1 = themeComponent(PropertiesAddIcon, "Icons", fallbackValues$5, "info");
|
|
13747
14005
|
|
|
13748
14006
|
var PropertiesIconSmall = function PropertiesIconSmall(_ref) {
|
|
13749
14007
|
var themeValues = _ref.themeValues;
|
|
@@ -13769,7 +14027,7 @@ var PropertiesIconSmall = function PropertiesIconSmall(_ref) {
|
|
|
13769
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"
|
|
13770
14028
|
})));
|
|
13771
14029
|
};
|
|
13772
|
-
var PropertiesIconSmall$1 = themeComponent(PropertiesIconSmall, "Icons", fallbackValues$
|
|
14030
|
+
var PropertiesIconSmall$1 = themeComponent(PropertiesIconSmall, "Icons", fallbackValues$5, "primary");
|
|
13773
14031
|
|
|
13774
14032
|
var AccountNumberImage = function AccountNumberImage() {
|
|
13775
14033
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
@@ -14791,7 +15049,7 @@ var WalletIcon = function WalletIcon(_ref) {
|
|
|
14791
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"
|
|
14792
15050
|
}))));
|
|
14793
15051
|
};
|
|
14794
|
-
var WalletIcon$1 = themeComponent(WalletIcon, "Icons", fallbackValues$
|
|
15052
|
+
var WalletIcon$1 = themeComponent(WalletIcon, "Icons", fallbackValues$5, "info");
|
|
14795
15053
|
|
|
14796
15054
|
var AchReturnIcon = function AchReturnIcon() {
|
|
14797
15055
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
@@ -15041,7 +15299,7 @@ var PencilIcon = function PencilIcon(_ref) {
|
|
|
15041
15299
|
fill: themeValues.subIconColor
|
|
15042
15300
|
}));
|
|
15043
15301
|
};
|
|
15044
|
-
var PencilIcon$1 = themeComponent(PencilIcon, "Icons", fallbackValues$
|
|
15302
|
+
var PencilIcon$1 = themeComponent(PencilIcon, "Icons", fallbackValues$5, "info");
|
|
15045
15303
|
|
|
15046
15304
|
var PendingIcon = function PendingIcon(_ref) {
|
|
15047
15305
|
var _ref$fill = _ref.fill,
|
|
@@ -15252,7 +15510,7 @@ var CarrotIcon = function CarrotIcon(_ref) {
|
|
|
15252
15510
|
d: "M0 0H24V24H0z"
|
|
15253
15511
|
}))))))));
|
|
15254
15512
|
};
|
|
15255
|
-
var CarrotIcon$1 = themeComponent(CarrotIcon, "Icons", fallbackValues$
|
|
15513
|
+
var CarrotIcon$1 = themeComponent(CarrotIcon, "Icons", fallbackValues$5, "darkMode");
|
|
15256
15514
|
|
|
15257
15515
|
var ProfileIcon = function ProfileIcon(_ref) {
|
|
15258
15516
|
var themeValues = _ref.themeValues;
|
|
@@ -15289,7 +15547,7 @@ var ProfileIcon = function ProfileIcon(_ref) {
|
|
|
15289
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"
|
|
15290
15548
|
}))));
|
|
15291
15549
|
};
|
|
15292
|
-
var ProfileIcon$1 = themeComponent(ProfileIcon, "Icons", fallbackValues$
|
|
15550
|
+
var ProfileIcon$1 = themeComponent(ProfileIcon, "Icons", fallbackValues$5, "info");
|
|
15293
15551
|
|
|
15294
15552
|
var GenericCardLarge = function GenericCardLarge() {
|
|
15295
15553
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
@@ -15351,7 +15609,7 @@ var EmptyCartIcon = function EmptyCartIcon(_ref) {
|
|
|
15351
15609
|
fillRule: "nonzero"
|
|
15352
15610
|
})));
|
|
15353
15611
|
};
|
|
15354
|
-
var EmptyCartIcon$1 = themeComponent(EmptyCartIcon, "Icons", fallbackValues$
|
|
15612
|
+
var EmptyCartIcon$1 = themeComponent(EmptyCartIcon, "Icons", fallbackValues$5, "info");
|
|
15355
15613
|
|
|
15356
15614
|
var ShoppingCartIcon = function ShoppingCartIcon() {
|
|
15357
15615
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
@@ -15423,7 +15681,7 @@ var TrashIcon = function TrashIcon(_ref) {
|
|
|
15423
15681
|
points: "0 0 20 0 20 20 0 20"
|
|
15424
15682
|
})));
|
|
15425
15683
|
};
|
|
15426
|
-
var TrashIcon$1 = themeComponent(TrashIcon, "Icons", fallbackValues$
|
|
15684
|
+
var TrashIcon$1 = themeComponent(TrashIcon, "Icons", fallbackValues$5, "primary");
|
|
15427
15685
|
|
|
15428
15686
|
var NoCustomerResultsIcon = function NoCustomerResultsIcon() {
|
|
15429
15687
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
@@ -16015,7 +16273,7 @@ var WalletBannerIcon = function WalletBannerIcon(_ref) {
|
|
|
16015
16273
|
fill: "white"
|
|
16016
16274
|
}));
|
|
16017
16275
|
};
|
|
16018
|
-
var WalletBannerIcon$1 = themeComponent(WalletBannerIcon, "Icons", fallbackValues$
|
|
16276
|
+
var WalletBannerIcon$1 = themeComponent(WalletBannerIcon, "Icons", fallbackValues$5, "primary");
|
|
16019
16277
|
|
|
16020
16278
|
var StandardCheckoutImage = function StandardCheckoutImage() {
|
|
16021
16279
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
@@ -17526,7 +17784,7 @@ var FindIconSmall = function FindIconSmall(_ref) {
|
|
|
17526
17784
|
fill: themeValues.singleIconColor
|
|
17527
17785
|
})));
|
|
17528
17786
|
};
|
|
17529
|
-
var FindIconSmall$1 = themeComponent(FindIconSmall, "Icons", fallbackValues$
|
|
17787
|
+
var FindIconSmall$1 = themeComponent(FindIconSmall, "Icons", fallbackValues$5, "primary");
|
|
17530
17788
|
|
|
17531
17789
|
var HistoryIconSmall = function HistoryIconSmall(_ref) {
|
|
17532
17790
|
var themeValues = _ref.themeValues;
|
|
@@ -17551,7 +17809,7 @@ var HistoryIconSmall = function HistoryIconSmall(_ref) {
|
|
|
17551
17809
|
fill: themeValues.singleIconColor
|
|
17552
17810
|
}));
|
|
17553
17811
|
};
|
|
17554
|
-
var HistoryIconSmall$1 = themeComponent(HistoryIconSmall, "Icons", fallbackValues$
|
|
17812
|
+
var HistoryIconSmall$1 = themeComponent(HistoryIconSmall, "Icons", fallbackValues$5, "primary");
|
|
17555
17813
|
|
|
17556
17814
|
var ChargebackIconSmall = function ChargebackIconSmall(_ref) {
|
|
17557
17815
|
var _ref$color = _ref.color,
|
|
@@ -18372,7 +18630,7 @@ var KebabMenuIcon = function KebabMenuIcon() {
|
|
|
18372
18630
|
}));
|
|
18373
18631
|
};
|
|
18374
18632
|
|
|
18375
|
-
var _excluded$
|
|
18633
|
+
var _excluded$j = ["iconFill", "iconWidth", "iconHeight"];
|
|
18376
18634
|
var MultiCartIcon = function MultiCartIcon(_ref) {
|
|
18377
18635
|
var _ref$iconFill = _ref.iconFill,
|
|
18378
18636
|
iconFill = _ref$iconFill === void 0 ? "#3B5BDB" : _ref$iconFill,
|
|
@@ -18380,7 +18638,7 @@ var MultiCartIcon = function MultiCartIcon(_ref) {
|
|
|
18380
18638
|
iconWidth = _ref$iconWidth === void 0 ? "20" : _ref$iconWidth,
|
|
18381
18639
|
_ref$iconHeight = _ref.iconHeight,
|
|
18382
18640
|
iconHeight = _ref$iconHeight === void 0 ? "17" : _ref$iconHeight,
|
|
18383
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
18641
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
18384
18642
|
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
18385
18643
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18386
18644
|
width: iconWidth,
|
|
@@ -18394,7 +18652,7 @@ var MultiCartIcon = function MultiCartIcon(_ref) {
|
|
|
18394
18652
|
}));
|
|
18395
18653
|
};
|
|
18396
18654
|
|
|
18397
|
-
var _excluded$
|
|
18655
|
+
var _excluded$k = ["iconFill", "iconWidth", "iconHeight"];
|
|
18398
18656
|
var CloseIcon = function CloseIcon(_ref) {
|
|
18399
18657
|
var _ref$iconFill = _ref.iconFill,
|
|
18400
18658
|
iconFill = _ref$iconFill === void 0 ? "#3B414D" : _ref$iconFill,
|
|
@@ -18402,7 +18660,7 @@ var CloseIcon = function CloseIcon(_ref) {
|
|
|
18402
18660
|
iconWidth = _ref$iconWidth === void 0 ? "24" : _ref$iconWidth,
|
|
18403
18661
|
_ref$iconHeight = _ref.iconHeight,
|
|
18404
18662
|
iconHeight = _ref$iconHeight === void 0 ? "24" : _ref$iconHeight,
|
|
18405
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
18663
|
+
rest = _objectWithoutProperties(_ref, _excluded$k);
|
|
18406
18664
|
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
18407
18665
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18408
18666
|
width: iconWidth,
|
|
@@ -18470,12 +18728,12 @@ var TrashIconV2 = function TrashIconV2(_ref) {
|
|
|
18470
18728
|
mask: "url(#mask0_4292_11876)"
|
|
18471
18729
|
}));
|
|
18472
18730
|
};
|
|
18473
|
-
var TrashIconV2$1 = themeComponent(TrashIconV2, "Icons", fallbackValues$
|
|
18731
|
+
var TrashIconV2$1 = themeComponent(TrashIconV2, "Icons", fallbackValues$5, "primary");
|
|
18474
18732
|
|
|
18475
18733
|
var color$2 = "#15749D";
|
|
18476
18734
|
var hoverColor$1 = "#116285";
|
|
18477
18735
|
var activeColor$1 = "#0E506D";
|
|
18478
|
-
var fallbackValues$
|
|
18736
|
+
var fallbackValues$6 = {
|
|
18479
18737
|
color: color$2,
|
|
18480
18738
|
hoverColor: hoverColor$1,
|
|
18481
18739
|
activeColor: activeColor$1
|
|
@@ -18516,7 +18774,7 @@ var AddObligation = function AddObligation(_ref) {
|
|
|
18516
18774
|
tabIndex: "-1"
|
|
18517
18775
|
})))));
|
|
18518
18776
|
};
|
|
18519
|
-
var AddObligation$1 = themeComponent(AddObligation, "AddObligation", fallbackValues$
|
|
18777
|
+
var AddObligation$1 = themeComponent(AddObligation, "AddObligation", fallbackValues$6);
|
|
18520
18778
|
|
|
18521
18779
|
var IconChevron = function IconChevron(_ref) {
|
|
18522
18780
|
var _ref$fill = _ref.fill,
|
|
@@ -18905,7 +19163,7 @@ var link = {
|
|
|
18905
19163
|
error: "".concat(SCIENCE_BLUE),
|
|
18906
19164
|
success: "".concat(SCIENCE_BLUE)
|
|
18907
19165
|
};
|
|
18908
|
-
var fallbackValues$
|
|
19166
|
+
var fallbackValues$7 = {
|
|
18909
19167
|
background: background,
|
|
18910
19168
|
border: border$1,
|
|
18911
19169
|
iconBackground: iconBackground,
|
|
@@ -19064,126 +19322,10 @@ var Alert = function Alert(_ref) {
|
|
|
19064
19322
|
maxWidth: maxContentWidth
|
|
19065
19323
|
}, content) : content);
|
|
19066
19324
|
};
|
|
19067
|
-
var Alert$1 = themeComponent(Alert, "Alert", fallbackValues$
|
|
19068
|
-
|
|
19069
|
-
var TitleText = styled__default.h1.withConfig({
|
|
19070
|
-
displayName: "Titlestyled__TitleText",
|
|
19071
|
-
componentId: "sc-11lhluq-0"
|
|
19072
|
-
})(["font-size:", ";line-height:1.5;color:", ";font-weight:", ";margin:", ";text-align:", ";font-family:", ";", ";"], function (_ref) {
|
|
19073
|
-
var fontSize = _ref.fontSize;
|
|
19074
|
-
return fontSize;
|
|
19075
|
-
}, function (_ref2) {
|
|
19076
|
-
var color = _ref2.color;
|
|
19077
|
-
return color;
|
|
19078
|
-
}, function (_ref3) {
|
|
19079
|
-
var weight = _ref3.weight;
|
|
19080
|
-
return weight;
|
|
19081
|
-
}, function (_ref4) {
|
|
19082
|
-
var margin = _ref4.margin;
|
|
19083
|
-
return margin;
|
|
19084
|
-
}, function (_ref5) {
|
|
19085
|
-
var textAlign = _ref5.textAlign;
|
|
19086
|
-
return textAlign;
|
|
19087
|
-
}, function (_ref6) {
|
|
19088
|
-
var fontFamily = _ref6.fontFamily;
|
|
19089
|
-
return fontFamily;
|
|
19090
|
-
}, function (_ref7) {
|
|
19091
|
-
var extraStyles = _ref7.extraStyles;
|
|
19092
|
-
return extraStyles;
|
|
19093
|
-
});
|
|
19094
|
-
|
|
19095
|
-
// Comments assume desktop base font size of 16px, mobile base font size of 14px
|
|
19096
|
-
|
|
19097
|
-
var fontSize$1 = {
|
|
19098
|
-
large: "1.5rem",
|
|
19099
|
-
// 24px (at base font size of 16px)
|
|
19100
|
-
small: "1.25rem" // 20px
|
|
19101
|
-
};
|
|
19102
|
-
var fontFamily$1 = {
|
|
19103
|
-
large: "Public Sans",
|
|
19104
|
-
small: "Public Sans"
|
|
19105
|
-
};
|
|
19106
|
-
var mobileFontSize = {
|
|
19107
|
-
large: "1.5rem",
|
|
19108
|
-
// 21px (at base font size of 14px)
|
|
19109
|
-
small: "1.2142rem" // 17px
|
|
19110
|
-
};
|
|
19111
|
-
var fallbackValues$6 = {
|
|
19112
|
-
fontFamily: fontFamily$1,
|
|
19113
|
-
fontSize: fontSize$1
|
|
19114
|
-
};
|
|
19115
|
-
var mobileFallbackValues = {
|
|
19116
|
-
fontFamily: fontFamily$1,
|
|
19117
|
-
fontSize: mobileFontSize
|
|
19118
|
-
};
|
|
19119
|
-
var MOBILE_BREAKPOINT = 768;
|
|
19120
|
-
|
|
19121
|
-
var _excluded$k = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
19122
|
-
|
|
19123
|
-
/*
|
|
19124
|
-
New responsive text component for Title elements
|
|
19125
|
-
Size is decoupled from tag
|
|
19126
|
-
Comes with two variants - "large" and "small"
|
|
19127
|
-
Large variant results in text that is 1.5rem (24px desktop, 21px mobile)
|
|
19128
|
-
Small variant results in text that is 1.25rem/1.2142rem (20px desktop, 17px mobile)
|
|
19129
|
-
|
|
19130
|
-
If you need a smaller text size, use the <Detail /> atom, which has smaller variants
|
|
19131
|
-
|
|
19132
|
-
Use the "as" prop to specify element type, can use any of: h1/h2/h3/h4/h5/h6/p
|
|
19133
|
-
If you need an inline text element (span), use the <Text /> atom
|
|
19134
|
-
The "as" value should be dictated by the structure of your page, not what font-size you want
|
|
19135
|
-
|
|
19136
|
-
Title / Detail both use slightly different desktop/mobile scales
|
|
19137
|
-
(Mobile scale is different to allow for design-friendly px values)
|
|
19138
|
-
Both atoms detect the presence of a mobile device on their own
|
|
19139
|
-
and apply the corresponding scale
|
|
19140
|
-
|
|
19141
|
-
Mobile breakpoint value is specified in Title.theme.js
|
|
19142
|
-
|
|
19143
|
-
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
|
|
19144
|
-
*/
|
|
19145
|
-
|
|
19146
|
-
var isBelowBreakpoint = window.innerWidth < MOBILE_BREAKPOINT;
|
|
19147
|
-
var isTouchDevice$1 = "ontouchstart" in window || navigator.maxTouchPoints > 1;
|
|
19148
|
-
var mobileDeviceDetected = isBelowBreakpoint && isTouchDevice$1;
|
|
19149
|
-
var fallbacks = mobileDeviceDetected ? mobileFallbackValues : fallbackValues$6;
|
|
19150
|
-
var Title = function Title(_ref) {
|
|
19151
|
-
var themeValues = _ref.themeValues,
|
|
19152
|
-
_ref$weight = _ref.weight,
|
|
19153
|
-
weight = _ref$weight === void 0 ? FONT_WEIGHT_REGULAR : _ref$weight,
|
|
19154
|
-
_ref$color = _ref.color,
|
|
19155
|
-
color = _ref$color === void 0 ? FIREFLY_GREY : _ref$color,
|
|
19156
|
-
_ref$margin = _ref.margin,
|
|
19157
|
-
margin = _ref$margin === void 0 ? 0 : _ref$margin,
|
|
19158
|
-
textAlign = _ref.textAlign,
|
|
19159
|
-
_ref$extraStyles = _ref.extraStyles,
|
|
19160
|
-
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
|
|
19161
|
-
className = _ref.className,
|
|
19162
|
-
_ref$variant = _ref.variant,
|
|
19163
|
-
variant = _ref$variant === void 0 ? "large" : _ref$variant,
|
|
19164
|
-
_ref$as = _ref.as,
|
|
19165
|
-
as = _ref$as === void 0 ? "h1" : _ref$as,
|
|
19166
|
-
dataQa = _ref.dataQa,
|
|
19167
|
-
children = _ref.children,
|
|
19168
|
-
rest = _objectWithoutProperties(_ref, _excluded$k);
|
|
19169
|
-
return /*#__PURE__*/React__default.createElement(TitleText, _extends({
|
|
19170
|
-
variant: variant,
|
|
19171
|
-
as: as,
|
|
19172
|
-
weight: weight,
|
|
19173
|
-
color: color,
|
|
19174
|
-
margin: margin,
|
|
19175
|
-
textAlign: textAlign,
|
|
19176
|
-
extraStyles: extraStyles,
|
|
19177
|
-
className: className,
|
|
19178
|
-
fontFamily: themeValues.fontFamily,
|
|
19179
|
-
fontSize: themeValues.fontSize,
|
|
19180
|
-
"data-qa": dataQa
|
|
19181
|
-
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
19182
|
-
};
|
|
19183
|
-
var Title$1 = themeComponent(Title, "Title", fallbacks, "large");
|
|
19325
|
+
var Alert$1 = themeComponent(Alert, "Alert", fallbackValues$7, "info");
|
|
19184
19326
|
|
|
19185
19327
|
var color$3 = "#292A33";
|
|
19186
|
-
var fallbackValues$
|
|
19328
|
+
var fallbackValues$8 = {
|
|
19187
19329
|
color: color$3
|
|
19188
19330
|
};
|
|
19189
19331
|
|
|
@@ -19201,7 +19343,7 @@ var AmountCallout = function AmountCallout(_ref) {
|
|
|
19201
19343
|
as: "p"
|
|
19202
19344
|
}, amount));
|
|
19203
19345
|
};
|
|
19204
|
-
var AmountCallout$1 = themeComponent(AmountCallout, "AmountCallout", fallbackValues$
|
|
19346
|
+
var AmountCallout$1 = themeComponent(AmountCallout, "AmountCallout", fallbackValues$8);
|
|
19205
19347
|
|
|
19206
19348
|
var background$1 = {
|
|
19207
19349
|
info: "".concat(INFO_BLUE),
|
|
@@ -19217,7 +19359,7 @@ var color$4 = {
|
|
|
19217
19359
|
success: "".concat(SEA_GREEN),
|
|
19218
19360
|
disabled: "".concat(MANATEE_GREY)
|
|
19219
19361
|
};
|
|
19220
|
-
var fallbackValues$
|
|
19362
|
+
var fallbackValues$9 = {
|
|
19221
19363
|
background: background$1,
|
|
19222
19364
|
color: color$4
|
|
19223
19365
|
};
|
|
@@ -19248,7 +19390,7 @@ var Badge = function Badge(_ref) {
|
|
|
19248
19390
|
fill: themeValues.color
|
|
19249
19391
|
}));
|
|
19250
19392
|
};
|
|
19251
|
-
var Badge$1 = themeComponent(Badge, "Badge", fallbackValues$
|
|
19393
|
+
var Badge$1 = themeComponent(Badge, "Badge", fallbackValues$9, "success");
|
|
19252
19394
|
|
|
19253
19395
|
function _extends$1() {
|
|
19254
19396
|
_extends$1 = Object.assign ? Object.assign.bind() : function (target) {
|
|
@@ -20589,7 +20731,7 @@ function transparentize(amount, color) {
|
|
|
20589
20731
|
var curriedTransparentize = curry /* ::<number | string, string, string> */(transparentize);
|
|
20590
20732
|
|
|
20591
20733
|
var linkColor = MATISSE_BLUE;
|
|
20592
|
-
var fallbackValues$
|
|
20734
|
+
var fallbackValues$a = {
|
|
20593
20735
|
linkColor: linkColor
|
|
20594
20736
|
};
|
|
20595
20737
|
|
|
@@ -20613,7 +20755,7 @@ var BoxWithShadow = function BoxWithShadow(_ref) {
|
|
|
20613
20755
|
boxShadow: shadowRegistry[variant]
|
|
20614
20756
|
}, props), children);
|
|
20615
20757
|
};
|
|
20616
|
-
var BoxWithShadow$1 = themeComponent(BoxWithShadow, "BoxWithShadow", fallbackValues$
|
|
20758
|
+
var BoxWithShadow$1 = themeComponent(BoxWithShadow, "BoxWithShadow", fallbackValues$a);
|
|
20617
20759
|
|
|
20618
20760
|
// import theme from "styled-theming";
|
|
20619
20761
|
var MATISSE_BLUE$2 = MATISSE_BLUE,
|
|
@@ -20628,18 +20770,18 @@ var LINK_TEXT_DECORATION$2 = LINK_TEXT_DECORATION;
|
|
|
20628
20770
|
var color$5 = "".concat(MATISSE_BLUE$2);
|
|
20629
20771
|
var activeColor$2 = "".concat(STORM_GREY$1);
|
|
20630
20772
|
var activeBreadcrumbColor = "".concat(STORM_GREY$1);
|
|
20631
|
-
var fontSize$
|
|
20632
|
-
var lineHeight = "1.25rem";
|
|
20633
|
-
var fontWeight$
|
|
20773
|
+
var fontSize$3 = "0.875rem";
|
|
20774
|
+
var lineHeight$1 = "1.25rem";
|
|
20775
|
+
var fontWeight$2 = "400";
|
|
20634
20776
|
var margin = "0.5rem";
|
|
20635
20777
|
var hover = "text-decoration: ".concat(LINK_TEXT_DECORATION$2, ";");
|
|
20636
|
-
var fallbackValues$
|
|
20778
|
+
var fallbackValues$b = {
|
|
20637
20779
|
color: color$5,
|
|
20638
20780
|
activeColor: activeColor$2,
|
|
20639
20781
|
activeBreadcrumbColor: activeBreadcrumbColor,
|
|
20640
|
-
fontSize: fontSize$
|
|
20641
|
-
lineHeight: lineHeight,
|
|
20642
|
-
fontWeight: fontWeight$
|
|
20782
|
+
fontSize: fontSize$3,
|
|
20783
|
+
lineHeight: lineHeight$1,
|
|
20784
|
+
fontWeight: fontWeight$2,
|
|
20643
20785
|
margin: margin,
|
|
20644
20786
|
hover: hover
|
|
20645
20787
|
};
|
|
@@ -20651,7 +20793,7 @@ var fontFamily$2 = {
|
|
|
20651
20793
|
var hoverColor$2 = SAPPHIRE_BLUE;
|
|
20652
20794
|
var activeColor$3 = PEACOCK_BLUE;
|
|
20653
20795
|
var externalLinkColor = MATISSE_BLUE;
|
|
20654
|
-
var fallbackValues$
|
|
20796
|
+
var fallbackValues$c = {
|
|
20655
20797
|
fontFamily: fontFamily$2,
|
|
20656
20798
|
hoverColor: hoverColor$2,
|
|
20657
20799
|
activeColor: activeColor$3,
|
|
@@ -20727,7 +20869,7 @@ var ExternalLink = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
20727
20869
|
ariaLabel = _ref.ariaLabel,
|
|
20728
20870
|
children = _ref.children;
|
|
20729
20871
|
var themeContext = React.useContext(styled.ThemeContext);
|
|
20730
|
-
var themeValues = createThemeValues(themeContext, fallbackValues$
|
|
20872
|
+
var themeValues = createThemeValues(themeContext, fallbackValues$c, "Link", variant);
|
|
20731
20873
|
return /*#__PURE__*/React__default.createElement(StyledExternalLink, {
|
|
20732
20874
|
href: href,
|
|
20733
20875
|
target: newTab ? "_blank" : "",
|
|
@@ -20820,7 +20962,7 @@ var InternalLink = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
20820
20962
|
_ref$extraStyles = _ref.extraStyles,
|
|
20821
20963
|
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles;
|
|
20822
20964
|
var themeContext = React.useContext(styled.ThemeContext);
|
|
20823
|
-
var themeValues = createThemeValues(themeContext, fallbackValues$
|
|
20965
|
+
var themeValues = createThemeValues(themeContext, fallbackValues$c, "Link", variant);
|
|
20824
20966
|
return /*#__PURE__*/React__default.createElement(StyledInternalLink, {
|
|
20825
20967
|
to: to,
|
|
20826
20968
|
color: color,
|
|
@@ -20843,7 +20985,7 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
|
20843
20985
|
var _ref$breadcrumbsList = _ref.breadcrumbsList,
|
|
20844
20986
|
breadcrumbsList = _ref$breadcrumbsList === void 0 ? [] : _ref$breadcrumbsList;
|
|
20845
20987
|
var themeContext = React.useContext(styled.ThemeContext);
|
|
20846
|
-
var themeValues = createThemeValues(themeContext, fallbackValues$
|
|
20988
|
+
var themeValues = createThemeValues(themeContext, fallbackValues$b, "Breadcrumb");
|
|
20847
20989
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
20848
20990
|
padding: "0",
|
|
20849
20991
|
as: "nav",
|
|
@@ -22508,7 +22650,7 @@ var fontFamily$3 = {
|
|
|
22508
22650
|
|
|
22509
22651
|
// Comments assume base font size of 16px
|
|
22510
22652
|
|
|
22511
|
-
var fontSize$
|
|
22653
|
+
var fontSize$4 = {
|
|
22512
22654
|
p: "1rem",
|
|
22513
22655
|
// 16px
|
|
22514
22656
|
pL: "1.125rem",
|
|
@@ -22521,9 +22663,9 @@ var fontSize$3 = {
|
|
|
22521
22663
|
// 10px
|
|
22522
22664
|
pXL: "1.5rem" // 24px
|
|
22523
22665
|
};
|
|
22524
|
-
var fallbackValues$
|
|
22666
|
+
var fallbackValues$d = {
|
|
22525
22667
|
fontFamily: fontFamily$3,
|
|
22526
|
-
fontSize: fontSize$
|
|
22668
|
+
fontSize: fontSize$4
|
|
22527
22669
|
};
|
|
22528
22670
|
|
|
22529
22671
|
var ParagraphText = styled__default.p.withConfig({
|
|
@@ -22575,12 +22717,12 @@ var Paragraph = function Paragraph(_ref) {
|
|
|
22575
22717
|
"data-qa": dataQa
|
|
22576
22718
|
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
22577
22719
|
};
|
|
22578
|
-
var Paragraph$1 = themeComponent(Paragraph, "Paragraph", fallbackValues$
|
|
22720
|
+
var Paragraph$1 = themeComponent(Paragraph, "Paragraph", fallbackValues$d, "p");
|
|
22579
22721
|
|
|
22580
|
-
var backgroundColor$
|
|
22722
|
+
var backgroundColor$3 = WHITE;
|
|
22581
22723
|
var iconBackgroundColor = GRECIAN_GREY;
|
|
22582
|
-
var fallbackValues$
|
|
22583
|
-
backgroundColor: backgroundColor$
|
|
22724
|
+
var fallbackValues$e = {
|
|
22725
|
+
backgroundColor: backgroundColor$3,
|
|
22584
22726
|
iconBackgroundColor: iconBackgroundColor
|
|
22585
22727
|
};
|
|
22586
22728
|
|
|
@@ -22710,7 +22852,7 @@ var CardRegistryCard = function CardRegistryCard(_ref2) {
|
|
|
22710
22852
|
extraStyles: "width: 100%;"
|
|
22711
22853
|
}))))));
|
|
22712
22854
|
};
|
|
22713
|
-
var CardRegistryCard$1 = themeComponent(withWindowSize(CardRegistryCard), "CardRegistryCard", fallbackValues$
|
|
22855
|
+
var CardRegistryCard$1 = themeComponent(withWindowSize(CardRegistryCard), "CardRegistryCard", fallbackValues$e);
|
|
22714
22856
|
|
|
22715
22857
|
var cardRegistry = {
|
|
22716
22858
|
accounts: function accounts(props) {
|
|
@@ -22742,7 +22884,7 @@ var cardRegistry = {
|
|
|
22742
22884
|
}
|
|
22743
22885
|
};
|
|
22744
22886
|
|
|
22745
|
-
var backgroundColor$
|
|
22887
|
+
var backgroundColor$4 = {
|
|
22746
22888
|
"default": "".concat(TRANSPARENT)
|
|
22747
22889
|
};
|
|
22748
22890
|
var textFontSize = {
|
|
@@ -22781,8 +22923,8 @@ var checkedStyles = {
|
|
|
22781
22923
|
var defaultStyles = {
|
|
22782
22924
|
"default": "\n background: ".concat(WHITE, "; \n border: 1px solid ").concat(STORM_GREY, ";\n")
|
|
22783
22925
|
};
|
|
22784
|
-
var fallbackValues$
|
|
22785
|
-
backgroundColor: backgroundColor$
|
|
22926
|
+
var fallbackValues$f = {
|
|
22927
|
+
backgroundColor: backgroundColor$4,
|
|
22786
22928
|
textFontSize: textFontSize,
|
|
22787
22929
|
textFontWeight: textFontWeight,
|
|
22788
22930
|
textLineHeight: textLineHeight,
|
|
@@ -22937,7 +23079,7 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
22937
23079
|
extraStyles: textExtraStyles ? "".concat(textExtraStyles, " ").concat(disabled && "color: #6e727e; background-color: #f7f7f7;", " ") : "margin-left: 1rem ".concat(disabled && "color: #6e727e; background-color: #f7f7f7;")
|
|
22938
23080
|
}, title)));
|
|
22939
23081
|
};
|
|
22940
|
-
var Checkbox$1 = themeComponent(Checkbox, "Checkbox", fallbackValues$
|
|
23082
|
+
var Checkbox$1 = themeComponent(Checkbox, "Checkbox", fallbackValues$f, "default");
|
|
22941
23083
|
|
|
22942
23084
|
var listBackgroundColor = {
|
|
22943
23085
|
"default": "".concat(ATHENS_GREY),
|
|
@@ -22963,7 +23105,7 @@ var radioButtonInactive = {
|
|
|
22963
23105
|
"default": "".concat(GHOST_GREY),
|
|
22964
23106
|
disabled: "".concat(GHOST_GREY)
|
|
22965
23107
|
};
|
|
22966
|
-
var fallbackValues$
|
|
23108
|
+
var fallbackValues$g = {
|
|
22967
23109
|
listBackgroundColor: listBackgroundColor,
|
|
22968
23110
|
listItemColor: listItemColor,
|
|
22969
23111
|
listItemBackgroundColor: listItemBackgroundColor,
|
|
@@ -23130,7 +23272,7 @@ var CheckboxList = function CheckboxList(_ref2) {
|
|
|
23130
23272
|
});
|
|
23131
23273
|
})));
|
|
23132
23274
|
};
|
|
23133
|
-
var CheckboxList$1 = themeComponent(CheckboxList, "CheckboxList", fallbackValues$
|
|
23275
|
+
var CheckboxList$1 = themeComponent(CheckboxList, "CheckboxList", fallbackValues$g, "default");
|
|
23134
23276
|
|
|
23135
23277
|
var DropdownIcon = function DropdownIcon() {
|
|
23136
23278
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
@@ -24467,7 +24609,7 @@ exportTypedArrayMethod$1('at', function at(index) {
|
|
|
24467
24609
|
var selectedColor = "".concat(MATISSE_BLUE);
|
|
24468
24610
|
var hoverColor$3 = "".concat(HOVER_LIGHT_BLUE);
|
|
24469
24611
|
var focusColor = "".concat(MATISSE_BLUE_DARK);
|
|
24470
|
-
var fallbackValues$
|
|
24612
|
+
var fallbackValues$h = {
|
|
24471
24613
|
selectedColor: selectedColor,
|
|
24472
24614
|
hoverColor: hoverColor$3,
|
|
24473
24615
|
focusColor: focusColor
|
|
@@ -24856,7 +24998,7 @@ var Dropdown = function Dropdown(_ref13) {
|
|
|
24856
24998
|
}, choice.text)));
|
|
24857
24999
|
}))) : /*#__PURE__*/React__default.createElement(React.Fragment, null)));
|
|
24858
25000
|
};
|
|
24859
|
-
var Dropdown$1 = themeComponent(Dropdown, "Dropdown", fallbackValues$
|
|
25001
|
+
var Dropdown$1 = themeComponent(Dropdown, "Dropdown", fallbackValues$h);
|
|
24860
25002
|
|
|
24861
25003
|
var SelectContainer = styled__default.div.withConfig({
|
|
24862
25004
|
displayName: "FormSelectstyled__SelectContainer",
|
|
@@ -24907,11 +25049,11 @@ var borderColor = {
|
|
|
24907
25049
|
"default": "".concat(GREY_CHATEAU),
|
|
24908
25050
|
disabled: "".concat(GREY_CHATEAU)
|
|
24909
25051
|
};
|
|
24910
|
-
var lineHeight$
|
|
25052
|
+
var lineHeight$2 = {
|
|
24911
25053
|
"default": "1rem",
|
|
24912
25054
|
disabled: "1rem"
|
|
24913
25055
|
};
|
|
24914
|
-
var fontSize$
|
|
25056
|
+
var fontSize$5 = {
|
|
24915
25057
|
"default": "0.875rem",
|
|
24916
25058
|
disabled: "0.875rem"
|
|
24917
25059
|
};
|
|
@@ -24919,7 +25061,7 @@ var errorFontSize = {
|
|
|
24919
25061
|
"default": "0.75rem",
|
|
24920
25062
|
disabled: "0.75rem"
|
|
24921
25063
|
};
|
|
24922
|
-
var fontWeight$
|
|
25064
|
+
var fontWeight$3 = {
|
|
24923
25065
|
"default": "".concat(FONT_WEIGHT_REGULAR),
|
|
24924
25066
|
disabled: "".concat(FONT_WEIGHT_REGULAR)
|
|
24925
25067
|
};
|
|
@@ -24927,17 +25069,17 @@ var hoverFocusStyles = {
|
|
|
24927
25069
|
"default": "color: #0E506D; outline: none; text-decoration: underline; ",
|
|
24928
25070
|
disabled: "color: #6D717E;"
|
|
24929
25071
|
};
|
|
24930
|
-
var fallbackValues$
|
|
25072
|
+
var fallbackValues$i = {
|
|
24931
25073
|
linkColor: linkColor$1,
|
|
24932
25074
|
formBackgroundColor: formBackgroundColor,
|
|
24933
25075
|
inputBackgroundColor: inputBackgroundColor,
|
|
24934
25076
|
color: color$6,
|
|
24935
25077
|
labelColor: labelColor,
|
|
24936
25078
|
borderColor: borderColor,
|
|
24937
|
-
lineHeight: lineHeight$
|
|
24938
|
-
fontSize: fontSize$
|
|
25079
|
+
lineHeight: lineHeight$2,
|
|
25080
|
+
fontSize: fontSize$5,
|
|
24939
25081
|
errorFontSize: errorFontSize,
|
|
24940
|
-
fontWeight: fontWeight$
|
|
25082
|
+
fontWeight: fontWeight$3,
|
|
24941
25083
|
hoverFocusStyles: hoverFocusStyles
|
|
24942
25084
|
};
|
|
24943
25085
|
|
|
@@ -25039,7 +25181,7 @@ var FormSelect = function FormSelect(_ref) {
|
|
|
25039
25181
|
extraStyles: "height: ".concat(themeValues.lineHeight, ";")
|
|
25040
25182
|
})));
|
|
25041
25183
|
};
|
|
25042
|
-
var FormSelect$1 = themeComponent(FormSelect, "FormSelect", fallbackValues$
|
|
25184
|
+
var FormSelect$1 = themeComponent(FormSelect, "FormSelect", fallbackValues$i, "default");
|
|
25043
25185
|
|
|
25044
25186
|
var options = [{
|
|
25045
25187
|
text: "Afghanistan",
|
|
@@ -25838,7 +25980,7 @@ var DetailText = styled__default.p.withConfig({
|
|
|
25838
25980
|
|
|
25839
25981
|
// Comments assume desktop base font size of 16px, mobile base font size of 14px
|
|
25840
25982
|
|
|
25841
|
-
var fontSize$
|
|
25983
|
+
var fontSize$6 = {
|
|
25842
25984
|
large: "1.125rem",
|
|
25843
25985
|
// 18px (at base font size of 16)
|
|
25844
25986
|
regular: "1rem",
|
|
@@ -25862,9 +26004,9 @@ var mobileFontSize$1 = {
|
|
|
25862
26004
|
// 12px
|
|
25863
26005
|
extraSmall: "0.71428rem" // 10px
|
|
25864
26006
|
};
|
|
25865
|
-
var fallbackValues$
|
|
26007
|
+
var fallbackValues$j = {
|
|
25866
26008
|
fontFamily: fontFamily$4,
|
|
25867
|
-
fontSize: fontSize$
|
|
26009
|
+
fontSize: fontSize$6
|
|
25868
26010
|
};
|
|
25869
26011
|
var mobileFallbackValues$1 = {
|
|
25870
26012
|
fontFamily: fontFamily$4,
|
|
@@ -25903,7 +26045,7 @@ var _excluded$q = ["themeValues", "weight", "color", "margin", "textAlign", "ext
|
|
|
25903
26045
|
var isBelowBreakpoint$1 = window.innerWidth < MOBILE_BREAKPOINT$1;
|
|
25904
26046
|
var isTouchDevice$2 = "ontouchstart" in window || navigator.maxTouchPoints > 1;
|
|
25905
26047
|
var mobileDeviceDetected$1 = isBelowBreakpoint$1 && isTouchDevice$2;
|
|
25906
|
-
var fallbacks$1 = mobileDeviceDetected$1 ? mobileFallbackValues$1 : fallbackValues$
|
|
26048
|
+
var fallbacks$1 = mobileDeviceDetected$1 ? mobileFallbackValues$1 : fallbackValues$j;
|
|
25907
26049
|
var Detail = function Detail(_ref) {
|
|
25908
26050
|
var themeValues = _ref.themeValues,
|
|
25909
26051
|
_ref$weight = _ref.weight,
|
|
@@ -25939,11 +26081,11 @@ var Detail = function Detail(_ref) {
|
|
|
25939
26081
|
};
|
|
25940
26082
|
var Detail$1 = themeComponent(Detail, "Detail", fallbacks$1, "regular");
|
|
25941
26083
|
|
|
25942
|
-
var backgroundColor$
|
|
25943
|
-
var boxShadow = "0px 2px 14px 0px ".concat(ATHENS_GREY, ", 0px 3px 8px 0px ").concat(GHOST_GREY);
|
|
25944
|
-
var fallbackValues$
|
|
25945
|
-
backgroundColor: backgroundColor$
|
|
25946
|
-
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
|
|
25947
26089
|
};
|
|
25948
26090
|
|
|
25949
26091
|
var DisplayBox = function DisplayBox(_ref) {
|
|
@@ -25964,7 +26106,7 @@ var DisplayBox = function DisplayBox(_ref) {
|
|
|
25964
26106
|
dataQa: dataQa
|
|
25965
26107
|
}, children));
|
|
25966
26108
|
};
|
|
25967
|
-
var DisplayBox$1 = themeComponent(DisplayBox, "DisplayBox", fallbackValues$
|
|
26109
|
+
var DisplayBox$1 = themeComponent(DisplayBox, "DisplayBox", fallbackValues$k);
|
|
25968
26110
|
|
|
25969
26111
|
/*
|
|
25970
26112
|
Hook that assigns a click event listener to the main document element
|
|
@@ -26071,7 +26213,7 @@ var index$4 = /*#__PURE__*/Object.freeze({
|
|
|
26071
26213
|
var hoverColor$4 = "#116285";
|
|
26072
26214
|
var activeColor$4 = "#0E506D";
|
|
26073
26215
|
var popoverTriggerColor = "#15749D";
|
|
26074
|
-
var fallbackValues$
|
|
26216
|
+
var fallbackValues$l = {
|
|
26075
26217
|
hoverColor: hoverColor$4,
|
|
26076
26218
|
activeColor: activeColor$4,
|
|
26077
26219
|
popoverTriggerColor: popoverTriggerColor
|
|
@@ -26221,7 +26363,7 @@ var Popover = function Popover(_ref) {
|
|
|
26221
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 ")
|
|
26222
26364
|
})));
|
|
26223
26365
|
};
|
|
26224
|
-
var Popover$1 = themeComponent(Popover, "Popover", fallbackValues$
|
|
26366
|
+
var Popover$1 = themeComponent(Popover, "Popover", fallbackValues$l);
|
|
26225
26367
|
|
|
26226
26368
|
var DisplayCard = function DisplayCard(_ref) {
|
|
26227
26369
|
var title = _ref.title,
|
|
@@ -26594,11 +26736,11 @@ var borderColor$1 = {
|
|
|
26594
26736
|
"default": "".concat(STORM_GREY),
|
|
26595
26737
|
disabled: "".concat(STORM_GREY)
|
|
26596
26738
|
};
|
|
26597
|
-
var lineHeight$
|
|
26739
|
+
var lineHeight$3 = {
|
|
26598
26740
|
"default": "1rem",
|
|
26599
26741
|
disabled: "1rem"
|
|
26600
26742
|
};
|
|
26601
|
-
var fontSize$
|
|
26743
|
+
var fontSize$7 = {
|
|
26602
26744
|
"default": "0.875rem",
|
|
26603
26745
|
disabled: "0.875rem"
|
|
26604
26746
|
};
|
|
@@ -26606,7 +26748,7 @@ var errorFontSize$1 = {
|
|
|
26606
26748
|
"default": "0.75rem",
|
|
26607
26749
|
disabled: "0.75rem"
|
|
26608
26750
|
};
|
|
26609
|
-
var fontWeight$
|
|
26751
|
+
var fontWeight$4 = {
|
|
26610
26752
|
"default": "".concat(FONT_WEIGHT_REGULAR),
|
|
26611
26753
|
disabled: "".concat(FONT_WEIGHT_REGULAR)
|
|
26612
26754
|
};
|
|
@@ -26617,17 +26759,17 @@ var hoverFocusStyles$1 = {
|
|
|
26617
26759
|
var formFooterPanel = {
|
|
26618
26760
|
"default": "".concat(INFO_BLUE)
|
|
26619
26761
|
};
|
|
26620
|
-
var fallbackValues$
|
|
26762
|
+
var fallbackValues$m = {
|
|
26621
26763
|
linkColor: linkColor$2,
|
|
26622
26764
|
formBackgroundColor: formBackgroundColor$1,
|
|
26623
26765
|
inputBackgroundColor: inputBackgroundColor$1,
|
|
26624
26766
|
color: color$7,
|
|
26625
26767
|
labelColor: labelColor$1,
|
|
26626
26768
|
borderColor: borderColor$1,
|
|
26627
|
-
lineHeight: lineHeight$
|
|
26628
|
-
fontSize: fontSize$
|
|
26769
|
+
lineHeight: lineHeight$3,
|
|
26770
|
+
fontSize: fontSize$7,
|
|
26629
26771
|
errorFontSize: errorFontSize$1,
|
|
26630
|
-
fontWeight: fontWeight$
|
|
26772
|
+
fontWeight: fontWeight$4,
|
|
26631
26773
|
hoverFocusStyles: hoverFocusStyles$1,
|
|
26632
26774
|
formFooterPanel: formFooterPanel
|
|
26633
26775
|
};
|
|
@@ -26837,7 +26979,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
26837
26979
|
padding: "0 0 0 auto"
|
|
26838
26980
|
}, decorator)));
|
|
26839
26981
|
};
|
|
26840
|
-
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$
|
|
26982
|
+
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$m, "default");
|
|
26841
26983
|
|
|
26842
26984
|
var _excluded$s = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
|
|
26843
26985
|
var FormInputRow = function FormInputRow(_ref) {
|
|
@@ -26885,7 +27027,7 @@ var FormContainer = function FormContainer(_ref) {
|
|
|
26885
27027
|
borderRadius: "4px"
|
|
26886
27028
|
}, rest), children);
|
|
26887
27029
|
};
|
|
26888
|
-
var FormContainer$1 = themeComponent(withWindowSize(FormContainer), "FormContainer", fallbackValues$
|
|
27030
|
+
var FormContainer$1 = themeComponent(withWindowSize(FormContainer), "FormContainer", fallbackValues$m, "default");
|
|
26889
27031
|
|
|
26890
27032
|
var FormFooterPanel = function FormFooterPanel(_ref) {
|
|
26891
27033
|
var themeValues = _ref.themeValues,
|
|
@@ -26906,9 +27048,9 @@ var FormFooterPanel = function FormFooterPanel(_ref) {
|
|
|
26906
27048
|
text: linkText
|
|
26907
27049
|
})));
|
|
26908
27050
|
};
|
|
26909
|
-
var FormFooterPanel$1 = themeComponent(withWindowSize(FormFooterPanel), "FormFooterPanel", fallbackValues$
|
|
27051
|
+
var FormFooterPanel$1 = themeComponent(withWindowSize(FormFooterPanel), "FormFooterPanel", fallbackValues$m, "default");
|
|
26910
27052
|
|
|
26911
|
-
var fontSize$
|
|
27053
|
+
var fontSize$8 = {
|
|
26912
27054
|
"default": "1rem",
|
|
26913
27055
|
radio: "1.0625rem"
|
|
26914
27056
|
};
|
|
@@ -26920,8 +27062,8 @@ var color$8 = {
|
|
|
26920
27062
|
"default": "".concat(CHARADE_GREY),
|
|
26921
27063
|
radio: "".concat(MINESHAFT_GREY)
|
|
26922
27064
|
};
|
|
26923
|
-
var fallbackValues$
|
|
26924
|
-
fontSize: fontSize$
|
|
27065
|
+
var fallbackValues$n = {
|
|
27066
|
+
fontSize: fontSize$8,
|
|
26925
27067
|
padding: padding$1,
|
|
26926
27068
|
color: color$8
|
|
26927
27069
|
};
|
|
@@ -26962,11 +27104,11 @@ var FormattedAddress = function FormattedAddress(_ref) {
|
|
|
26962
27104
|
dataQa: "".concat(qaPrefix, "-3")
|
|
26963
27105
|
}, city, ", ", stateProvince, " ".concat(zip), country ? " ".concat(country) : "")));
|
|
26964
27106
|
};
|
|
26965
|
-
var FormattedAddress$1 = themeComponent(FormattedAddress, "FormattedAddress", fallbackValues$
|
|
27107
|
+
var FormattedAddress$1 = themeComponent(FormattedAddress, "FormattedAddress", fallbackValues$n, "default");
|
|
26966
27108
|
|
|
26967
27109
|
var textColor$1 = "".concat(CHARADE_GREY);
|
|
26968
27110
|
var autopayTextColor = "".concat(REGENT_GREY);
|
|
26969
|
-
var fallbackValues$
|
|
27111
|
+
var fallbackValues$o = {
|
|
26970
27112
|
textColor: textColor$1,
|
|
26971
27113
|
autopayTextColor: autopayTextColor
|
|
26972
27114
|
};
|
|
@@ -27004,11 +27146,11 @@ var FormattedBankAccount = function FormattedBankAccount(_ref2) {
|
|
|
27004
27146
|
extraStyles: "font-style: italic;"
|
|
27005
27147
|
}, "Autopay Enabled")));
|
|
27006
27148
|
};
|
|
27007
|
-
var FormattedBankAccount$1 = themeComponent(FormattedBankAccount, "FormattedBankAccount", fallbackValues$
|
|
27149
|
+
var FormattedBankAccount$1 = themeComponent(FormattedBankAccount, "FormattedBankAccount", fallbackValues$o);
|
|
27008
27150
|
|
|
27009
27151
|
var textColor$2 = "".concat(CHARADE_GREY);
|
|
27010
27152
|
var autopayTextColor$1 = "".concat(REGENT_GREY);
|
|
27011
|
-
var fallbackValues$
|
|
27153
|
+
var fallbackValues$p = {
|
|
27012
27154
|
textColor: textColor$2,
|
|
27013
27155
|
autopayTextColor: autopayTextColor$1
|
|
27014
27156
|
};
|
|
@@ -27100,7 +27242,7 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
|
|
|
27100
27242
|
extraStyles: "font-style: italic;"
|
|
27101
27243
|
}, "Autopay Enabled")));
|
|
27102
27244
|
};
|
|
27103
|
-
var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$
|
|
27245
|
+
var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$p);
|
|
27104
27246
|
|
|
27105
27247
|
var Hamburger = styled__default.button.withConfig({
|
|
27106
27248
|
displayName: "HamburgerButton__Hamburger",
|
|
@@ -27173,7 +27315,7 @@ var fontFamily$5 = {
|
|
|
27173
27315
|
primary: "Public Sans",
|
|
27174
27316
|
secondary: "Open Sans"
|
|
27175
27317
|
};
|
|
27176
|
-
var fontSize$
|
|
27318
|
+
var fontSize$9 = {
|
|
27177
27319
|
h1: "2.25rem",
|
|
27178
27320
|
h2: "2rem",
|
|
27179
27321
|
h3: "1.75rem",
|
|
@@ -27181,9 +27323,9 @@ var fontSize$8 = {
|
|
|
27181
27323
|
h5: "1.375rem",
|
|
27182
27324
|
h6: "1.25rem"
|
|
27183
27325
|
};
|
|
27184
|
-
var fallbackValues$
|
|
27326
|
+
var fallbackValues$q = {
|
|
27185
27327
|
fontFamily: fontFamily$5,
|
|
27186
|
-
fontSize: fontSize$
|
|
27328
|
+
fontSize: fontSize$9
|
|
27187
27329
|
};
|
|
27188
27330
|
|
|
27189
27331
|
var _excluded$v = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
@@ -27220,7 +27362,7 @@ var Heading = function Heading(_ref) {
|
|
|
27220
27362
|
"data-qa": dataQa
|
|
27221
27363
|
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
27222
27364
|
};
|
|
27223
|
-
var Heading$1 = themeComponent(Heading, "Heading", fallbackValues$
|
|
27365
|
+
var Heading$1 = themeComponent(Heading, "Heading", fallbackValues$q, "h1");
|
|
27224
27366
|
|
|
27225
27367
|
var Image = styled__default.img.withConfig({
|
|
27226
27368
|
displayName: "ImageBoxstyled__Image",
|
|
@@ -27339,7 +27481,7 @@ var Jumbo = function Jumbo(_ref) {
|
|
|
27339
27481
|
};
|
|
27340
27482
|
var Jumbo$1 = withWindowSize(Jumbo);
|
|
27341
27483
|
|
|
27342
|
-
var fontWeight$
|
|
27484
|
+
var fontWeight$5 = {
|
|
27343
27485
|
// v1 variants
|
|
27344
27486
|
"default": "600",
|
|
27345
27487
|
pS: "600",
|
|
@@ -27355,8 +27497,8 @@ var fontWeight$4 = {
|
|
|
27355
27497
|
// fontsize Detail regular
|
|
27356
27498
|
large: "700" // fontsize Title small
|
|
27357
27499
|
};
|
|
27358
|
-
var fallbackValues$
|
|
27359
|
-
fontWeight: fontWeight$
|
|
27500
|
+
var fallbackValues$r = {
|
|
27501
|
+
fontWeight: fontWeight$5
|
|
27360
27502
|
};
|
|
27361
27503
|
|
|
27362
27504
|
var LabeledAmountV1 = function LabeledAmountV1(_ref) {
|
|
@@ -27414,7 +27556,7 @@ var LabeledAmount = function LabeledAmount(_ref) {
|
|
|
27414
27556
|
var LabeledAmountComponent = version === "v1" ? LabeledAmountV1 : LabeledAmountV2;
|
|
27415
27557
|
return /*#__PURE__*/React__default.createElement(LabeledAmountComponent, rest);
|
|
27416
27558
|
};
|
|
27417
|
-
var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$
|
|
27559
|
+
var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$r, "default");
|
|
27418
27560
|
|
|
27419
27561
|
var weightTitle = {
|
|
27420
27562
|
"default": "600",
|
|
@@ -27424,7 +27566,7 @@ var detailVariant = {
|
|
|
27424
27566
|
"default": "large",
|
|
27425
27567
|
small: "small"
|
|
27426
27568
|
};
|
|
27427
|
-
var fallbackValues$
|
|
27569
|
+
var fallbackValues$s = {
|
|
27428
27570
|
weightTitle: weightTitle,
|
|
27429
27571
|
detailVariant: detailVariant
|
|
27430
27572
|
};
|
|
@@ -27472,10 +27614,10 @@ var LineItem = function LineItem(_ref) {
|
|
|
27472
27614
|
childGap: "0.25rem"
|
|
27473
27615
|
}, visibleCustomAttrs));
|
|
27474
27616
|
};
|
|
27475
|
-
var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$
|
|
27617
|
+
var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$s, "default");
|
|
27476
27618
|
|
|
27477
27619
|
var color$9 = "#15749D";
|
|
27478
|
-
var fallbackValues$
|
|
27620
|
+
var fallbackValues$t = {
|
|
27479
27621
|
color: color$9
|
|
27480
27622
|
};
|
|
27481
27623
|
|
|
@@ -27531,7 +27673,7 @@ var Spinner$1 = function Spinner(_ref6) {
|
|
|
27531
27673
|
strokeWidth: "6"
|
|
27532
27674
|
})));
|
|
27533
27675
|
};
|
|
27534
|
-
var Spinner$2 = themeComponent(Spinner$1, "Spinner", fallbackValues$
|
|
27676
|
+
var Spinner$2 = themeComponent(Spinner$1, "Spinner", fallbackValues$t);
|
|
27535
27677
|
|
|
27536
27678
|
var Loading = function Loading() {
|
|
27537
27679
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -27791,7 +27933,7 @@ var height$1 = {
|
|
|
27791
27933
|
"default": "3rem",
|
|
27792
27934
|
large: "192px"
|
|
27793
27935
|
};
|
|
27794
|
-
var fallbackValues$
|
|
27936
|
+
var fallbackValues$u = {
|
|
27795
27937
|
color: color$a,
|
|
27796
27938
|
height: height$1
|
|
27797
27939
|
};
|
|
@@ -27897,13 +28039,13 @@ var Placeholder = function Placeholder(_ref2) {
|
|
|
27897
28039
|
extraStyles: "padding: 0 0 0 8px; text-align: center;"
|
|
27898
28040
|
}, text)))))))))));
|
|
27899
28041
|
};
|
|
27900
|
-
var Placeholder$1 = themeComponent(Placeholder, "Placeholder", fallbackValues$
|
|
28042
|
+
var Placeholder$1 = themeComponent(Placeholder, "Placeholder", fallbackValues$u, "default");
|
|
27901
28043
|
|
|
27902
|
-
var backgroundColor$
|
|
28044
|
+
var backgroundColor$6 = {
|
|
27903
28045
|
"default": "".concat(WHITE)
|
|
27904
28046
|
};
|
|
27905
|
-
var fallbackValues$
|
|
27906
|
-
backgroundColor: backgroundColor$
|
|
28047
|
+
var fallbackValues$v = {
|
|
28048
|
+
backgroundColor: backgroundColor$6
|
|
27907
28049
|
};
|
|
27908
28050
|
|
|
27909
28051
|
var ProcessingFee = function ProcessingFee(_ref) {
|
|
@@ -27929,11 +28071,11 @@ var ProcessingFee = function ProcessingFee(_ref) {
|
|
|
27929
28071
|
showQuitLink: false
|
|
27930
28072
|
}));
|
|
27931
28073
|
};
|
|
27932
|
-
var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$
|
|
28074
|
+
var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$v, "default");
|
|
27933
28075
|
|
|
27934
28076
|
var activeColor$5 = MATISSE_BLUE;
|
|
27935
28077
|
var inactiveBorderColor = GREY_CHATEAU;
|
|
27936
|
-
var fallbackValues$
|
|
28078
|
+
var fallbackValues$w = {
|
|
27937
28079
|
inactiveBorderColor: inactiveBorderColor,
|
|
27938
28080
|
activeColor: activeColor$5
|
|
27939
28081
|
};
|
|
@@ -28016,11 +28158,11 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
|
|
|
28016
28158
|
inactiveBorderColor: themeValues.inactiveBorderColor
|
|
28017
28159
|
}), labelText));
|
|
28018
28160
|
};
|
|
28019
|
-
var RadioButtonWithLabel$1 = themeComponent(RadioButtonWithLabel, "RadioButtonWithLabel", fallbackValues$
|
|
28161
|
+
var RadioButtonWithLabel$1 = themeComponent(RadioButtonWithLabel, "RadioButtonWithLabel", fallbackValues$w);
|
|
28020
28162
|
|
|
28021
28163
|
var activeColor$6 = "".concat(MATISSE_BLUE);
|
|
28022
28164
|
var inactiveColor = "".concat(STORM_GREY);
|
|
28023
|
-
var fallbackValues$
|
|
28165
|
+
var fallbackValues$x = {
|
|
28024
28166
|
activeColor: activeColor$6,
|
|
28025
28167
|
inactiveColor: inactiveColor
|
|
28026
28168
|
};
|
|
@@ -28125,12 +28267,12 @@ var RadioButton$1 = function RadioButton(_ref2) {
|
|
|
28125
28267
|
borderRadius: "8px"
|
|
28126
28268
|
})));
|
|
28127
28269
|
};
|
|
28128
|
-
var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$
|
|
28270
|
+
var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$x);
|
|
28129
28271
|
|
|
28130
28272
|
var border$2 = {
|
|
28131
28273
|
"default": "1px solid #caced8"
|
|
28132
28274
|
};
|
|
28133
|
-
var fallbackValues$
|
|
28275
|
+
var fallbackValues$y = {
|
|
28134
28276
|
border: border$2
|
|
28135
28277
|
};
|
|
28136
28278
|
|
|
@@ -28203,7 +28345,7 @@ var SearchableSelect = function SearchableSelect(_ref) {
|
|
|
28203
28345
|
});
|
|
28204
28346
|
}))));
|
|
28205
28347
|
};
|
|
28206
|
-
var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$
|
|
28348
|
+
var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$y, "default");
|
|
28207
28349
|
|
|
28208
28350
|
var borderColor$2 = {
|
|
28209
28351
|
"default": "".concat(GREY_CHATEAU)
|
|
@@ -28211,7 +28353,7 @@ var borderColor$2 = {
|
|
|
28211
28353
|
var borderSize = {
|
|
28212
28354
|
"default": "1px"
|
|
28213
28355
|
};
|
|
28214
|
-
var fallbackValues$
|
|
28356
|
+
var fallbackValues$z = {
|
|
28215
28357
|
borderColor: borderColor$2,
|
|
28216
28358
|
borderSize: borderSize
|
|
28217
28359
|
};
|
|
@@ -28229,7 +28371,7 @@ var SolidDivider = function SolidDivider(_ref) {
|
|
|
28229
28371
|
borderWidthOverride: "0px 0px ".concat(borderSize || themeValues.borderSize, " 0px")
|
|
28230
28372
|
});
|
|
28231
28373
|
};
|
|
28232
|
-
var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$
|
|
28374
|
+
var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$z, "default");
|
|
28233
28375
|
|
|
28234
28376
|
var placeHolderOptionUS = {
|
|
28235
28377
|
text: "Please select state",
|
|
@@ -38815,7 +38957,7 @@ var offBackground = "".concat(REGENT_GREY);
|
|
|
38815
38957
|
var labelStyles = "\n display: flex;\n justify-content: flex-start;\n align-items: center;\n";
|
|
38816
38958
|
var rightLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row;\n");
|
|
38817
38959
|
var leftLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row-reverse;\n");
|
|
38818
|
-
var fallbackValues$
|
|
38960
|
+
var fallbackValues$A = {
|
|
38819
38961
|
onBackground: onBackground,
|
|
38820
38962
|
disabledBackground: disabledBackground,
|
|
38821
38963
|
white: white,
|
|
@@ -38987,7 +39129,7 @@ var ToggleSwitch = function ToggleSwitch(_ref6) {
|
|
|
38987
39129
|
color: CHARADE_GREY
|
|
38988
39130
|
}, label))));
|
|
38989
39131
|
};
|
|
38990
|
-
var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$
|
|
39132
|
+
var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$A);
|
|
38991
39133
|
|
|
38992
39134
|
var background$2 = "".concat(ATHENS_GREY);
|
|
38993
39135
|
var white$1 = "".concat(WHITE);
|
|
@@ -39029,12 +39171,12 @@ var TypeaheadInput = function TypeaheadInput(_ref) {
|
|
|
39029
39171
|
}));
|
|
39030
39172
|
};
|
|
39031
39173
|
|
|
39032
|
-
var backgroundColor$
|
|
39174
|
+
var backgroundColor$7 = WHITE;
|
|
39033
39175
|
var imageBackgroundColor = INFO_BLUE;
|
|
39034
39176
|
var headerBackgroundColor = STORM_GREY;
|
|
39035
39177
|
var headerColor = WHITE;
|
|
39036
|
-
var fallbackValues$
|
|
39037
|
-
backgroundColor: backgroundColor$
|
|
39178
|
+
var fallbackValues$B = {
|
|
39179
|
+
backgroundColor: backgroundColor$7,
|
|
39038
39180
|
imageBackgroundColor: imageBackgroundColor,
|
|
39039
39181
|
headerBackgroundColor: headerBackgroundColor,
|
|
39040
39182
|
headerColor: headerColor
|
|
@@ -39057,7 +39199,7 @@ var CardImage = styled__default.img.withConfig({
|
|
|
39057
39199
|
var titleColor = BRIGHT_GREY;
|
|
39058
39200
|
var titleWeight = FONT_WEIGHT_BOLD;
|
|
39059
39201
|
var textColor$3 = BRIGHT_GREY;
|
|
39060
|
-
var fallbackValues$
|
|
39202
|
+
var fallbackValues$C = {
|
|
39061
39203
|
titleColor: titleColor,
|
|
39062
39204
|
titleWeight: titleWeight,
|
|
39063
39205
|
textColor: textColor$3
|
|
@@ -39081,7 +39223,7 @@ var CardText = function CardText(_ref) {
|
|
|
39081
39223
|
color: themeValues.textColor
|
|
39082
39224
|
}, text))));
|
|
39083
39225
|
};
|
|
39084
|
-
var CardText$1 = themeComponent(withWindowSize(CardText), "CardText", fallbackValues$
|
|
39226
|
+
var CardText$1 = themeComponent(withWindowSize(CardText), "CardText", fallbackValues$C);
|
|
39085
39227
|
|
|
39086
39228
|
var CardHeader = function CardHeader(_ref) {
|
|
39087
39229
|
var backgroundColor = _ref.backgroundColor,
|
|
@@ -39183,12 +39325,12 @@ var Card = function Card(_ref) {
|
|
|
39183
39325
|
titleVariant: titleVariant
|
|
39184
39326
|
}), children)))));
|
|
39185
39327
|
};
|
|
39186
|
-
var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$
|
|
39328
|
+
var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$B);
|
|
39187
39329
|
|
|
39188
39330
|
var fontFamily$6 = "Public Sans, sans-serif";
|
|
39189
39331
|
var activeColor$7 = MATISSE_BLUE;
|
|
39190
39332
|
var linkColor$3 = CHARADE_GREY;
|
|
39191
|
-
var fallbackValues$
|
|
39333
|
+
var fallbackValues$D = {
|
|
39192
39334
|
fontFamily: fontFamily$6,
|
|
39193
39335
|
activeColor: activeColor$7,
|
|
39194
39336
|
linkColor: linkColor$3
|
|
@@ -39217,7 +39359,7 @@ var NavTab = function NavTab(_ref) {
|
|
|
39217
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 ")
|
|
39218
39360
|
}, label));
|
|
39219
39361
|
};
|
|
39220
|
-
var NavTab$1 = themeComponent(NavTab, "NavTab", fallbackValues$
|
|
39362
|
+
var NavTab$1 = themeComponent(NavTab, "NavTab", fallbackValues$D);
|
|
39221
39363
|
|
|
39222
39364
|
var NavTabs = function NavTabs(_ref) {
|
|
39223
39365
|
var tabsConfig = _ref.tabsConfig,
|
|
@@ -39306,10 +39448,10 @@ var TableCell_styled = styled__default.td.withConfig({
|
|
|
39306
39448
|
return extraStyles;
|
|
39307
39449
|
});
|
|
39308
39450
|
|
|
39309
|
-
var backgroundColor$
|
|
39451
|
+
var backgroundColor$8 = ALABASTER_WHITE;
|
|
39310
39452
|
var borderColor$3 = GREY_CHATEAU;
|
|
39311
|
-
var fallbackValues$
|
|
39312
|
-
backgroundColor: backgroundColor$
|
|
39453
|
+
var fallbackValues$E = {
|
|
39454
|
+
backgroundColor: backgroundColor$8,
|
|
39313
39455
|
borderColor: borderColor$3
|
|
39314
39456
|
};
|
|
39315
39457
|
|
|
@@ -39330,7 +39472,7 @@ var StyledTableHead = styled__default.thead.withConfig({
|
|
|
39330
39472
|
|
|
39331
39473
|
var borderColor$4 = GREY_CHATEAU;
|
|
39332
39474
|
var hoverBackgroundColor$1 = HOVER_LIGHT_BLUE;
|
|
39333
|
-
var fallbackValues$
|
|
39475
|
+
var fallbackValues$F = {
|
|
39334
39476
|
borderColor: borderColor$4,
|
|
39335
39477
|
hoverBackgroundColor: hoverBackgroundColor$1
|
|
39336
39478
|
};
|
|
@@ -39369,7 +39511,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
39369
39511
|
hoverBackgroundColor: themeValues.hoverBackgroundColor
|
|
39370
39512
|
}, props), children);
|
|
39371
39513
|
};
|
|
39372
|
-
var TableRow$1 = themeComponent(TableRow, "TableRow", fallbackValues$
|
|
39514
|
+
var TableRow$1 = themeComponent(TableRow, "TableRow", fallbackValues$F);
|
|
39373
39515
|
|
|
39374
39516
|
var TableHead = function TableHead(_ref) {
|
|
39375
39517
|
var children = _ref.children,
|
|
@@ -39384,7 +39526,7 @@ var TableHead = function TableHead(_ref) {
|
|
|
39384
39526
|
hoverEffect: false
|
|
39385
39527
|
}, children));
|
|
39386
39528
|
};
|
|
39387
|
-
var TableHead$1 = themeComponent(TableHead, "TableHead", fallbackValues$
|
|
39529
|
+
var TableHead$1 = themeComponent(TableHead, "TableHead", fallbackValues$E);
|
|
39388
39530
|
|
|
39389
39531
|
var TableHeading_styled = styled__default.th.withConfig({
|
|
39390
39532
|
displayName: "TableHeadingstyled",
|
|
@@ -40218,9 +40360,9 @@ AddressForm.reducer = reducer;
|
|
|
40218
40360
|
AddressForm.mapStateToProps = mapStateToProps$1;
|
|
40219
40361
|
AddressForm.mapDispatchToProps = mapDispatchToProps;
|
|
40220
40362
|
|
|
40221
|
-
var backgroundColor$
|
|
40222
|
-
var fallbackValues$
|
|
40223
|
-
backgroundColor: backgroundColor$
|
|
40363
|
+
var backgroundColor$9 = "#ebeffb";
|
|
40364
|
+
var fallbackValues$G = {
|
|
40365
|
+
backgroundColor: backgroundColor$9
|
|
40224
40366
|
};
|
|
40225
40367
|
|
|
40226
40368
|
var Banner = function Banner(_ref) {
|
|
@@ -40268,7 +40410,7 @@ var Banner = function Banner(_ref) {
|
|
|
40268
40410
|
extraStyles: isMobile && "> svg { width: 176px; }"
|
|
40269
40411
|
}, /*#__PURE__*/React__default.createElement(Image, null))));
|
|
40270
40412
|
};
|
|
40271
|
-
var Banner$1 = themeComponent(Banner, "Banner", fallbackValues$
|
|
40413
|
+
var Banner$1 = themeComponent(Banner, "Banner", fallbackValues$G);
|
|
40272
40414
|
|
|
40273
40415
|
var ChangePasswordForm = function ChangePasswordForm(_ref) {
|
|
40274
40416
|
var clearOnDismount = _ref.clearOnDismount,
|
|
@@ -40402,7 +40544,7 @@ ChangePasswordForm.mapDispatchToProps = mapDispatchToProps$1;
|
|
|
40402
40544
|
var titleColor$1 = "#292A33";
|
|
40403
40545
|
var headingBackgroundColor = "transparent";
|
|
40404
40546
|
var bodyBackgroundColor = "transparent";
|
|
40405
|
-
var fallbackValues$
|
|
40547
|
+
var fallbackValues$H = {
|
|
40406
40548
|
titleColor: titleColor$1,
|
|
40407
40549
|
headingBackgroundColor: headingBackgroundColor,
|
|
40408
40550
|
bodyBackgroundColor: bodyBackgroundColor
|
|
@@ -40527,7 +40669,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
40527
40669
|
"aria-labelledby": "".concat(id, "-button")
|
|
40528
40670
|
}, children))));
|
|
40529
40671
|
};
|
|
40530
|
-
var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$
|
|
40672
|
+
var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$H);
|
|
40531
40673
|
|
|
40532
40674
|
var ClipboardIcon = function ClipboardIcon(_ref) {
|
|
40533
40675
|
var themeValues = _ref.themeValues;
|
|
@@ -40560,7 +40702,7 @@ var ClipboardIcon = function ClipboardIcon(_ref) {
|
|
|
40560
40702
|
fill: themeValues.singleIconColor
|
|
40561
40703
|
})));
|
|
40562
40704
|
};
|
|
40563
|
-
var ClipboardIcon$1 = themeComponent(ClipboardIcon, "Icons", fallbackValues$
|
|
40705
|
+
var ClipboardIcon$1 = themeComponent(ClipboardIcon, "Icons", fallbackValues$5, "primary");
|
|
40564
40706
|
|
|
40565
40707
|
/*
|
|
40566
40708
|
This component will render `content` and a clipboard icon.
|
|
@@ -41103,7 +41245,7 @@ EmailForm.mapDispatchToProps = mapDispatchToProps$3;
|
|
|
41103
41245
|
|
|
41104
41246
|
var footerBackgroundColor = BRIGHT_GREY;
|
|
41105
41247
|
var subfooterBackgroundColor = STORM_GREY;
|
|
41106
|
-
var fallbackValues$
|
|
41248
|
+
var fallbackValues$I = {
|
|
41107
41249
|
footerBackgroundColor: footerBackgroundColor,
|
|
41108
41250
|
subfooterBackgroundColor: subfooterBackgroundColor
|
|
41109
41251
|
};
|
|
@@ -41134,7 +41276,7 @@ var FooterWithSubfooter = function FooterWithSubfooter(_ref) {
|
|
|
41134
41276
|
rightContent: rightSubfooterContent
|
|
41135
41277
|
}));
|
|
41136
41278
|
};
|
|
41137
|
-
var FooterWithSubfooter$1 = themeComponent(FooterWithSubfooter, "FooterWithSubfooter", fallbackValues$
|
|
41279
|
+
var FooterWithSubfooter$1 = themeComponent(FooterWithSubfooter, "FooterWithSubfooter", fallbackValues$I);
|
|
41138
41280
|
|
|
41139
41281
|
var ForgotPasswordForm = function ForgotPasswordForm(_ref) {
|
|
41140
41282
|
var fields = _ref.fields,
|
|
@@ -41180,10 +41322,10 @@ ForgotPasswordForm.mapStateToProps = mapStateToProps$5;
|
|
|
41180
41322
|
ForgotPasswordForm.mapDispatchToProps = mapDispatchToProps$4;
|
|
41181
41323
|
|
|
41182
41324
|
var textColor$4 = "#ffffff";
|
|
41183
|
-
var backgroundColor$
|
|
41184
|
-
var fallbackValues$
|
|
41325
|
+
var backgroundColor$a = "#182848";
|
|
41326
|
+
var fallbackValues$J = {
|
|
41185
41327
|
textColor: textColor$4,
|
|
41186
|
-
backgroundColor: backgroundColor$
|
|
41328
|
+
backgroundColor: backgroundColor$a
|
|
41187
41329
|
};
|
|
41188
41330
|
|
|
41189
41331
|
// this component needs some fix'n
|
|
@@ -41240,7 +41382,7 @@ var HighlightTabRow = function HighlightTabRow(_ref) {
|
|
|
41240
41382
|
}, t));
|
|
41241
41383
|
}), repeat( /*#__PURE__*/React__default.createElement(Box, null), boxesAfter))));
|
|
41242
41384
|
};
|
|
41243
|
-
var HighlightTabRow$1 = themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$
|
|
41385
|
+
var HighlightTabRow$1 = themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$J);
|
|
41244
41386
|
|
|
41245
41387
|
var AccountBillIcon = function AccountBillIcon() {
|
|
41246
41388
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
@@ -42705,7 +42847,7 @@ var disabledColor$1 = {
|
|
|
42705
42847
|
var activeBackgroundColor$1 = {
|
|
42706
42848
|
primary: CORNFLOWER_BLUE
|
|
42707
42849
|
};
|
|
42708
|
-
var backgroundColor$
|
|
42850
|
+
var backgroundColor$b = {
|
|
42709
42851
|
primary: LINK_WATER
|
|
42710
42852
|
};
|
|
42711
42853
|
var borderColor$5 = {
|
|
@@ -42714,12 +42856,12 @@ var borderColor$5 = {
|
|
|
42714
42856
|
var color$b = {
|
|
42715
42857
|
primary: ROYAL_BLUE_VIVID
|
|
42716
42858
|
};
|
|
42717
|
-
var fallbackValues$
|
|
42859
|
+
var fallbackValues$K = {
|
|
42718
42860
|
disabledBackgroundColor: disabledBackgroundColor$1,
|
|
42719
42861
|
disabledBorderColor: disabledBorderColor$1,
|
|
42720
42862
|
disabledColor: disabledColor$1,
|
|
42721
42863
|
activeBackgroundColor: activeBackgroundColor$1,
|
|
42722
|
-
backgroundColor: backgroundColor$
|
|
42864
|
+
backgroundColor: backgroundColor$b,
|
|
42723
42865
|
borderColor: borderColor$5,
|
|
42724
42866
|
color: color$b
|
|
42725
42867
|
};
|
|
@@ -42835,7 +42977,7 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42835
42977
|
extraStyles: "margin-right: auto;"
|
|
42836
42978
|
}), showRight && !!rightContent && rightContent))));
|
|
42837
42979
|
};
|
|
42838
|
-
var LinkCard$1 = themeComponent(LinkCard, "LinkCard", fallbackValues$
|
|
42980
|
+
var LinkCard$1 = themeComponent(LinkCard, "LinkCard", fallbackValues$K, "primary");
|
|
42839
42981
|
|
|
42840
42982
|
var LoginForm = function LoginForm(_ref) {
|
|
42841
42983
|
var clearOnDismount = _ref.clearOnDismount,
|
|
@@ -46474,135 +46616,6 @@ var Modal$1 = function Modal(_ref) {
|
|
|
46474
46616
|
}))))))))), children);
|
|
46475
46617
|
};
|
|
46476
46618
|
|
|
46477
|
-
var fontSize$9 = {
|
|
46478
|
-
"default": "1.375rem",
|
|
46479
|
-
largeTitle: "1.75rem",
|
|
46480
|
-
small: "1.25rem"
|
|
46481
|
-
};
|
|
46482
|
-
var fontWeight$5 = {
|
|
46483
|
-
"default": "600",
|
|
46484
|
-
largeTitle: "700",
|
|
46485
|
-
small: "600"
|
|
46486
|
-
};
|
|
46487
|
-
var fontColor = {
|
|
46488
|
-
"default": CHARADE_GREY,
|
|
46489
|
-
largeTitle: CHARADE_GREY,
|
|
46490
|
-
small: CHARADE_GREY
|
|
46491
|
-
};
|
|
46492
|
-
var lineHeight$3 = {
|
|
46493
|
-
"default": "2rem",
|
|
46494
|
-
largeTitle: "2rem",
|
|
46495
|
-
small: "2rem"
|
|
46496
|
-
};
|
|
46497
|
-
var textAlign = {
|
|
46498
|
-
"default": "left",
|
|
46499
|
-
largeTitle: "left",
|
|
46500
|
-
small: "left"
|
|
46501
|
-
};
|
|
46502
|
-
var titleType = {
|
|
46503
|
-
"default": "h5",
|
|
46504
|
-
largeTitle: "h1",
|
|
46505
|
-
small: "h6"
|
|
46506
|
-
};
|
|
46507
|
-
var titleSpacing = {
|
|
46508
|
-
"default": "0.5rem",
|
|
46509
|
-
largeTitle: "1.125rem",
|
|
46510
|
-
small: "0.5rem"
|
|
46511
|
-
};
|
|
46512
|
-
var boxShadow$1 = {
|
|
46513
|
-
"default": "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
|
|
46514
|
-
largeTitle: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
|
|
46515
|
-
small: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)"
|
|
46516
|
-
};
|
|
46517
|
-
var borderRadius = {
|
|
46518
|
-
"default": "0.25rem",
|
|
46519
|
-
largeTitle: "0.25rem",
|
|
46520
|
-
small: "0.25rem"
|
|
46521
|
-
};
|
|
46522
|
-
var backgroundColor$b = {
|
|
46523
|
-
"default": WHITE,
|
|
46524
|
-
largeTitle: WHITE,
|
|
46525
|
-
small: WHITE
|
|
46526
|
-
};
|
|
46527
|
-
var fallbackValues$K = {
|
|
46528
|
-
fontSize: fontSize$9,
|
|
46529
|
-
fontWeight: fontWeight$5,
|
|
46530
|
-
fontColor: fontColor,
|
|
46531
|
-
lineHeight: lineHeight$3,
|
|
46532
|
-
textAlign: textAlign,
|
|
46533
|
-
titleType: titleType,
|
|
46534
|
-
titleSpacing: titleSpacing,
|
|
46535
|
-
boxShadow: boxShadow$1,
|
|
46536
|
-
borderRadius: borderRadius,
|
|
46537
|
-
backgroundColor: backgroundColor$b
|
|
46538
|
-
};
|
|
46539
|
-
|
|
46540
|
-
/*
|
|
46541
|
-
New (01/22) - updated <Module /> to use <Title /> atom
|
|
46542
|
-
Because <Title /> decouples size from element, also gave <Module />
|
|
46543
|
-
two new props: "as" and "fontSize"
|
|
46544
|
-
|
|
46545
|
-
When present, <Module /> will use those values to dictate element type and font size.
|
|
46546
|
-
|
|
46547
|
-
For backwards compatability, <Module /> still computes a themed font size and element type based on old
|
|
46548
|
-
<Heading /> variants. If "fontSize" or "as" is undefined, <Module /> will use themed values.
|
|
46549
|
-
*/
|
|
46550
|
-
|
|
46551
|
-
var Module = function Module(_ref) {
|
|
46552
|
-
var _ref$variant = _ref.variant,
|
|
46553
|
-
variant = _ref$variant === void 0 ? "default" : _ref$variant,
|
|
46554
|
-
as = _ref.as,
|
|
46555
|
-
disabled = _ref.disabled,
|
|
46556
|
-
heading = _ref.heading,
|
|
46557
|
-
rightTitleContent = _ref.rightTitleContent,
|
|
46558
|
-
_ref$titleID = _ref.titleID,
|
|
46559
|
-
titleID = _ref$titleID === void 0 ? "" : _ref$titleID,
|
|
46560
|
-
_ref$spacing = _ref.spacing,
|
|
46561
|
-
spacing = _ref$spacing === void 0 ? "1rem" : _ref$spacing,
|
|
46562
|
-
_ref$padding = _ref.padding,
|
|
46563
|
-
padding = _ref$padding === void 0 ? "0" : _ref$padding,
|
|
46564
|
-
_ref$margin = _ref.margin,
|
|
46565
|
-
margin = _ref$margin === void 0 ? "0" : _ref$margin,
|
|
46566
|
-
_ref$spacingBottom = _ref.spacingBottom,
|
|
46567
|
-
spacingBottom = _ref$spacingBottom === void 0 ? "2.5rem" : _ref$spacingBottom,
|
|
46568
|
-
fontSize = _ref.fontSize,
|
|
46569
|
-
themeValues = _ref.themeValues,
|
|
46570
|
-
children = _ref.children;
|
|
46571
|
-
var themedFontSize = variant === "small" ? "1.25rem" : variant === "default" ? "1.375rem" : "2rem";
|
|
46572
|
-
var computedFontSize = fontSize || themedFontSize;
|
|
46573
|
-
var themedElemType = variant === "small" ? "h6" : variant === "default" ? "h5" : "h2";
|
|
46574
|
-
var computedElemType = as || themedElemType;
|
|
46575
|
-
var disabledStyles = "opacity: 0.40;";
|
|
46576
|
-
var headingText = /*#__PURE__*/React__default.createElement(Title$1, {
|
|
46577
|
-
weight: themeValues.fontWeight,
|
|
46578
|
-
color: themeValues.fontColor,
|
|
46579
|
-
margin: "".concat(spacing, " 0 ").concat(themeValues.titleSpacing, " 0"),
|
|
46580
|
-
textAlign: themeValues.textAlign,
|
|
46581
|
-
as: computedElemType,
|
|
46582
|
-
extraStyles: "font-size: ".concat(computedFontSize, ";"),
|
|
46583
|
-
id: titleID
|
|
46584
|
-
}, heading);
|
|
46585
|
-
return /*#__PURE__*/React__default.createElement(Box, {
|
|
46586
|
-
"aria-disabled": disabled,
|
|
46587
|
-
extraStyles: disabled && disabledStyles,
|
|
46588
|
-
padding: "0",
|
|
46589
|
-
role: "group"
|
|
46590
|
-
}, heading && !rightTitleContent && headingText, heading && rightTitleContent && /*#__PURE__*/React__default.createElement(Cluster, {
|
|
46591
|
-
justify: "space-between",
|
|
46592
|
-
align: "center",
|
|
46593
|
-
nowrap: true
|
|
46594
|
-
}, headingText, rightTitleContent), /*#__PURE__*/React__default.createElement(Box, {
|
|
46595
|
-
padding: "0 0 ".concat(spacingBottom),
|
|
46596
|
-
extraStyles: "margin: ".concat(margin)
|
|
46597
|
-
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
46598
|
-
padding: padding,
|
|
46599
|
-
background: themeValues.backgroundColor,
|
|
46600
|
-
borderRadius: themeValues.borderRadius,
|
|
46601
|
-
boxShadow: themeValues.boxShadow
|
|
46602
|
-
}, children)));
|
|
46603
|
-
};
|
|
46604
|
-
var Module$1 = /*#__PURE__*/React.memo(themeComponent(Module, "Module", fallbackValues$K, "default"));
|
|
46605
|
-
|
|
46606
46619
|
var backgroundColor$c = {
|
|
46607
46620
|
profile: "#3b414d",
|
|
46608
46621
|
cms: "#3b414d"
|