@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.esm.js
CHANGED
|
@@ -13053,6 +13053,251 @@ var fallbackValues$2 = {
|
|
|
13053
13053
|
backgroundColor: backgroundColor$1
|
|
13054
13054
|
};
|
|
13055
13055
|
|
|
13056
|
+
var fontSize$1 = {
|
|
13057
|
+
"default": "1.375rem",
|
|
13058
|
+
largeTitle: "1.75rem",
|
|
13059
|
+
small: "1.25rem"
|
|
13060
|
+
};
|
|
13061
|
+
var fontWeight$1 = {
|
|
13062
|
+
"default": "600",
|
|
13063
|
+
largeTitle: "700",
|
|
13064
|
+
small: "600"
|
|
13065
|
+
};
|
|
13066
|
+
var fontColor = {
|
|
13067
|
+
"default": CHARADE_GREY,
|
|
13068
|
+
largeTitle: CHARADE_GREY,
|
|
13069
|
+
small: CHARADE_GREY
|
|
13070
|
+
};
|
|
13071
|
+
var lineHeight = {
|
|
13072
|
+
"default": "2rem",
|
|
13073
|
+
largeTitle: "2rem",
|
|
13074
|
+
small: "2rem"
|
|
13075
|
+
};
|
|
13076
|
+
var textAlign = {
|
|
13077
|
+
"default": "left",
|
|
13078
|
+
largeTitle: "left",
|
|
13079
|
+
small: "left"
|
|
13080
|
+
};
|
|
13081
|
+
var titleType = {
|
|
13082
|
+
"default": "h5",
|
|
13083
|
+
largeTitle: "h1",
|
|
13084
|
+
small: "h6"
|
|
13085
|
+
};
|
|
13086
|
+
var titleSpacing = {
|
|
13087
|
+
"default": "0.5rem",
|
|
13088
|
+
largeTitle: "1.125rem",
|
|
13089
|
+
small: "0.5rem"
|
|
13090
|
+
};
|
|
13091
|
+
var boxShadow = {
|
|
13092
|
+
"default": "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
|
|
13093
|
+
largeTitle: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
|
|
13094
|
+
small: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)"
|
|
13095
|
+
};
|
|
13096
|
+
var borderRadius = {
|
|
13097
|
+
"default": "0.25rem",
|
|
13098
|
+
largeTitle: "0.25rem",
|
|
13099
|
+
small: "0.25rem"
|
|
13100
|
+
};
|
|
13101
|
+
var backgroundColor$2 = {
|
|
13102
|
+
"default": WHITE,
|
|
13103
|
+
largeTitle: WHITE,
|
|
13104
|
+
small: WHITE
|
|
13105
|
+
};
|
|
13106
|
+
var fallbackValues$3 = {
|
|
13107
|
+
fontSize: fontSize$1,
|
|
13108
|
+
fontWeight: fontWeight$1,
|
|
13109
|
+
fontColor: fontColor,
|
|
13110
|
+
lineHeight: lineHeight,
|
|
13111
|
+
textAlign: textAlign,
|
|
13112
|
+
titleType: titleType,
|
|
13113
|
+
titleSpacing: titleSpacing,
|
|
13114
|
+
boxShadow: boxShadow,
|
|
13115
|
+
borderRadius: borderRadius,
|
|
13116
|
+
backgroundColor: backgroundColor$2
|
|
13117
|
+
};
|
|
13118
|
+
|
|
13119
|
+
var TitleText = styled.h1.withConfig({
|
|
13120
|
+
displayName: "Titlestyled__TitleText",
|
|
13121
|
+
componentId: "sc-11lhluq-0"
|
|
13122
|
+
})(["font-size:", ";line-height:1.5;color:", ";font-weight:", ";margin:", ";text-align:", ";font-family:", ";", ";"], function (_ref) {
|
|
13123
|
+
var fontSize = _ref.fontSize;
|
|
13124
|
+
return fontSize;
|
|
13125
|
+
}, function (_ref2) {
|
|
13126
|
+
var color = _ref2.color;
|
|
13127
|
+
return color;
|
|
13128
|
+
}, function (_ref3) {
|
|
13129
|
+
var weight = _ref3.weight;
|
|
13130
|
+
return weight;
|
|
13131
|
+
}, function (_ref4) {
|
|
13132
|
+
var margin = _ref4.margin;
|
|
13133
|
+
return margin;
|
|
13134
|
+
}, function (_ref5) {
|
|
13135
|
+
var textAlign = _ref5.textAlign;
|
|
13136
|
+
return textAlign;
|
|
13137
|
+
}, function (_ref6) {
|
|
13138
|
+
var fontFamily = _ref6.fontFamily;
|
|
13139
|
+
return fontFamily;
|
|
13140
|
+
}, function (_ref7) {
|
|
13141
|
+
var extraStyles = _ref7.extraStyles;
|
|
13142
|
+
return extraStyles;
|
|
13143
|
+
});
|
|
13144
|
+
|
|
13145
|
+
// Comments assume desktop base font size of 16px, mobile base font size of 14px
|
|
13146
|
+
|
|
13147
|
+
var fontSize$2 = {
|
|
13148
|
+
large: "1.5rem",
|
|
13149
|
+
// 24px (at base font size of 16px)
|
|
13150
|
+
small: "1.25rem" // 20px
|
|
13151
|
+
};
|
|
13152
|
+
var fontFamily$1 = {
|
|
13153
|
+
large: "Public Sans",
|
|
13154
|
+
small: "Public Sans"
|
|
13155
|
+
};
|
|
13156
|
+
var mobileFontSize = {
|
|
13157
|
+
large: "1.5rem",
|
|
13158
|
+
// 21px (at base font size of 14px)
|
|
13159
|
+
small: "1.2142rem" // 17px
|
|
13160
|
+
};
|
|
13161
|
+
var fallbackValues$4 = {
|
|
13162
|
+
fontFamily: fontFamily$1,
|
|
13163
|
+
fontSize: fontSize$2
|
|
13164
|
+
};
|
|
13165
|
+
var mobileFallbackValues = {
|
|
13166
|
+
fontFamily: fontFamily$1,
|
|
13167
|
+
fontSize: mobileFontSize
|
|
13168
|
+
};
|
|
13169
|
+
var MOBILE_BREAKPOINT = 768;
|
|
13170
|
+
|
|
13171
|
+
var _excluded$i = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
13172
|
+
|
|
13173
|
+
/*
|
|
13174
|
+
New responsive text component for Title elements
|
|
13175
|
+
Size is decoupled from tag
|
|
13176
|
+
Comes with two variants - "large" and "small"
|
|
13177
|
+
Large variant results in text that is 1.5rem (24px desktop, 21px mobile)
|
|
13178
|
+
Small variant results in text that is 1.25rem/1.2142rem (20px desktop, 17px mobile)
|
|
13179
|
+
|
|
13180
|
+
If you need a smaller text size, use the <Detail /> atom, which has smaller variants
|
|
13181
|
+
|
|
13182
|
+
Use the "as" prop to specify element type, can use any of: h1/h2/h3/h4/h5/h6/p
|
|
13183
|
+
If you need an inline text element (span), use the <Text /> atom
|
|
13184
|
+
The "as" value should be dictated by the structure of your page, not what font-size you want
|
|
13185
|
+
|
|
13186
|
+
Title / Detail both use slightly different desktop/mobile scales
|
|
13187
|
+
(Mobile scale is different to allow for design-friendly px values)
|
|
13188
|
+
Both atoms detect the presence of a mobile device on their own
|
|
13189
|
+
and apply the corresponding scale
|
|
13190
|
+
|
|
13191
|
+
Mobile breakpoint value is specified in Title.theme.js
|
|
13192
|
+
|
|
13193
|
+
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
|
|
13194
|
+
*/
|
|
13195
|
+
|
|
13196
|
+
var isBelowBreakpoint = window.innerWidth < MOBILE_BREAKPOINT;
|
|
13197
|
+
var isTouchDevice$1 = "ontouchstart" in window || navigator.maxTouchPoints > 1;
|
|
13198
|
+
var mobileDeviceDetected = isBelowBreakpoint && isTouchDevice$1;
|
|
13199
|
+
var fallbacks = mobileDeviceDetected ? mobileFallbackValues : fallbackValues$4;
|
|
13200
|
+
var Title = function Title(_ref) {
|
|
13201
|
+
var themeValues = _ref.themeValues,
|
|
13202
|
+
_ref$weight = _ref.weight,
|
|
13203
|
+
weight = _ref$weight === void 0 ? FONT_WEIGHT_REGULAR : _ref$weight,
|
|
13204
|
+
_ref$color = _ref.color,
|
|
13205
|
+
color = _ref$color === void 0 ? FIREFLY_GREY : _ref$color,
|
|
13206
|
+
_ref$margin = _ref.margin,
|
|
13207
|
+
margin = _ref$margin === void 0 ? 0 : _ref$margin,
|
|
13208
|
+
textAlign = _ref.textAlign,
|
|
13209
|
+
_ref$extraStyles = _ref.extraStyles,
|
|
13210
|
+
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
|
|
13211
|
+
className = _ref.className,
|
|
13212
|
+
_ref$variant = _ref.variant,
|
|
13213
|
+
variant = _ref$variant === void 0 ? "large" : _ref$variant,
|
|
13214
|
+
_ref$as = _ref.as,
|
|
13215
|
+
as = _ref$as === void 0 ? "h1" : _ref$as,
|
|
13216
|
+
dataQa = _ref.dataQa,
|
|
13217
|
+
children = _ref.children,
|
|
13218
|
+
rest = _objectWithoutProperties(_ref, _excluded$i);
|
|
13219
|
+
return /*#__PURE__*/React.createElement(TitleText, _extends({
|
|
13220
|
+
variant: variant,
|
|
13221
|
+
as: as,
|
|
13222
|
+
weight: weight,
|
|
13223
|
+
color: color,
|
|
13224
|
+
margin: margin,
|
|
13225
|
+
textAlign: textAlign,
|
|
13226
|
+
extraStyles: extraStyles,
|
|
13227
|
+
className: className,
|
|
13228
|
+
fontFamily: themeValues.fontFamily,
|
|
13229
|
+
fontSize: themeValues.fontSize,
|
|
13230
|
+
"data-qa": dataQa
|
|
13231
|
+
}, rest), safeChildren(children, /*#__PURE__*/React.createElement("span", null)));
|
|
13232
|
+
};
|
|
13233
|
+
var Title$1 = themeComponent(Title, "Title", fallbacks, "large");
|
|
13234
|
+
|
|
13235
|
+
/*
|
|
13236
|
+
New (01/22) - updated <Module /> to use <Title /> atom
|
|
13237
|
+
Because <Title /> decouples size from element, also gave <Module />
|
|
13238
|
+
two new props: "as" and "fontSize"
|
|
13239
|
+
|
|
13240
|
+
When present, <Module /> will use those values to dictate element type and font size.
|
|
13241
|
+
|
|
13242
|
+
For backwards compatability, <Module /> still computes a themed font size and element type based on old
|
|
13243
|
+
<Heading /> variants. If "fontSize" or "as" is undefined, <Module /> will use themed values.
|
|
13244
|
+
*/
|
|
13245
|
+
|
|
13246
|
+
var Module = function Module(_ref) {
|
|
13247
|
+
var _ref$variant = _ref.variant,
|
|
13248
|
+
variant = _ref$variant === void 0 ? "default" : _ref$variant,
|
|
13249
|
+
as = _ref.as,
|
|
13250
|
+
disabled = _ref.disabled,
|
|
13251
|
+
heading = _ref.heading,
|
|
13252
|
+
rightTitleContent = _ref.rightTitleContent,
|
|
13253
|
+
_ref$titleID = _ref.titleID,
|
|
13254
|
+
titleID = _ref$titleID === void 0 ? "" : _ref$titleID,
|
|
13255
|
+
_ref$spacing = _ref.spacing,
|
|
13256
|
+
spacing = _ref$spacing === void 0 ? "1rem" : _ref$spacing,
|
|
13257
|
+
_ref$padding = _ref.padding,
|
|
13258
|
+
padding = _ref$padding === void 0 ? "0" : _ref$padding,
|
|
13259
|
+
_ref$margin = _ref.margin,
|
|
13260
|
+
margin = _ref$margin === void 0 ? "0" : _ref$margin,
|
|
13261
|
+
_ref$spacingBottom = _ref.spacingBottom,
|
|
13262
|
+
spacingBottom = _ref$spacingBottom === void 0 ? "2.5rem" : _ref$spacingBottom,
|
|
13263
|
+
fontSize = _ref.fontSize,
|
|
13264
|
+
themeValues = _ref.themeValues,
|
|
13265
|
+
children = _ref.children;
|
|
13266
|
+
var themedFontSize = variant === "small" ? "1.25rem" : variant === "default" ? "1.375rem" : "2rem";
|
|
13267
|
+
var computedFontSize = fontSize || themedFontSize;
|
|
13268
|
+
var themedElemType = variant === "small" ? "h6" : variant === "default" ? "h5" : "h2";
|
|
13269
|
+
var computedElemType = as || themedElemType;
|
|
13270
|
+
var disabledStyles = "opacity: 0.40;";
|
|
13271
|
+
var headingText = /*#__PURE__*/React.createElement(Title$1, {
|
|
13272
|
+
weight: themeValues.fontWeight,
|
|
13273
|
+
color: themeValues.fontColor,
|
|
13274
|
+
margin: "".concat(spacing, " 0 ").concat(themeValues.titleSpacing, " 0"),
|
|
13275
|
+
textAlign: themeValues.textAlign,
|
|
13276
|
+
as: computedElemType,
|
|
13277
|
+
extraStyles: "font-size: ".concat(computedFontSize, ";"),
|
|
13278
|
+
id: titleID
|
|
13279
|
+
}, heading);
|
|
13280
|
+
return /*#__PURE__*/React.createElement(Box, {
|
|
13281
|
+
"aria-disabled": disabled,
|
|
13282
|
+
extraStyles: disabled && disabledStyles,
|
|
13283
|
+
padding: "0",
|
|
13284
|
+
role: "group"
|
|
13285
|
+
}, heading && !rightTitleContent && headingText, heading && rightTitleContent && /*#__PURE__*/React.createElement(Cluster, {
|
|
13286
|
+
justify: "space-between",
|
|
13287
|
+
align: "center",
|
|
13288
|
+
nowrap: true
|
|
13289
|
+
}, headingText, rightTitleContent), /*#__PURE__*/React.createElement(Box, {
|
|
13290
|
+
padding: "0 0 ".concat(spacingBottom),
|
|
13291
|
+
extraStyles: "margin: ".concat(margin)
|
|
13292
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
13293
|
+
padding: padding,
|
|
13294
|
+
background: themeValues.backgroundColor,
|
|
13295
|
+
borderRadius: themeValues.borderRadius,
|
|
13296
|
+
boxShadow: themeValues.boxShadow
|
|
13297
|
+
}, children)));
|
|
13298
|
+
};
|
|
13299
|
+
var Module$1 = /*#__PURE__*/memo(themeComponent(Module, "Module", fallbackValues$3, "default"));
|
|
13300
|
+
|
|
13056
13301
|
var WalletName = function WalletName(_ref) {
|
|
13057
13302
|
var _ref$variant = _ref.variant,
|
|
13058
13303
|
personName = _ref.personName,
|
|
@@ -13065,14 +13310,27 @@ var WalletName = function WalletName(_ref) {
|
|
|
13065
13310
|
themeValues = _ref.themeValues;
|
|
13066
13311
|
var themeContext = useContext(ThemeContext);
|
|
13067
13312
|
var isMobile = themeContext.isMobile;
|
|
13068
|
-
return /*#__PURE__*/React.createElement(
|
|
13069
|
-
|
|
13313
|
+
return /*#__PURE__*/React.createElement(Fragment$1, null, /*#__PURE__*/React.createElement(Module$1, {
|
|
13314
|
+
spacingBottom: isMobile ? "0" : "1.5rem"
|
|
13315
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
13316
|
+
padding: "24px",
|
|
13317
|
+
spacingBottom: "0",
|
|
13318
|
+
margin: "0 0 0 0",
|
|
13070
13319
|
extraStyles: isMobile ? "display: flex; flex-direction: column; flex-wrap: wrap; \n span {text - align: right;}" : "display: flex; justify-content: space-between; align-items: center;"
|
|
13071
13320
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
13321
|
+
padding: "0 0 0"
|
|
13322
|
+
}, /*#__PURE__*/React.createElement(Text$1, null, personName)), !isMobile && /*#__PURE__*/React.createElement(Box, {
|
|
13072
13323
|
padding: "0"
|
|
13073
|
-
}, /*#__PURE__*/React.createElement(Text$1,
|
|
13324
|
+
}, /*#__PURE__*/React.createElement(Text$1, {
|
|
13325
|
+
extraStyles: "font-size: 12px"
|
|
13326
|
+
}, text), /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
13327
|
+
text: actionText,
|
|
13328
|
+
action: action,
|
|
13329
|
+
variant: "smallGhost",
|
|
13330
|
+
extraStyles: "span {font-size: 12px;}"
|
|
13331
|
+
})))), isMobile && /*#__PURE__*/React.createElement(Box, {
|
|
13074
13332
|
padding: "0",
|
|
13075
|
-
extraStyles:
|
|
13333
|
+
extraStyles: "display: flex; align-items: center; justify-content: flex-end;"
|
|
13076
13334
|
}, /*#__PURE__*/React.createElement(Text$1, {
|
|
13077
13335
|
extraStyles: "font-size: 12px"
|
|
13078
13336
|
}, text), /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
@@ -13104,7 +13362,7 @@ var singleIconColor = {
|
|
|
13104
13362
|
secondary: "".concat(BRIGHT_GREY),
|
|
13105
13363
|
darkMode: "".concat(WHITE)
|
|
13106
13364
|
};
|
|
13107
|
-
var fallbackValues$
|
|
13365
|
+
var fallbackValues$5 = {
|
|
13108
13366
|
primaryColor: primaryColor,
|
|
13109
13367
|
accentColor: accentColor,
|
|
13110
13368
|
subIconColor: subIconColor,
|
|
@@ -13143,7 +13401,7 @@ var AccountsIcon = function AccountsIcon(_ref) {
|
|
|
13143
13401
|
mask: "url(#b)"
|
|
13144
13402
|
})));
|
|
13145
13403
|
};
|
|
13146
|
-
var AccountsIcon$1 = themeComponent(AccountsIcon, "Icons", fallbackValues$
|
|
13404
|
+
var AccountsIcon$1 = themeComponent(AccountsIcon, "Icons", fallbackValues$5, "info");
|
|
13147
13405
|
|
|
13148
13406
|
// Fill color based on default "success" variant color
|
|
13149
13407
|
var AutopayIcon = function AutopayIcon(_ref) {
|
|
@@ -13214,7 +13472,7 @@ var AccountsAddIcon = function AccountsAddIcon(_ref) {
|
|
|
13214
13472
|
mask: "url(#b)"
|
|
13215
13473
|
})));
|
|
13216
13474
|
};
|
|
13217
|
-
var AccountsAddIcon$1 = themeComponent(AccountsAddIcon, "Icons", fallbackValues$
|
|
13475
|
+
var AccountsAddIcon$1 = themeComponent(AccountsAddIcon, "Icons", fallbackValues$5, "info");
|
|
13218
13476
|
|
|
13219
13477
|
var ForgotPasswordIcon = function ForgotPasswordIcon(_ref) {
|
|
13220
13478
|
var themeValues = _ref.themeValues;
|
|
@@ -13251,7 +13509,7 @@ var ForgotPasswordIcon = function ForgotPasswordIcon(_ref) {
|
|
|
13251
13509
|
xlinkHref: "#prefix__c"
|
|
13252
13510
|
})));
|
|
13253
13511
|
};
|
|
13254
|
-
var ForgotPasswordIcon$1 = themeComponent(ForgotPasswordIcon, "Icons", fallbackValues$
|
|
13512
|
+
var ForgotPasswordIcon$1 = themeComponent(ForgotPasswordIcon, "Icons", fallbackValues$5, "info");
|
|
13255
13513
|
|
|
13256
13514
|
var GoToEmailIcon = function GoToEmailIcon(_ref) {
|
|
13257
13515
|
var themeValues = _ref.themeValues;
|
|
@@ -13280,7 +13538,7 @@ var GoToEmailIcon = function GoToEmailIcon(_ref) {
|
|
|
13280
13538
|
mask: "url(#prefix__b)"
|
|
13281
13539
|
})));
|
|
13282
13540
|
};
|
|
13283
|
-
var GoToEmailIcon$1 = themeComponent(GoToEmailIcon, "Icons", fallbackValues$
|
|
13541
|
+
var GoToEmailIcon$1 = themeComponent(GoToEmailIcon, "Icons", fallbackValues$5, "info");
|
|
13284
13542
|
|
|
13285
13543
|
var VerifiedEmailIcon = function VerifiedEmailIcon(_ref) {
|
|
13286
13544
|
var themeValues = _ref.themeValues;
|
|
@@ -13323,7 +13581,7 @@ var VerifiedEmailIcon = function VerifiedEmailIcon(_ref) {
|
|
|
13323
13581
|
xlinkHref: "#prefix__d"
|
|
13324
13582
|
})));
|
|
13325
13583
|
};
|
|
13326
|
-
var VerifiedEmailIcon$1 = themeComponent(VerifiedEmailIcon, "Icons", fallbackValues$
|
|
13584
|
+
var VerifiedEmailIcon$1 = themeComponent(VerifiedEmailIcon, "Icons", fallbackValues$5, "info");
|
|
13327
13585
|
|
|
13328
13586
|
var PaymentMethodIcon = function PaymentMethodIcon(_ref) {
|
|
13329
13587
|
var themeValues = _ref.themeValues;
|
|
@@ -13357,7 +13615,7 @@ var PaymentMethodIcon = function PaymentMethodIcon(_ref) {
|
|
|
13357
13615
|
mask: "url(#b)"
|
|
13358
13616
|
})));
|
|
13359
13617
|
};
|
|
13360
|
-
var PaymentMethodIcon$1 = themeComponent(PaymentMethodIcon, "Icons", fallbackValues$
|
|
13618
|
+
var PaymentMethodIcon$1 = themeComponent(PaymentMethodIcon, "Icons", fallbackValues$5, "info");
|
|
13361
13619
|
|
|
13362
13620
|
var AccountsIconSmall = function AccountsIconSmall(_ref) {
|
|
13363
13621
|
var themeValues = _ref.themeValues;
|
|
@@ -13395,7 +13653,7 @@ var AccountsIconSmall = function AccountsIconSmall(_ref) {
|
|
|
13395
13653
|
mask: "url(#mask-2-accountssmall)"
|
|
13396
13654
|
}))))))));
|
|
13397
13655
|
};
|
|
13398
|
-
var AccountsIconSmall$1 = themeComponent(AccountsIconSmall, "Icons", fallbackValues$
|
|
13656
|
+
var AccountsIconSmall$1 = themeComponent(AccountsIconSmall, "Icons", fallbackValues$5, "primary");
|
|
13399
13657
|
|
|
13400
13658
|
var PaymentsIconSmall = function PaymentsIconSmall(_ref) {
|
|
13401
13659
|
var themeValues = _ref.themeValues;
|
|
@@ -13445,7 +13703,7 @@ var PaymentsIconSmall = function PaymentsIconSmall(_ref) {
|
|
|
13445
13703
|
mask: "url(#mask-2-paymentssmall)"
|
|
13446
13704
|
}))))))));
|
|
13447
13705
|
};
|
|
13448
|
-
var PaymentsIconSmall$1 = themeComponent(PaymentsIconSmall, "Icons", fallbackValues$
|
|
13706
|
+
var PaymentsIconSmall$1 = themeComponent(PaymentsIconSmall, "Icons", fallbackValues$5, "primary");
|
|
13449
13707
|
|
|
13450
13708
|
var PaymentMethodAddIcon = function PaymentMethodAddIcon(_ref) {
|
|
13451
13709
|
var themeValues = _ref.themeValues;
|
|
@@ -13508,7 +13766,7 @@ var PaymentMethodAddIcon = function PaymentMethodAddIcon(_ref) {
|
|
|
13508
13766
|
d: "M0 0H21V21H0z"
|
|
13509
13767
|
})))))));
|
|
13510
13768
|
};
|
|
13511
|
-
var PaymentMethodAddIcon$1 = themeComponent(PaymentMethodAddIcon, "Icons", fallbackValues$
|
|
13769
|
+
var PaymentMethodAddIcon$1 = themeComponent(PaymentMethodAddIcon, "Icons", fallbackValues$5, "info");
|
|
13512
13770
|
|
|
13513
13771
|
var ProfileIconSmall = function ProfileIconSmall(_ref) {
|
|
13514
13772
|
var themeValues = _ref.themeValues;
|
|
@@ -13536,7 +13794,7 @@ var ProfileIconSmall = function ProfileIconSmall(_ref) {
|
|
|
13536
13794
|
id: "user-circle"
|
|
13537
13795
|
})))));
|
|
13538
13796
|
};
|
|
13539
|
-
var ProfileIconSmall$1 = themeComponent(ProfileIconSmall, "Icons", fallbackValues$
|
|
13797
|
+
var ProfileIconSmall$1 = themeComponent(ProfileIconSmall, "Icons", fallbackValues$5, "primary");
|
|
13540
13798
|
|
|
13541
13799
|
var SettingsIconSmall = function SettingsIconSmall(_ref) {
|
|
13542
13800
|
var themeValues = _ref.themeValues;
|
|
@@ -13586,7 +13844,7 @@ var SettingsIconSmall = function SettingsIconSmall(_ref) {
|
|
|
13586
13844
|
mask: "url(#mask-2-paymentssmall)"
|
|
13587
13845
|
}))))))));
|
|
13588
13846
|
};
|
|
13589
|
-
var SettingsIconSmall$1 = themeComponent(SettingsIconSmall, "Icons", fallbackValues$
|
|
13847
|
+
var SettingsIconSmall$1 = themeComponent(SettingsIconSmall, "Icons", fallbackValues$5, "primary");
|
|
13590
13848
|
|
|
13591
13849
|
var WalletIconSmall = function WalletIconSmall(_ref) {
|
|
13592
13850
|
var themeValues = _ref.themeValues,
|
|
@@ -13626,7 +13884,7 @@ var WalletIconSmall = function WalletIconSmall(_ref) {
|
|
|
13626
13884
|
fill: themeValues.singleIconColor
|
|
13627
13885
|
})));
|
|
13628
13886
|
};
|
|
13629
|
-
var WalletIconSmall$1 = themeComponent(WalletIconSmall, "Icons", fallbackValues$
|
|
13887
|
+
var WalletIconSmall$1 = themeComponent(WalletIconSmall, "Icons", fallbackValues$5, "primary");
|
|
13630
13888
|
|
|
13631
13889
|
var ChevronIcon = function ChevronIcon(_ref) {
|
|
13632
13890
|
var themeValues = _ref.themeValues,
|
|
@@ -13667,7 +13925,7 @@ var ChevronIcon = function ChevronIcon(_ref) {
|
|
|
13667
13925
|
height: "24"
|
|
13668
13926
|
}))));
|
|
13669
13927
|
};
|
|
13670
|
-
var ChevronIcon$1 = themeComponent(ChevronIcon, "Icons", fallbackValues$
|
|
13928
|
+
var ChevronIcon$1 = themeComponent(ChevronIcon, "Icons", fallbackValues$5, "secondary");
|
|
13671
13929
|
|
|
13672
13930
|
var PropertiesAddIcon = function PropertiesAddIcon(_ref) {
|
|
13673
13931
|
var themeValues = _ref.themeValues;
|
|
@@ -13735,7 +13993,7 @@ var PropertiesAddIcon = function PropertiesAddIcon(_ref) {
|
|
|
13735
13993
|
d: "M0 0h21v21H0z"
|
|
13736
13994
|
})))))));
|
|
13737
13995
|
};
|
|
13738
|
-
var PropertiesAddIcon$1 = themeComponent(PropertiesAddIcon, "Icons", fallbackValues$
|
|
13996
|
+
var PropertiesAddIcon$1 = themeComponent(PropertiesAddIcon, "Icons", fallbackValues$5, "info");
|
|
13739
13997
|
|
|
13740
13998
|
var PropertiesIconSmall = function PropertiesIconSmall(_ref) {
|
|
13741
13999
|
var themeValues = _ref.themeValues;
|
|
@@ -13761,7 +14019,7 @@ var PropertiesIconSmall = function PropertiesIconSmall(_ref) {
|
|
|
13761
14019
|
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"
|
|
13762
14020
|
})));
|
|
13763
14021
|
};
|
|
13764
|
-
var PropertiesIconSmall$1 = themeComponent(PropertiesIconSmall, "Icons", fallbackValues$
|
|
14022
|
+
var PropertiesIconSmall$1 = themeComponent(PropertiesIconSmall, "Icons", fallbackValues$5, "primary");
|
|
13765
14023
|
|
|
13766
14024
|
var AccountNumberImage = function AccountNumberImage() {
|
|
13767
14025
|
return /*#__PURE__*/React.createElement("svg", {
|
|
@@ -14783,7 +15041,7 @@ var WalletIcon = function WalletIcon(_ref) {
|
|
|
14783
15041
|
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"
|
|
14784
15042
|
}))));
|
|
14785
15043
|
};
|
|
14786
|
-
var WalletIcon$1 = themeComponent(WalletIcon, "Icons", fallbackValues$
|
|
15044
|
+
var WalletIcon$1 = themeComponent(WalletIcon, "Icons", fallbackValues$5, "info");
|
|
14787
15045
|
|
|
14788
15046
|
var AchReturnIcon = function AchReturnIcon() {
|
|
14789
15047
|
return /*#__PURE__*/React.createElement("svg", {
|
|
@@ -15033,7 +15291,7 @@ var PencilIcon = function PencilIcon(_ref) {
|
|
|
15033
15291
|
fill: themeValues.subIconColor
|
|
15034
15292
|
}));
|
|
15035
15293
|
};
|
|
15036
|
-
var PencilIcon$1 = themeComponent(PencilIcon, "Icons", fallbackValues$
|
|
15294
|
+
var PencilIcon$1 = themeComponent(PencilIcon, "Icons", fallbackValues$5, "info");
|
|
15037
15295
|
|
|
15038
15296
|
var PendingIcon = function PendingIcon(_ref) {
|
|
15039
15297
|
var _ref$fill = _ref.fill,
|
|
@@ -15244,7 +15502,7 @@ var CarrotIcon = function CarrotIcon(_ref) {
|
|
|
15244
15502
|
d: "M0 0H24V24H0z"
|
|
15245
15503
|
}))))))));
|
|
15246
15504
|
};
|
|
15247
|
-
var CarrotIcon$1 = themeComponent(CarrotIcon, "Icons", fallbackValues$
|
|
15505
|
+
var CarrotIcon$1 = themeComponent(CarrotIcon, "Icons", fallbackValues$5, "darkMode");
|
|
15248
15506
|
|
|
15249
15507
|
var ProfileIcon = function ProfileIcon(_ref) {
|
|
15250
15508
|
var themeValues = _ref.themeValues;
|
|
@@ -15281,7 +15539,7 @@ var ProfileIcon = function ProfileIcon(_ref) {
|
|
|
15281
15539
|
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"
|
|
15282
15540
|
}))));
|
|
15283
15541
|
};
|
|
15284
|
-
var ProfileIcon$1 = themeComponent(ProfileIcon, "Icons", fallbackValues$
|
|
15542
|
+
var ProfileIcon$1 = themeComponent(ProfileIcon, "Icons", fallbackValues$5, "info");
|
|
15285
15543
|
|
|
15286
15544
|
var GenericCardLarge = function GenericCardLarge() {
|
|
15287
15545
|
return /*#__PURE__*/React.createElement("svg", {
|
|
@@ -15343,7 +15601,7 @@ var EmptyCartIcon = function EmptyCartIcon(_ref) {
|
|
|
15343
15601
|
fillRule: "nonzero"
|
|
15344
15602
|
})));
|
|
15345
15603
|
};
|
|
15346
|
-
var EmptyCartIcon$1 = themeComponent(EmptyCartIcon, "Icons", fallbackValues$
|
|
15604
|
+
var EmptyCartIcon$1 = themeComponent(EmptyCartIcon, "Icons", fallbackValues$5, "info");
|
|
15347
15605
|
|
|
15348
15606
|
var ShoppingCartIcon = function ShoppingCartIcon() {
|
|
15349
15607
|
return /*#__PURE__*/React.createElement("svg", {
|
|
@@ -15415,7 +15673,7 @@ var TrashIcon = function TrashIcon(_ref) {
|
|
|
15415
15673
|
points: "0 0 20 0 20 20 0 20"
|
|
15416
15674
|
})));
|
|
15417
15675
|
};
|
|
15418
|
-
var TrashIcon$1 = themeComponent(TrashIcon, "Icons", fallbackValues$
|
|
15676
|
+
var TrashIcon$1 = themeComponent(TrashIcon, "Icons", fallbackValues$5, "primary");
|
|
15419
15677
|
|
|
15420
15678
|
var NoCustomerResultsIcon = function NoCustomerResultsIcon() {
|
|
15421
15679
|
return /*#__PURE__*/React.createElement("svg", {
|
|
@@ -16007,7 +16265,7 @@ var WalletBannerIcon = function WalletBannerIcon(_ref) {
|
|
|
16007
16265
|
fill: "white"
|
|
16008
16266
|
}));
|
|
16009
16267
|
};
|
|
16010
|
-
var WalletBannerIcon$1 = themeComponent(WalletBannerIcon, "Icons", fallbackValues$
|
|
16268
|
+
var WalletBannerIcon$1 = themeComponent(WalletBannerIcon, "Icons", fallbackValues$5, "primary");
|
|
16011
16269
|
|
|
16012
16270
|
var StandardCheckoutImage = function StandardCheckoutImage() {
|
|
16013
16271
|
return /*#__PURE__*/React.createElement("svg", {
|
|
@@ -17518,7 +17776,7 @@ var FindIconSmall = function FindIconSmall(_ref) {
|
|
|
17518
17776
|
fill: themeValues.singleIconColor
|
|
17519
17777
|
})));
|
|
17520
17778
|
};
|
|
17521
|
-
var FindIconSmall$1 = themeComponent(FindIconSmall, "Icons", fallbackValues$
|
|
17779
|
+
var FindIconSmall$1 = themeComponent(FindIconSmall, "Icons", fallbackValues$5, "primary");
|
|
17522
17780
|
|
|
17523
17781
|
var HistoryIconSmall = function HistoryIconSmall(_ref) {
|
|
17524
17782
|
var themeValues = _ref.themeValues;
|
|
@@ -17543,7 +17801,7 @@ var HistoryIconSmall = function HistoryIconSmall(_ref) {
|
|
|
17543
17801
|
fill: themeValues.singleIconColor
|
|
17544
17802
|
}));
|
|
17545
17803
|
};
|
|
17546
|
-
var HistoryIconSmall$1 = themeComponent(HistoryIconSmall, "Icons", fallbackValues$
|
|
17804
|
+
var HistoryIconSmall$1 = themeComponent(HistoryIconSmall, "Icons", fallbackValues$5, "primary");
|
|
17547
17805
|
|
|
17548
17806
|
var ChargebackIconSmall = function ChargebackIconSmall(_ref) {
|
|
17549
17807
|
var _ref$color = _ref.color,
|
|
@@ -18364,7 +18622,7 @@ var KebabMenuIcon = function KebabMenuIcon() {
|
|
|
18364
18622
|
}));
|
|
18365
18623
|
};
|
|
18366
18624
|
|
|
18367
|
-
var _excluded$
|
|
18625
|
+
var _excluded$j = ["iconFill", "iconWidth", "iconHeight"];
|
|
18368
18626
|
var MultiCartIcon = function MultiCartIcon(_ref) {
|
|
18369
18627
|
var _ref$iconFill = _ref.iconFill,
|
|
18370
18628
|
iconFill = _ref$iconFill === void 0 ? "#3B5BDB" : _ref$iconFill,
|
|
@@ -18372,7 +18630,7 @@ var MultiCartIcon = function MultiCartIcon(_ref) {
|
|
|
18372
18630
|
iconWidth = _ref$iconWidth === void 0 ? "20" : _ref$iconWidth,
|
|
18373
18631
|
_ref$iconHeight = _ref.iconHeight,
|
|
18374
18632
|
iconHeight = _ref$iconHeight === void 0 ? "17" : _ref$iconHeight,
|
|
18375
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
18633
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
18376
18634
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
18377
18635
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18378
18636
|
width: iconWidth,
|
|
@@ -18386,7 +18644,7 @@ var MultiCartIcon = function MultiCartIcon(_ref) {
|
|
|
18386
18644
|
}));
|
|
18387
18645
|
};
|
|
18388
18646
|
|
|
18389
|
-
var _excluded$
|
|
18647
|
+
var _excluded$k = ["iconFill", "iconWidth", "iconHeight"];
|
|
18390
18648
|
var CloseIcon = function CloseIcon(_ref) {
|
|
18391
18649
|
var _ref$iconFill = _ref.iconFill,
|
|
18392
18650
|
iconFill = _ref$iconFill === void 0 ? "#3B414D" : _ref$iconFill,
|
|
@@ -18394,7 +18652,7 @@ var CloseIcon = function CloseIcon(_ref) {
|
|
|
18394
18652
|
iconWidth = _ref$iconWidth === void 0 ? "24" : _ref$iconWidth,
|
|
18395
18653
|
_ref$iconHeight = _ref.iconHeight,
|
|
18396
18654
|
iconHeight = _ref$iconHeight === void 0 ? "24" : _ref$iconHeight,
|
|
18397
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
18655
|
+
rest = _objectWithoutProperties(_ref, _excluded$k);
|
|
18398
18656
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
18399
18657
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18400
18658
|
width: iconWidth,
|
|
@@ -18462,12 +18720,12 @@ var TrashIconV2 = function TrashIconV2(_ref) {
|
|
|
18462
18720
|
mask: "url(#mask0_4292_11876)"
|
|
18463
18721
|
}));
|
|
18464
18722
|
};
|
|
18465
|
-
var TrashIconV2$1 = themeComponent(TrashIconV2, "Icons", fallbackValues$
|
|
18723
|
+
var TrashIconV2$1 = themeComponent(TrashIconV2, "Icons", fallbackValues$5, "primary");
|
|
18466
18724
|
|
|
18467
18725
|
var color$2 = "#15749D";
|
|
18468
18726
|
var hoverColor$1 = "#116285";
|
|
18469
18727
|
var activeColor$1 = "#0E506D";
|
|
18470
|
-
var fallbackValues$
|
|
18728
|
+
var fallbackValues$6 = {
|
|
18471
18729
|
color: color$2,
|
|
18472
18730
|
hoverColor: hoverColor$1,
|
|
18473
18731
|
activeColor: activeColor$1
|
|
@@ -18508,7 +18766,7 @@ var AddObligation = function AddObligation(_ref) {
|
|
|
18508
18766
|
tabIndex: "-1"
|
|
18509
18767
|
})))));
|
|
18510
18768
|
};
|
|
18511
|
-
var AddObligation$1 = themeComponent(AddObligation, "AddObligation", fallbackValues$
|
|
18769
|
+
var AddObligation$1 = themeComponent(AddObligation, "AddObligation", fallbackValues$6);
|
|
18512
18770
|
|
|
18513
18771
|
var IconChevron = function IconChevron(_ref) {
|
|
18514
18772
|
var _ref$fill = _ref.fill,
|
|
@@ -18897,7 +19155,7 @@ var link = {
|
|
|
18897
19155
|
error: "".concat(SCIENCE_BLUE),
|
|
18898
19156
|
success: "".concat(SCIENCE_BLUE)
|
|
18899
19157
|
};
|
|
18900
|
-
var fallbackValues$
|
|
19158
|
+
var fallbackValues$7 = {
|
|
18901
19159
|
background: background,
|
|
18902
19160
|
border: border$1,
|
|
18903
19161
|
iconBackground: iconBackground,
|
|
@@ -19056,126 +19314,10 @@ var Alert = function Alert(_ref) {
|
|
|
19056
19314
|
maxWidth: maxContentWidth
|
|
19057
19315
|
}, content) : content);
|
|
19058
19316
|
};
|
|
19059
|
-
var Alert$1 = themeComponent(Alert, "Alert", fallbackValues$
|
|
19060
|
-
|
|
19061
|
-
var TitleText = styled.h1.withConfig({
|
|
19062
|
-
displayName: "Titlestyled__TitleText",
|
|
19063
|
-
componentId: "sc-11lhluq-0"
|
|
19064
|
-
})(["font-size:", ";line-height:1.5;color:", ";font-weight:", ";margin:", ";text-align:", ";font-family:", ";", ";"], function (_ref) {
|
|
19065
|
-
var fontSize = _ref.fontSize;
|
|
19066
|
-
return fontSize;
|
|
19067
|
-
}, function (_ref2) {
|
|
19068
|
-
var color = _ref2.color;
|
|
19069
|
-
return color;
|
|
19070
|
-
}, function (_ref3) {
|
|
19071
|
-
var weight = _ref3.weight;
|
|
19072
|
-
return weight;
|
|
19073
|
-
}, function (_ref4) {
|
|
19074
|
-
var margin = _ref4.margin;
|
|
19075
|
-
return margin;
|
|
19076
|
-
}, function (_ref5) {
|
|
19077
|
-
var textAlign = _ref5.textAlign;
|
|
19078
|
-
return textAlign;
|
|
19079
|
-
}, function (_ref6) {
|
|
19080
|
-
var fontFamily = _ref6.fontFamily;
|
|
19081
|
-
return fontFamily;
|
|
19082
|
-
}, function (_ref7) {
|
|
19083
|
-
var extraStyles = _ref7.extraStyles;
|
|
19084
|
-
return extraStyles;
|
|
19085
|
-
});
|
|
19086
|
-
|
|
19087
|
-
// Comments assume desktop base font size of 16px, mobile base font size of 14px
|
|
19088
|
-
|
|
19089
|
-
var fontSize$1 = {
|
|
19090
|
-
large: "1.5rem",
|
|
19091
|
-
// 24px (at base font size of 16px)
|
|
19092
|
-
small: "1.25rem" // 20px
|
|
19093
|
-
};
|
|
19094
|
-
var fontFamily$1 = {
|
|
19095
|
-
large: "Public Sans",
|
|
19096
|
-
small: "Public Sans"
|
|
19097
|
-
};
|
|
19098
|
-
var mobileFontSize = {
|
|
19099
|
-
large: "1.5rem",
|
|
19100
|
-
// 21px (at base font size of 14px)
|
|
19101
|
-
small: "1.2142rem" // 17px
|
|
19102
|
-
};
|
|
19103
|
-
var fallbackValues$6 = {
|
|
19104
|
-
fontFamily: fontFamily$1,
|
|
19105
|
-
fontSize: fontSize$1
|
|
19106
|
-
};
|
|
19107
|
-
var mobileFallbackValues = {
|
|
19108
|
-
fontFamily: fontFamily$1,
|
|
19109
|
-
fontSize: mobileFontSize
|
|
19110
|
-
};
|
|
19111
|
-
var MOBILE_BREAKPOINT = 768;
|
|
19112
|
-
|
|
19113
|
-
var _excluded$k = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
19114
|
-
|
|
19115
|
-
/*
|
|
19116
|
-
New responsive text component for Title elements
|
|
19117
|
-
Size is decoupled from tag
|
|
19118
|
-
Comes with two variants - "large" and "small"
|
|
19119
|
-
Large variant results in text that is 1.5rem (24px desktop, 21px mobile)
|
|
19120
|
-
Small variant results in text that is 1.25rem/1.2142rem (20px desktop, 17px mobile)
|
|
19121
|
-
|
|
19122
|
-
If you need a smaller text size, use the <Detail /> atom, which has smaller variants
|
|
19123
|
-
|
|
19124
|
-
Use the "as" prop to specify element type, can use any of: h1/h2/h3/h4/h5/h6/p
|
|
19125
|
-
If you need an inline text element (span), use the <Text /> atom
|
|
19126
|
-
The "as" value should be dictated by the structure of your page, not what font-size you want
|
|
19127
|
-
|
|
19128
|
-
Title / Detail both use slightly different desktop/mobile scales
|
|
19129
|
-
(Mobile scale is different to allow for design-friendly px values)
|
|
19130
|
-
Both atoms detect the presence of a mobile device on their own
|
|
19131
|
-
and apply the corresponding scale
|
|
19132
|
-
|
|
19133
|
-
Mobile breakpoint value is specified in Title.theme.js
|
|
19134
|
-
|
|
19135
|
-
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
|
|
19136
|
-
*/
|
|
19137
|
-
|
|
19138
|
-
var isBelowBreakpoint = window.innerWidth < MOBILE_BREAKPOINT;
|
|
19139
|
-
var isTouchDevice$1 = "ontouchstart" in window || navigator.maxTouchPoints > 1;
|
|
19140
|
-
var mobileDeviceDetected = isBelowBreakpoint && isTouchDevice$1;
|
|
19141
|
-
var fallbacks = mobileDeviceDetected ? mobileFallbackValues : fallbackValues$6;
|
|
19142
|
-
var Title = function Title(_ref) {
|
|
19143
|
-
var themeValues = _ref.themeValues,
|
|
19144
|
-
_ref$weight = _ref.weight,
|
|
19145
|
-
weight = _ref$weight === void 0 ? FONT_WEIGHT_REGULAR : _ref$weight,
|
|
19146
|
-
_ref$color = _ref.color,
|
|
19147
|
-
color = _ref$color === void 0 ? FIREFLY_GREY : _ref$color,
|
|
19148
|
-
_ref$margin = _ref.margin,
|
|
19149
|
-
margin = _ref$margin === void 0 ? 0 : _ref$margin,
|
|
19150
|
-
textAlign = _ref.textAlign,
|
|
19151
|
-
_ref$extraStyles = _ref.extraStyles,
|
|
19152
|
-
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
|
|
19153
|
-
className = _ref.className,
|
|
19154
|
-
_ref$variant = _ref.variant,
|
|
19155
|
-
variant = _ref$variant === void 0 ? "large" : _ref$variant,
|
|
19156
|
-
_ref$as = _ref.as,
|
|
19157
|
-
as = _ref$as === void 0 ? "h1" : _ref$as,
|
|
19158
|
-
dataQa = _ref.dataQa,
|
|
19159
|
-
children = _ref.children,
|
|
19160
|
-
rest = _objectWithoutProperties(_ref, _excluded$k);
|
|
19161
|
-
return /*#__PURE__*/React.createElement(TitleText, _extends({
|
|
19162
|
-
variant: variant,
|
|
19163
|
-
as: as,
|
|
19164
|
-
weight: weight,
|
|
19165
|
-
color: color,
|
|
19166
|
-
margin: margin,
|
|
19167
|
-
textAlign: textAlign,
|
|
19168
|
-
extraStyles: extraStyles,
|
|
19169
|
-
className: className,
|
|
19170
|
-
fontFamily: themeValues.fontFamily,
|
|
19171
|
-
fontSize: themeValues.fontSize,
|
|
19172
|
-
"data-qa": dataQa
|
|
19173
|
-
}, rest), safeChildren(children, /*#__PURE__*/React.createElement("span", null)));
|
|
19174
|
-
};
|
|
19175
|
-
var Title$1 = themeComponent(Title, "Title", fallbacks, "large");
|
|
19317
|
+
var Alert$1 = themeComponent(Alert, "Alert", fallbackValues$7, "info");
|
|
19176
19318
|
|
|
19177
19319
|
var color$3 = "#292A33";
|
|
19178
|
-
var fallbackValues$
|
|
19320
|
+
var fallbackValues$8 = {
|
|
19179
19321
|
color: color$3
|
|
19180
19322
|
};
|
|
19181
19323
|
|
|
@@ -19193,7 +19335,7 @@ var AmountCallout = function AmountCallout(_ref) {
|
|
|
19193
19335
|
as: "p"
|
|
19194
19336
|
}, amount));
|
|
19195
19337
|
};
|
|
19196
|
-
var AmountCallout$1 = themeComponent(AmountCallout, "AmountCallout", fallbackValues$
|
|
19338
|
+
var AmountCallout$1 = themeComponent(AmountCallout, "AmountCallout", fallbackValues$8);
|
|
19197
19339
|
|
|
19198
19340
|
var background$1 = {
|
|
19199
19341
|
info: "".concat(INFO_BLUE),
|
|
@@ -19209,7 +19351,7 @@ var color$4 = {
|
|
|
19209
19351
|
success: "".concat(SEA_GREEN),
|
|
19210
19352
|
disabled: "".concat(MANATEE_GREY)
|
|
19211
19353
|
};
|
|
19212
|
-
var fallbackValues$
|
|
19354
|
+
var fallbackValues$9 = {
|
|
19213
19355
|
background: background$1,
|
|
19214
19356
|
color: color$4
|
|
19215
19357
|
};
|
|
@@ -19240,7 +19382,7 @@ var Badge = function Badge(_ref) {
|
|
|
19240
19382
|
fill: themeValues.color
|
|
19241
19383
|
}));
|
|
19242
19384
|
};
|
|
19243
|
-
var Badge$1 = themeComponent(Badge, "Badge", fallbackValues$
|
|
19385
|
+
var Badge$1 = themeComponent(Badge, "Badge", fallbackValues$9, "success");
|
|
19244
19386
|
|
|
19245
19387
|
function _extends$1() {
|
|
19246
19388
|
_extends$1 = Object.assign ? Object.assign.bind() : function (target) {
|
|
@@ -20581,7 +20723,7 @@ function transparentize(amount, color) {
|
|
|
20581
20723
|
var curriedTransparentize = curry /* ::<number | string, string, string> */(transparentize);
|
|
20582
20724
|
|
|
20583
20725
|
var linkColor = MATISSE_BLUE;
|
|
20584
|
-
var fallbackValues$
|
|
20726
|
+
var fallbackValues$a = {
|
|
20585
20727
|
linkColor: linkColor
|
|
20586
20728
|
};
|
|
20587
20729
|
|
|
@@ -20605,7 +20747,7 @@ var BoxWithShadow = function BoxWithShadow(_ref) {
|
|
|
20605
20747
|
boxShadow: shadowRegistry[variant]
|
|
20606
20748
|
}, props), children);
|
|
20607
20749
|
};
|
|
20608
|
-
var BoxWithShadow$1 = themeComponent(BoxWithShadow, "BoxWithShadow", fallbackValues$
|
|
20750
|
+
var BoxWithShadow$1 = themeComponent(BoxWithShadow, "BoxWithShadow", fallbackValues$a);
|
|
20609
20751
|
|
|
20610
20752
|
// import theme from "styled-theming";
|
|
20611
20753
|
var MATISSE_BLUE$2 = MATISSE_BLUE,
|
|
@@ -20620,18 +20762,18 @@ var LINK_TEXT_DECORATION$2 = LINK_TEXT_DECORATION;
|
|
|
20620
20762
|
var color$5 = "".concat(MATISSE_BLUE$2);
|
|
20621
20763
|
var activeColor$2 = "".concat(STORM_GREY$1);
|
|
20622
20764
|
var activeBreadcrumbColor = "".concat(STORM_GREY$1);
|
|
20623
|
-
var fontSize$
|
|
20624
|
-
var lineHeight = "1.25rem";
|
|
20625
|
-
var fontWeight$
|
|
20765
|
+
var fontSize$3 = "0.875rem";
|
|
20766
|
+
var lineHeight$1 = "1.25rem";
|
|
20767
|
+
var fontWeight$2 = "400";
|
|
20626
20768
|
var margin = "0.5rem";
|
|
20627
20769
|
var hover = "text-decoration: ".concat(LINK_TEXT_DECORATION$2, ";");
|
|
20628
|
-
var fallbackValues$
|
|
20770
|
+
var fallbackValues$b = {
|
|
20629
20771
|
color: color$5,
|
|
20630
20772
|
activeColor: activeColor$2,
|
|
20631
20773
|
activeBreadcrumbColor: activeBreadcrumbColor,
|
|
20632
|
-
fontSize: fontSize$
|
|
20633
|
-
lineHeight: lineHeight,
|
|
20634
|
-
fontWeight: fontWeight$
|
|
20774
|
+
fontSize: fontSize$3,
|
|
20775
|
+
lineHeight: lineHeight$1,
|
|
20776
|
+
fontWeight: fontWeight$2,
|
|
20635
20777
|
margin: margin,
|
|
20636
20778
|
hover: hover
|
|
20637
20779
|
};
|
|
@@ -20643,7 +20785,7 @@ var fontFamily$2 = {
|
|
|
20643
20785
|
var hoverColor$2 = SAPPHIRE_BLUE;
|
|
20644
20786
|
var activeColor$3 = PEACOCK_BLUE;
|
|
20645
20787
|
var externalLinkColor = MATISSE_BLUE;
|
|
20646
|
-
var fallbackValues$
|
|
20788
|
+
var fallbackValues$c = {
|
|
20647
20789
|
fontFamily: fontFamily$2,
|
|
20648
20790
|
hoverColor: hoverColor$2,
|
|
20649
20791
|
activeColor: activeColor$3,
|
|
@@ -20719,7 +20861,7 @@ var ExternalLink = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
20719
20861
|
ariaLabel = _ref.ariaLabel,
|
|
20720
20862
|
children = _ref.children;
|
|
20721
20863
|
var themeContext = useContext(ThemeContext);
|
|
20722
|
-
var themeValues = createThemeValues(themeContext, fallbackValues$
|
|
20864
|
+
var themeValues = createThemeValues(themeContext, fallbackValues$c, "Link", variant);
|
|
20723
20865
|
return /*#__PURE__*/React.createElement(StyledExternalLink, {
|
|
20724
20866
|
href: href,
|
|
20725
20867
|
target: newTab ? "_blank" : "",
|
|
@@ -20812,7 +20954,7 @@ var InternalLink = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
20812
20954
|
_ref$extraStyles = _ref.extraStyles,
|
|
20813
20955
|
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles;
|
|
20814
20956
|
var themeContext = useContext(ThemeContext);
|
|
20815
|
-
var themeValues = createThemeValues(themeContext, fallbackValues$
|
|
20957
|
+
var themeValues = createThemeValues(themeContext, fallbackValues$c, "Link", variant);
|
|
20816
20958
|
return /*#__PURE__*/React.createElement(StyledInternalLink, {
|
|
20817
20959
|
to: to,
|
|
20818
20960
|
color: color,
|
|
@@ -20835,7 +20977,7 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
|
20835
20977
|
var _ref$breadcrumbsList = _ref.breadcrumbsList,
|
|
20836
20978
|
breadcrumbsList = _ref$breadcrumbsList === void 0 ? [] : _ref$breadcrumbsList;
|
|
20837
20979
|
var themeContext = useContext(ThemeContext);
|
|
20838
|
-
var themeValues = createThemeValues(themeContext, fallbackValues$
|
|
20980
|
+
var themeValues = createThemeValues(themeContext, fallbackValues$b, "Breadcrumb");
|
|
20839
20981
|
return /*#__PURE__*/React.createElement(Box, {
|
|
20840
20982
|
padding: "0",
|
|
20841
20983
|
as: "nav",
|
|
@@ -22500,7 +22642,7 @@ var fontFamily$3 = {
|
|
|
22500
22642
|
|
|
22501
22643
|
// Comments assume base font size of 16px
|
|
22502
22644
|
|
|
22503
|
-
var fontSize$
|
|
22645
|
+
var fontSize$4 = {
|
|
22504
22646
|
p: "1rem",
|
|
22505
22647
|
// 16px
|
|
22506
22648
|
pL: "1.125rem",
|
|
@@ -22513,9 +22655,9 @@ var fontSize$3 = {
|
|
|
22513
22655
|
// 10px
|
|
22514
22656
|
pXL: "1.5rem" // 24px
|
|
22515
22657
|
};
|
|
22516
|
-
var fallbackValues$
|
|
22658
|
+
var fallbackValues$d = {
|
|
22517
22659
|
fontFamily: fontFamily$3,
|
|
22518
|
-
fontSize: fontSize$
|
|
22660
|
+
fontSize: fontSize$4
|
|
22519
22661
|
};
|
|
22520
22662
|
|
|
22521
22663
|
var ParagraphText = styled.p.withConfig({
|
|
@@ -22567,12 +22709,12 @@ var Paragraph = function Paragraph(_ref) {
|
|
|
22567
22709
|
"data-qa": dataQa
|
|
22568
22710
|
}, rest), safeChildren(children, /*#__PURE__*/React.createElement("span", null)));
|
|
22569
22711
|
};
|
|
22570
|
-
var Paragraph$1 = themeComponent(Paragraph, "Paragraph", fallbackValues$
|
|
22712
|
+
var Paragraph$1 = themeComponent(Paragraph, "Paragraph", fallbackValues$d, "p");
|
|
22571
22713
|
|
|
22572
|
-
var backgroundColor$
|
|
22714
|
+
var backgroundColor$3 = WHITE;
|
|
22573
22715
|
var iconBackgroundColor = GRECIAN_GREY;
|
|
22574
|
-
var fallbackValues$
|
|
22575
|
-
backgroundColor: backgroundColor$
|
|
22716
|
+
var fallbackValues$e = {
|
|
22717
|
+
backgroundColor: backgroundColor$3,
|
|
22576
22718
|
iconBackgroundColor: iconBackgroundColor
|
|
22577
22719
|
};
|
|
22578
22720
|
|
|
@@ -22702,7 +22844,7 @@ var CardRegistryCard = function CardRegistryCard(_ref2) {
|
|
|
22702
22844
|
extraStyles: "width: 100%;"
|
|
22703
22845
|
}))))));
|
|
22704
22846
|
};
|
|
22705
|
-
var CardRegistryCard$1 = themeComponent(withWindowSize(CardRegistryCard), "CardRegistryCard", fallbackValues$
|
|
22847
|
+
var CardRegistryCard$1 = themeComponent(withWindowSize(CardRegistryCard), "CardRegistryCard", fallbackValues$e);
|
|
22706
22848
|
|
|
22707
22849
|
var cardRegistry = {
|
|
22708
22850
|
accounts: function accounts(props) {
|
|
@@ -22734,7 +22876,7 @@ var cardRegistry = {
|
|
|
22734
22876
|
}
|
|
22735
22877
|
};
|
|
22736
22878
|
|
|
22737
|
-
var backgroundColor$
|
|
22879
|
+
var backgroundColor$4 = {
|
|
22738
22880
|
"default": "".concat(TRANSPARENT)
|
|
22739
22881
|
};
|
|
22740
22882
|
var textFontSize = {
|
|
@@ -22773,8 +22915,8 @@ var checkedStyles = {
|
|
|
22773
22915
|
var defaultStyles = {
|
|
22774
22916
|
"default": "\n background: ".concat(WHITE, "; \n border: 1px solid ").concat(STORM_GREY, ";\n")
|
|
22775
22917
|
};
|
|
22776
|
-
var fallbackValues$
|
|
22777
|
-
backgroundColor: backgroundColor$
|
|
22918
|
+
var fallbackValues$f = {
|
|
22919
|
+
backgroundColor: backgroundColor$4,
|
|
22778
22920
|
textFontSize: textFontSize,
|
|
22779
22921
|
textFontWeight: textFontWeight,
|
|
22780
22922
|
textLineHeight: textLineHeight,
|
|
@@ -22929,7 +23071,7 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
22929
23071
|
extraStyles: textExtraStyles ? "".concat(textExtraStyles, " ").concat(disabled && "color: #6e727e; background-color: #f7f7f7;", " ") : "margin-left: 1rem ".concat(disabled && "color: #6e727e; background-color: #f7f7f7;")
|
|
22930
23072
|
}, title)));
|
|
22931
23073
|
};
|
|
22932
|
-
var Checkbox$1 = themeComponent(Checkbox, "Checkbox", fallbackValues$
|
|
23074
|
+
var Checkbox$1 = themeComponent(Checkbox, "Checkbox", fallbackValues$f, "default");
|
|
22933
23075
|
|
|
22934
23076
|
var listBackgroundColor = {
|
|
22935
23077
|
"default": "".concat(ATHENS_GREY),
|
|
@@ -22955,7 +23097,7 @@ var radioButtonInactive = {
|
|
|
22955
23097
|
"default": "".concat(GHOST_GREY),
|
|
22956
23098
|
disabled: "".concat(GHOST_GREY)
|
|
22957
23099
|
};
|
|
22958
|
-
var fallbackValues$
|
|
23100
|
+
var fallbackValues$g = {
|
|
22959
23101
|
listBackgroundColor: listBackgroundColor,
|
|
22960
23102
|
listItemColor: listItemColor,
|
|
22961
23103
|
listItemBackgroundColor: listItemBackgroundColor,
|
|
@@ -23122,7 +23264,7 @@ var CheckboxList = function CheckboxList(_ref2) {
|
|
|
23122
23264
|
});
|
|
23123
23265
|
})));
|
|
23124
23266
|
};
|
|
23125
|
-
var CheckboxList$1 = themeComponent(CheckboxList, "CheckboxList", fallbackValues$
|
|
23267
|
+
var CheckboxList$1 = themeComponent(CheckboxList, "CheckboxList", fallbackValues$g, "default");
|
|
23126
23268
|
|
|
23127
23269
|
var DropdownIcon = function DropdownIcon() {
|
|
23128
23270
|
return /*#__PURE__*/React.createElement("svg", {
|
|
@@ -24459,7 +24601,7 @@ exportTypedArrayMethod$1('at', function at(index) {
|
|
|
24459
24601
|
var selectedColor = "".concat(MATISSE_BLUE);
|
|
24460
24602
|
var hoverColor$3 = "".concat(HOVER_LIGHT_BLUE);
|
|
24461
24603
|
var focusColor = "".concat(MATISSE_BLUE_DARK);
|
|
24462
|
-
var fallbackValues$
|
|
24604
|
+
var fallbackValues$h = {
|
|
24463
24605
|
selectedColor: selectedColor,
|
|
24464
24606
|
hoverColor: hoverColor$3,
|
|
24465
24607
|
focusColor: focusColor
|
|
@@ -24848,7 +24990,7 @@ var Dropdown = function Dropdown(_ref13) {
|
|
|
24848
24990
|
}, choice.text)));
|
|
24849
24991
|
}))) : /*#__PURE__*/React.createElement(Fragment$1, null)));
|
|
24850
24992
|
};
|
|
24851
|
-
var Dropdown$1 = themeComponent(Dropdown, "Dropdown", fallbackValues$
|
|
24993
|
+
var Dropdown$1 = themeComponent(Dropdown, "Dropdown", fallbackValues$h);
|
|
24852
24994
|
|
|
24853
24995
|
var SelectContainer = styled.div.withConfig({
|
|
24854
24996
|
displayName: "FormSelectstyled__SelectContainer",
|
|
@@ -24899,11 +25041,11 @@ var borderColor = {
|
|
|
24899
25041
|
"default": "".concat(GREY_CHATEAU),
|
|
24900
25042
|
disabled: "".concat(GREY_CHATEAU)
|
|
24901
25043
|
};
|
|
24902
|
-
var lineHeight$
|
|
25044
|
+
var lineHeight$2 = {
|
|
24903
25045
|
"default": "1rem",
|
|
24904
25046
|
disabled: "1rem"
|
|
24905
25047
|
};
|
|
24906
|
-
var fontSize$
|
|
25048
|
+
var fontSize$5 = {
|
|
24907
25049
|
"default": "0.875rem",
|
|
24908
25050
|
disabled: "0.875rem"
|
|
24909
25051
|
};
|
|
@@ -24911,7 +25053,7 @@ var errorFontSize = {
|
|
|
24911
25053
|
"default": "0.75rem",
|
|
24912
25054
|
disabled: "0.75rem"
|
|
24913
25055
|
};
|
|
24914
|
-
var fontWeight$
|
|
25056
|
+
var fontWeight$3 = {
|
|
24915
25057
|
"default": "".concat(FONT_WEIGHT_REGULAR),
|
|
24916
25058
|
disabled: "".concat(FONT_WEIGHT_REGULAR)
|
|
24917
25059
|
};
|
|
@@ -24919,17 +25061,17 @@ var hoverFocusStyles = {
|
|
|
24919
25061
|
"default": "color: #0E506D; outline: none; text-decoration: underline; ",
|
|
24920
25062
|
disabled: "color: #6D717E;"
|
|
24921
25063
|
};
|
|
24922
|
-
var fallbackValues$
|
|
25064
|
+
var fallbackValues$i = {
|
|
24923
25065
|
linkColor: linkColor$1,
|
|
24924
25066
|
formBackgroundColor: formBackgroundColor,
|
|
24925
25067
|
inputBackgroundColor: inputBackgroundColor,
|
|
24926
25068
|
color: color$6,
|
|
24927
25069
|
labelColor: labelColor,
|
|
24928
25070
|
borderColor: borderColor,
|
|
24929
|
-
lineHeight: lineHeight$
|
|
24930
|
-
fontSize: fontSize$
|
|
25071
|
+
lineHeight: lineHeight$2,
|
|
25072
|
+
fontSize: fontSize$5,
|
|
24931
25073
|
errorFontSize: errorFontSize,
|
|
24932
|
-
fontWeight: fontWeight$
|
|
25074
|
+
fontWeight: fontWeight$3,
|
|
24933
25075
|
hoverFocusStyles: hoverFocusStyles
|
|
24934
25076
|
};
|
|
24935
25077
|
|
|
@@ -25031,7 +25173,7 @@ var FormSelect = function FormSelect(_ref) {
|
|
|
25031
25173
|
extraStyles: "height: ".concat(themeValues.lineHeight, ";")
|
|
25032
25174
|
})));
|
|
25033
25175
|
};
|
|
25034
|
-
var FormSelect$1 = themeComponent(FormSelect, "FormSelect", fallbackValues$
|
|
25176
|
+
var FormSelect$1 = themeComponent(FormSelect, "FormSelect", fallbackValues$i, "default");
|
|
25035
25177
|
|
|
25036
25178
|
var options = [{
|
|
25037
25179
|
text: "Afghanistan",
|
|
@@ -25830,7 +25972,7 @@ var DetailText = styled.p.withConfig({
|
|
|
25830
25972
|
|
|
25831
25973
|
// Comments assume desktop base font size of 16px, mobile base font size of 14px
|
|
25832
25974
|
|
|
25833
|
-
var fontSize$
|
|
25975
|
+
var fontSize$6 = {
|
|
25834
25976
|
large: "1.125rem",
|
|
25835
25977
|
// 18px (at base font size of 16)
|
|
25836
25978
|
regular: "1rem",
|
|
@@ -25854,9 +25996,9 @@ var mobileFontSize$1 = {
|
|
|
25854
25996
|
// 12px
|
|
25855
25997
|
extraSmall: "0.71428rem" // 10px
|
|
25856
25998
|
};
|
|
25857
|
-
var fallbackValues$
|
|
25999
|
+
var fallbackValues$j = {
|
|
25858
26000
|
fontFamily: fontFamily$4,
|
|
25859
|
-
fontSize: fontSize$
|
|
26001
|
+
fontSize: fontSize$6
|
|
25860
26002
|
};
|
|
25861
26003
|
var mobileFallbackValues$1 = {
|
|
25862
26004
|
fontFamily: fontFamily$4,
|
|
@@ -25895,7 +26037,7 @@ var _excluded$q = ["themeValues", "weight", "color", "margin", "textAlign", "ext
|
|
|
25895
26037
|
var isBelowBreakpoint$1 = window.innerWidth < MOBILE_BREAKPOINT$1;
|
|
25896
26038
|
var isTouchDevice$2 = "ontouchstart" in window || navigator.maxTouchPoints > 1;
|
|
25897
26039
|
var mobileDeviceDetected$1 = isBelowBreakpoint$1 && isTouchDevice$2;
|
|
25898
|
-
var fallbacks$1 = mobileDeviceDetected$1 ? mobileFallbackValues$1 : fallbackValues$
|
|
26040
|
+
var fallbacks$1 = mobileDeviceDetected$1 ? mobileFallbackValues$1 : fallbackValues$j;
|
|
25899
26041
|
var Detail = function Detail(_ref) {
|
|
25900
26042
|
var themeValues = _ref.themeValues,
|
|
25901
26043
|
_ref$weight = _ref.weight,
|
|
@@ -25931,11 +26073,11 @@ var Detail = function Detail(_ref) {
|
|
|
25931
26073
|
};
|
|
25932
26074
|
var Detail$1 = themeComponent(Detail, "Detail", fallbacks$1, "regular");
|
|
25933
26075
|
|
|
25934
|
-
var backgroundColor$
|
|
25935
|
-
var boxShadow = "0px 2px 14px 0px ".concat(ATHENS_GREY, ", 0px 3px 8px 0px ").concat(GHOST_GREY);
|
|
25936
|
-
var fallbackValues$
|
|
25937
|
-
backgroundColor: backgroundColor$
|
|
25938
|
-
boxShadow: boxShadow
|
|
26076
|
+
var backgroundColor$5 = WHITE;
|
|
26077
|
+
var boxShadow$1 = "0px 2px 14px 0px ".concat(ATHENS_GREY, ", 0px 3px 8px 0px ").concat(GHOST_GREY);
|
|
26078
|
+
var fallbackValues$k = {
|
|
26079
|
+
backgroundColor: backgroundColor$5,
|
|
26080
|
+
boxShadow: boxShadow$1
|
|
25939
26081
|
};
|
|
25940
26082
|
|
|
25941
26083
|
var DisplayBox = function DisplayBox(_ref) {
|
|
@@ -25956,7 +26098,7 @@ var DisplayBox = function DisplayBox(_ref) {
|
|
|
25956
26098
|
dataQa: dataQa
|
|
25957
26099
|
}, children));
|
|
25958
26100
|
};
|
|
25959
|
-
var DisplayBox$1 = themeComponent(DisplayBox, "DisplayBox", fallbackValues$
|
|
26101
|
+
var DisplayBox$1 = themeComponent(DisplayBox, "DisplayBox", fallbackValues$k);
|
|
25960
26102
|
|
|
25961
26103
|
/*
|
|
25962
26104
|
Hook that assigns a click event listener to the main document element
|
|
@@ -26063,7 +26205,7 @@ var index$4 = /*#__PURE__*/Object.freeze({
|
|
|
26063
26205
|
var hoverColor$4 = "#116285";
|
|
26064
26206
|
var activeColor$4 = "#0E506D";
|
|
26065
26207
|
var popoverTriggerColor = "#15749D";
|
|
26066
|
-
var fallbackValues$
|
|
26208
|
+
var fallbackValues$l = {
|
|
26067
26209
|
hoverColor: hoverColor$4,
|
|
26068
26210
|
activeColor: activeColor$4,
|
|
26069
26211
|
popoverTriggerColor: popoverTriggerColor
|
|
@@ -26213,7 +26355,7 @@ var Popover = function Popover(_ref) {
|
|
|
26213
26355
|
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 ")
|
|
26214
26356
|
})));
|
|
26215
26357
|
};
|
|
26216
|
-
var Popover$1 = themeComponent(Popover, "Popover", fallbackValues$
|
|
26358
|
+
var Popover$1 = themeComponent(Popover, "Popover", fallbackValues$l);
|
|
26217
26359
|
|
|
26218
26360
|
var DisplayCard = function DisplayCard(_ref) {
|
|
26219
26361
|
var title = _ref.title,
|
|
@@ -26586,11 +26728,11 @@ var borderColor$1 = {
|
|
|
26586
26728
|
"default": "".concat(STORM_GREY),
|
|
26587
26729
|
disabled: "".concat(STORM_GREY)
|
|
26588
26730
|
};
|
|
26589
|
-
var lineHeight$
|
|
26731
|
+
var lineHeight$3 = {
|
|
26590
26732
|
"default": "1rem",
|
|
26591
26733
|
disabled: "1rem"
|
|
26592
26734
|
};
|
|
26593
|
-
var fontSize$
|
|
26735
|
+
var fontSize$7 = {
|
|
26594
26736
|
"default": "0.875rem",
|
|
26595
26737
|
disabled: "0.875rem"
|
|
26596
26738
|
};
|
|
@@ -26598,7 +26740,7 @@ var errorFontSize$1 = {
|
|
|
26598
26740
|
"default": "0.75rem",
|
|
26599
26741
|
disabled: "0.75rem"
|
|
26600
26742
|
};
|
|
26601
|
-
var fontWeight$
|
|
26743
|
+
var fontWeight$4 = {
|
|
26602
26744
|
"default": "".concat(FONT_WEIGHT_REGULAR),
|
|
26603
26745
|
disabled: "".concat(FONT_WEIGHT_REGULAR)
|
|
26604
26746
|
};
|
|
@@ -26609,17 +26751,17 @@ var hoverFocusStyles$1 = {
|
|
|
26609
26751
|
var formFooterPanel = {
|
|
26610
26752
|
"default": "".concat(INFO_BLUE)
|
|
26611
26753
|
};
|
|
26612
|
-
var fallbackValues$
|
|
26754
|
+
var fallbackValues$m = {
|
|
26613
26755
|
linkColor: linkColor$2,
|
|
26614
26756
|
formBackgroundColor: formBackgroundColor$1,
|
|
26615
26757
|
inputBackgroundColor: inputBackgroundColor$1,
|
|
26616
26758
|
color: color$7,
|
|
26617
26759
|
labelColor: labelColor$1,
|
|
26618
26760
|
borderColor: borderColor$1,
|
|
26619
|
-
lineHeight: lineHeight$
|
|
26620
|
-
fontSize: fontSize$
|
|
26761
|
+
lineHeight: lineHeight$3,
|
|
26762
|
+
fontSize: fontSize$7,
|
|
26621
26763
|
errorFontSize: errorFontSize$1,
|
|
26622
|
-
fontWeight: fontWeight$
|
|
26764
|
+
fontWeight: fontWeight$4,
|
|
26623
26765
|
hoverFocusStyles: hoverFocusStyles$1,
|
|
26624
26766
|
formFooterPanel: formFooterPanel
|
|
26625
26767
|
};
|
|
@@ -26829,7 +26971,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
26829
26971
|
padding: "0 0 0 auto"
|
|
26830
26972
|
}, decorator)));
|
|
26831
26973
|
};
|
|
26832
|
-
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$
|
|
26974
|
+
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$m, "default");
|
|
26833
26975
|
|
|
26834
26976
|
var _excluded$s = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
|
|
26835
26977
|
var FormInputRow = function FormInputRow(_ref) {
|
|
@@ -26877,7 +27019,7 @@ var FormContainer = function FormContainer(_ref) {
|
|
|
26877
27019
|
borderRadius: "4px"
|
|
26878
27020
|
}, rest), children);
|
|
26879
27021
|
};
|
|
26880
|
-
var FormContainer$1 = themeComponent(withWindowSize(FormContainer), "FormContainer", fallbackValues$
|
|
27022
|
+
var FormContainer$1 = themeComponent(withWindowSize(FormContainer), "FormContainer", fallbackValues$m, "default");
|
|
26881
27023
|
|
|
26882
27024
|
var FormFooterPanel = function FormFooterPanel(_ref) {
|
|
26883
27025
|
var themeValues = _ref.themeValues,
|
|
@@ -26898,9 +27040,9 @@ var FormFooterPanel = function FormFooterPanel(_ref) {
|
|
|
26898
27040
|
text: linkText
|
|
26899
27041
|
})));
|
|
26900
27042
|
};
|
|
26901
|
-
var FormFooterPanel$1 = themeComponent(withWindowSize(FormFooterPanel), "FormFooterPanel", fallbackValues$
|
|
27043
|
+
var FormFooterPanel$1 = themeComponent(withWindowSize(FormFooterPanel), "FormFooterPanel", fallbackValues$m, "default");
|
|
26902
27044
|
|
|
26903
|
-
var fontSize$
|
|
27045
|
+
var fontSize$8 = {
|
|
26904
27046
|
"default": "1rem",
|
|
26905
27047
|
radio: "1.0625rem"
|
|
26906
27048
|
};
|
|
@@ -26912,8 +27054,8 @@ var color$8 = {
|
|
|
26912
27054
|
"default": "".concat(CHARADE_GREY),
|
|
26913
27055
|
radio: "".concat(MINESHAFT_GREY)
|
|
26914
27056
|
};
|
|
26915
|
-
var fallbackValues$
|
|
26916
|
-
fontSize: fontSize$
|
|
27057
|
+
var fallbackValues$n = {
|
|
27058
|
+
fontSize: fontSize$8,
|
|
26917
27059
|
padding: padding$1,
|
|
26918
27060
|
color: color$8
|
|
26919
27061
|
};
|
|
@@ -26954,11 +27096,11 @@ var FormattedAddress = function FormattedAddress(_ref) {
|
|
|
26954
27096
|
dataQa: "".concat(qaPrefix, "-3")
|
|
26955
27097
|
}, city, ", ", stateProvince, " ".concat(zip), country ? " ".concat(country) : "")));
|
|
26956
27098
|
};
|
|
26957
|
-
var FormattedAddress$1 = themeComponent(FormattedAddress, "FormattedAddress", fallbackValues$
|
|
27099
|
+
var FormattedAddress$1 = themeComponent(FormattedAddress, "FormattedAddress", fallbackValues$n, "default");
|
|
26958
27100
|
|
|
26959
27101
|
var textColor$1 = "".concat(CHARADE_GREY);
|
|
26960
27102
|
var autopayTextColor = "".concat(REGENT_GREY);
|
|
26961
|
-
var fallbackValues$
|
|
27103
|
+
var fallbackValues$o = {
|
|
26962
27104
|
textColor: textColor$1,
|
|
26963
27105
|
autopayTextColor: autopayTextColor
|
|
26964
27106
|
};
|
|
@@ -26996,11 +27138,11 @@ var FormattedBankAccount = function FormattedBankAccount(_ref2) {
|
|
|
26996
27138
|
extraStyles: "font-style: italic;"
|
|
26997
27139
|
}, "Autopay Enabled")));
|
|
26998
27140
|
};
|
|
26999
|
-
var FormattedBankAccount$1 = themeComponent(FormattedBankAccount, "FormattedBankAccount", fallbackValues$
|
|
27141
|
+
var FormattedBankAccount$1 = themeComponent(FormattedBankAccount, "FormattedBankAccount", fallbackValues$o);
|
|
27000
27142
|
|
|
27001
27143
|
var textColor$2 = "".concat(CHARADE_GREY);
|
|
27002
27144
|
var autopayTextColor$1 = "".concat(REGENT_GREY);
|
|
27003
|
-
var fallbackValues$
|
|
27145
|
+
var fallbackValues$p = {
|
|
27004
27146
|
textColor: textColor$2,
|
|
27005
27147
|
autopayTextColor: autopayTextColor$1
|
|
27006
27148
|
};
|
|
@@ -27092,7 +27234,7 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
|
|
|
27092
27234
|
extraStyles: "font-style: italic;"
|
|
27093
27235
|
}, "Autopay Enabled")));
|
|
27094
27236
|
};
|
|
27095
|
-
var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$
|
|
27237
|
+
var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$p);
|
|
27096
27238
|
|
|
27097
27239
|
var Hamburger = styled.button.withConfig({
|
|
27098
27240
|
displayName: "HamburgerButton__Hamburger",
|
|
@@ -27165,7 +27307,7 @@ var fontFamily$5 = {
|
|
|
27165
27307
|
primary: "Public Sans",
|
|
27166
27308
|
secondary: "Open Sans"
|
|
27167
27309
|
};
|
|
27168
|
-
var fontSize$
|
|
27310
|
+
var fontSize$9 = {
|
|
27169
27311
|
h1: "2.25rem",
|
|
27170
27312
|
h2: "2rem",
|
|
27171
27313
|
h3: "1.75rem",
|
|
@@ -27173,9 +27315,9 @@ var fontSize$8 = {
|
|
|
27173
27315
|
h5: "1.375rem",
|
|
27174
27316
|
h6: "1.25rem"
|
|
27175
27317
|
};
|
|
27176
|
-
var fallbackValues$
|
|
27318
|
+
var fallbackValues$q = {
|
|
27177
27319
|
fontFamily: fontFamily$5,
|
|
27178
|
-
fontSize: fontSize$
|
|
27320
|
+
fontSize: fontSize$9
|
|
27179
27321
|
};
|
|
27180
27322
|
|
|
27181
27323
|
var _excluded$v = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
@@ -27212,7 +27354,7 @@ var Heading = function Heading(_ref) {
|
|
|
27212
27354
|
"data-qa": dataQa
|
|
27213
27355
|
}, rest), safeChildren(children, /*#__PURE__*/React.createElement("span", null)));
|
|
27214
27356
|
};
|
|
27215
|
-
var Heading$1 = themeComponent(Heading, "Heading", fallbackValues$
|
|
27357
|
+
var Heading$1 = themeComponent(Heading, "Heading", fallbackValues$q, "h1");
|
|
27216
27358
|
|
|
27217
27359
|
var Image = styled.img.withConfig({
|
|
27218
27360
|
displayName: "ImageBoxstyled__Image",
|
|
@@ -27331,7 +27473,7 @@ var Jumbo = function Jumbo(_ref) {
|
|
|
27331
27473
|
};
|
|
27332
27474
|
var Jumbo$1 = withWindowSize(Jumbo);
|
|
27333
27475
|
|
|
27334
|
-
var fontWeight$
|
|
27476
|
+
var fontWeight$5 = {
|
|
27335
27477
|
// v1 variants
|
|
27336
27478
|
"default": "600",
|
|
27337
27479
|
pS: "600",
|
|
@@ -27347,8 +27489,8 @@ var fontWeight$4 = {
|
|
|
27347
27489
|
// fontsize Detail regular
|
|
27348
27490
|
large: "700" // fontsize Title small
|
|
27349
27491
|
};
|
|
27350
|
-
var fallbackValues$
|
|
27351
|
-
fontWeight: fontWeight$
|
|
27492
|
+
var fallbackValues$r = {
|
|
27493
|
+
fontWeight: fontWeight$5
|
|
27352
27494
|
};
|
|
27353
27495
|
|
|
27354
27496
|
var LabeledAmountV1 = function LabeledAmountV1(_ref) {
|
|
@@ -27406,7 +27548,7 @@ var LabeledAmount = function LabeledAmount(_ref) {
|
|
|
27406
27548
|
var LabeledAmountComponent = version === "v1" ? LabeledAmountV1 : LabeledAmountV2;
|
|
27407
27549
|
return /*#__PURE__*/React.createElement(LabeledAmountComponent, rest);
|
|
27408
27550
|
};
|
|
27409
|
-
var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$
|
|
27551
|
+
var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$r, "default");
|
|
27410
27552
|
|
|
27411
27553
|
var weightTitle = {
|
|
27412
27554
|
"default": "600",
|
|
@@ -27416,7 +27558,7 @@ var detailVariant = {
|
|
|
27416
27558
|
"default": "large",
|
|
27417
27559
|
small: "small"
|
|
27418
27560
|
};
|
|
27419
|
-
var fallbackValues$
|
|
27561
|
+
var fallbackValues$s = {
|
|
27420
27562
|
weightTitle: weightTitle,
|
|
27421
27563
|
detailVariant: detailVariant
|
|
27422
27564
|
};
|
|
@@ -27464,10 +27606,10 @@ var LineItem = function LineItem(_ref) {
|
|
|
27464
27606
|
childGap: "0.25rem"
|
|
27465
27607
|
}, visibleCustomAttrs));
|
|
27466
27608
|
};
|
|
27467
|
-
var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$
|
|
27609
|
+
var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$s, "default");
|
|
27468
27610
|
|
|
27469
27611
|
var color$9 = "#15749D";
|
|
27470
|
-
var fallbackValues$
|
|
27612
|
+
var fallbackValues$t = {
|
|
27471
27613
|
color: color$9
|
|
27472
27614
|
};
|
|
27473
27615
|
|
|
@@ -27523,7 +27665,7 @@ var Spinner$1 = function Spinner(_ref6) {
|
|
|
27523
27665
|
strokeWidth: "6"
|
|
27524
27666
|
})));
|
|
27525
27667
|
};
|
|
27526
|
-
var Spinner$2 = themeComponent(Spinner$1, "Spinner", fallbackValues$
|
|
27668
|
+
var Spinner$2 = themeComponent(Spinner$1, "Spinner", fallbackValues$t);
|
|
27527
27669
|
|
|
27528
27670
|
var Loading = function Loading() {
|
|
27529
27671
|
return /*#__PURE__*/React.createElement(Box, {
|
|
@@ -27783,7 +27925,7 @@ var height$1 = {
|
|
|
27783
27925
|
"default": "3rem",
|
|
27784
27926
|
large: "192px"
|
|
27785
27927
|
};
|
|
27786
|
-
var fallbackValues$
|
|
27928
|
+
var fallbackValues$u = {
|
|
27787
27929
|
color: color$a,
|
|
27788
27930
|
height: height$1
|
|
27789
27931
|
};
|
|
@@ -27889,13 +28031,13 @@ var Placeholder = function Placeholder(_ref2) {
|
|
|
27889
28031
|
extraStyles: "padding: 0 0 0 8px; text-align: center;"
|
|
27890
28032
|
}, text)))))))))));
|
|
27891
28033
|
};
|
|
27892
|
-
var Placeholder$1 = themeComponent(Placeholder, "Placeholder", fallbackValues$
|
|
28034
|
+
var Placeholder$1 = themeComponent(Placeholder, "Placeholder", fallbackValues$u, "default");
|
|
27893
28035
|
|
|
27894
|
-
var backgroundColor$
|
|
28036
|
+
var backgroundColor$6 = {
|
|
27895
28037
|
"default": "".concat(WHITE)
|
|
27896
28038
|
};
|
|
27897
|
-
var fallbackValues$
|
|
27898
|
-
backgroundColor: backgroundColor$
|
|
28039
|
+
var fallbackValues$v = {
|
|
28040
|
+
backgroundColor: backgroundColor$6
|
|
27899
28041
|
};
|
|
27900
28042
|
|
|
27901
28043
|
var ProcessingFee = function ProcessingFee(_ref) {
|
|
@@ -27921,11 +28063,11 @@ var ProcessingFee = function ProcessingFee(_ref) {
|
|
|
27921
28063
|
showQuitLink: false
|
|
27922
28064
|
}));
|
|
27923
28065
|
};
|
|
27924
|
-
var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$
|
|
28066
|
+
var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$v, "default");
|
|
27925
28067
|
|
|
27926
28068
|
var activeColor$5 = MATISSE_BLUE;
|
|
27927
28069
|
var inactiveBorderColor = GREY_CHATEAU;
|
|
27928
|
-
var fallbackValues$
|
|
28070
|
+
var fallbackValues$w = {
|
|
27929
28071
|
inactiveBorderColor: inactiveBorderColor,
|
|
27930
28072
|
activeColor: activeColor$5
|
|
27931
28073
|
};
|
|
@@ -28008,11 +28150,11 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
|
|
|
28008
28150
|
inactiveBorderColor: themeValues.inactiveBorderColor
|
|
28009
28151
|
}), labelText));
|
|
28010
28152
|
};
|
|
28011
|
-
var RadioButtonWithLabel$1 = themeComponent(RadioButtonWithLabel, "RadioButtonWithLabel", fallbackValues$
|
|
28153
|
+
var RadioButtonWithLabel$1 = themeComponent(RadioButtonWithLabel, "RadioButtonWithLabel", fallbackValues$w);
|
|
28012
28154
|
|
|
28013
28155
|
var activeColor$6 = "".concat(MATISSE_BLUE);
|
|
28014
28156
|
var inactiveColor = "".concat(STORM_GREY);
|
|
28015
|
-
var fallbackValues$
|
|
28157
|
+
var fallbackValues$x = {
|
|
28016
28158
|
activeColor: activeColor$6,
|
|
28017
28159
|
inactiveColor: inactiveColor
|
|
28018
28160
|
};
|
|
@@ -28117,12 +28259,12 @@ var RadioButton$1 = function RadioButton(_ref2) {
|
|
|
28117
28259
|
borderRadius: "8px"
|
|
28118
28260
|
})));
|
|
28119
28261
|
};
|
|
28120
|
-
var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$
|
|
28262
|
+
var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$x);
|
|
28121
28263
|
|
|
28122
28264
|
var border$2 = {
|
|
28123
28265
|
"default": "1px solid #caced8"
|
|
28124
28266
|
};
|
|
28125
|
-
var fallbackValues$
|
|
28267
|
+
var fallbackValues$y = {
|
|
28126
28268
|
border: border$2
|
|
28127
28269
|
};
|
|
28128
28270
|
|
|
@@ -28195,7 +28337,7 @@ var SearchableSelect = function SearchableSelect(_ref) {
|
|
|
28195
28337
|
});
|
|
28196
28338
|
}))));
|
|
28197
28339
|
};
|
|
28198
|
-
var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$
|
|
28340
|
+
var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$y, "default");
|
|
28199
28341
|
|
|
28200
28342
|
var borderColor$2 = {
|
|
28201
28343
|
"default": "".concat(GREY_CHATEAU)
|
|
@@ -28203,7 +28345,7 @@ var borderColor$2 = {
|
|
|
28203
28345
|
var borderSize = {
|
|
28204
28346
|
"default": "1px"
|
|
28205
28347
|
};
|
|
28206
|
-
var fallbackValues$
|
|
28348
|
+
var fallbackValues$z = {
|
|
28207
28349
|
borderColor: borderColor$2,
|
|
28208
28350
|
borderSize: borderSize
|
|
28209
28351
|
};
|
|
@@ -28221,7 +28363,7 @@ var SolidDivider = function SolidDivider(_ref) {
|
|
|
28221
28363
|
borderWidthOverride: "0px 0px ".concat(borderSize || themeValues.borderSize, " 0px")
|
|
28222
28364
|
});
|
|
28223
28365
|
};
|
|
28224
|
-
var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$
|
|
28366
|
+
var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$z, "default");
|
|
28225
28367
|
|
|
28226
28368
|
var placeHolderOptionUS = {
|
|
28227
28369
|
text: "Please select state",
|
|
@@ -38807,7 +38949,7 @@ var offBackground = "".concat(REGENT_GREY);
|
|
|
38807
38949
|
var labelStyles = "\n display: flex;\n justify-content: flex-start;\n align-items: center;\n";
|
|
38808
38950
|
var rightLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row;\n");
|
|
38809
38951
|
var leftLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row-reverse;\n");
|
|
38810
|
-
var fallbackValues$
|
|
38952
|
+
var fallbackValues$A = {
|
|
38811
38953
|
onBackground: onBackground,
|
|
38812
38954
|
disabledBackground: disabledBackground,
|
|
38813
38955
|
white: white,
|
|
@@ -38979,7 +39121,7 @@ var ToggleSwitch = function ToggleSwitch(_ref6) {
|
|
|
38979
39121
|
color: CHARADE_GREY
|
|
38980
39122
|
}, label))));
|
|
38981
39123
|
};
|
|
38982
|
-
var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$
|
|
39124
|
+
var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$A);
|
|
38983
39125
|
|
|
38984
39126
|
var background$2 = "".concat(ATHENS_GREY);
|
|
38985
39127
|
var white$1 = "".concat(WHITE);
|
|
@@ -39021,12 +39163,12 @@ var TypeaheadInput = function TypeaheadInput(_ref) {
|
|
|
39021
39163
|
}));
|
|
39022
39164
|
};
|
|
39023
39165
|
|
|
39024
|
-
var backgroundColor$
|
|
39166
|
+
var backgroundColor$7 = WHITE;
|
|
39025
39167
|
var imageBackgroundColor = INFO_BLUE;
|
|
39026
39168
|
var headerBackgroundColor = STORM_GREY;
|
|
39027
39169
|
var headerColor = WHITE;
|
|
39028
|
-
var fallbackValues$
|
|
39029
|
-
backgroundColor: backgroundColor$
|
|
39170
|
+
var fallbackValues$B = {
|
|
39171
|
+
backgroundColor: backgroundColor$7,
|
|
39030
39172
|
imageBackgroundColor: imageBackgroundColor,
|
|
39031
39173
|
headerBackgroundColor: headerBackgroundColor,
|
|
39032
39174
|
headerColor: headerColor
|
|
@@ -39049,7 +39191,7 @@ var CardImage = styled.img.withConfig({
|
|
|
39049
39191
|
var titleColor = BRIGHT_GREY;
|
|
39050
39192
|
var titleWeight = FONT_WEIGHT_BOLD;
|
|
39051
39193
|
var textColor$3 = BRIGHT_GREY;
|
|
39052
|
-
var fallbackValues$
|
|
39194
|
+
var fallbackValues$C = {
|
|
39053
39195
|
titleColor: titleColor,
|
|
39054
39196
|
titleWeight: titleWeight,
|
|
39055
39197
|
textColor: textColor$3
|
|
@@ -39073,7 +39215,7 @@ var CardText = function CardText(_ref) {
|
|
|
39073
39215
|
color: themeValues.textColor
|
|
39074
39216
|
}, text))));
|
|
39075
39217
|
};
|
|
39076
|
-
var CardText$1 = themeComponent(withWindowSize(CardText), "CardText", fallbackValues$
|
|
39218
|
+
var CardText$1 = themeComponent(withWindowSize(CardText), "CardText", fallbackValues$C);
|
|
39077
39219
|
|
|
39078
39220
|
var CardHeader = function CardHeader(_ref) {
|
|
39079
39221
|
var backgroundColor = _ref.backgroundColor,
|
|
@@ -39175,12 +39317,12 @@ var Card = function Card(_ref) {
|
|
|
39175
39317
|
titleVariant: titleVariant
|
|
39176
39318
|
}), children)))));
|
|
39177
39319
|
};
|
|
39178
|
-
var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$
|
|
39320
|
+
var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$B);
|
|
39179
39321
|
|
|
39180
39322
|
var fontFamily$6 = "Public Sans, sans-serif";
|
|
39181
39323
|
var activeColor$7 = MATISSE_BLUE;
|
|
39182
39324
|
var linkColor$3 = CHARADE_GREY;
|
|
39183
|
-
var fallbackValues$
|
|
39325
|
+
var fallbackValues$D = {
|
|
39184
39326
|
fontFamily: fontFamily$6,
|
|
39185
39327
|
activeColor: activeColor$7,
|
|
39186
39328
|
linkColor: linkColor$3
|
|
@@ -39209,7 +39351,7 @@ var NavTab = function NavTab(_ref) {
|
|
|
39209
39351
|
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 ")
|
|
39210
39352
|
}, label));
|
|
39211
39353
|
};
|
|
39212
|
-
var NavTab$1 = themeComponent(NavTab, "NavTab", fallbackValues$
|
|
39354
|
+
var NavTab$1 = themeComponent(NavTab, "NavTab", fallbackValues$D);
|
|
39213
39355
|
|
|
39214
39356
|
var NavTabs = function NavTabs(_ref) {
|
|
39215
39357
|
var tabsConfig = _ref.tabsConfig,
|
|
@@ -39298,10 +39440,10 @@ var TableCell_styled = styled.td.withConfig({
|
|
|
39298
39440
|
return extraStyles;
|
|
39299
39441
|
});
|
|
39300
39442
|
|
|
39301
|
-
var backgroundColor$
|
|
39443
|
+
var backgroundColor$8 = ALABASTER_WHITE;
|
|
39302
39444
|
var borderColor$3 = GREY_CHATEAU;
|
|
39303
|
-
var fallbackValues$
|
|
39304
|
-
backgroundColor: backgroundColor$
|
|
39445
|
+
var fallbackValues$E = {
|
|
39446
|
+
backgroundColor: backgroundColor$8,
|
|
39305
39447
|
borderColor: borderColor$3
|
|
39306
39448
|
};
|
|
39307
39449
|
|
|
@@ -39322,7 +39464,7 @@ var StyledTableHead = styled.thead.withConfig({
|
|
|
39322
39464
|
|
|
39323
39465
|
var borderColor$4 = GREY_CHATEAU;
|
|
39324
39466
|
var hoverBackgroundColor$1 = HOVER_LIGHT_BLUE;
|
|
39325
|
-
var fallbackValues$
|
|
39467
|
+
var fallbackValues$F = {
|
|
39326
39468
|
borderColor: borderColor$4,
|
|
39327
39469
|
hoverBackgroundColor: hoverBackgroundColor$1
|
|
39328
39470
|
};
|
|
@@ -39361,7 +39503,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
39361
39503
|
hoverBackgroundColor: themeValues.hoverBackgroundColor
|
|
39362
39504
|
}, props), children);
|
|
39363
39505
|
};
|
|
39364
|
-
var TableRow$1 = themeComponent(TableRow, "TableRow", fallbackValues$
|
|
39506
|
+
var TableRow$1 = themeComponent(TableRow, "TableRow", fallbackValues$F);
|
|
39365
39507
|
|
|
39366
39508
|
var TableHead = function TableHead(_ref) {
|
|
39367
39509
|
var children = _ref.children,
|
|
@@ -39376,7 +39518,7 @@ var TableHead = function TableHead(_ref) {
|
|
|
39376
39518
|
hoverEffect: false
|
|
39377
39519
|
}, children));
|
|
39378
39520
|
};
|
|
39379
|
-
var TableHead$1 = themeComponent(TableHead, "TableHead", fallbackValues$
|
|
39521
|
+
var TableHead$1 = themeComponent(TableHead, "TableHead", fallbackValues$E);
|
|
39380
39522
|
|
|
39381
39523
|
var TableHeading_styled = styled.th.withConfig({
|
|
39382
39524
|
displayName: "TableHeadingstyled",
|
|
@@ -40210,9 +40352,9 @@ AddressForm.reducer = reducer;
|
|
|
40210
40352
|
AddressForm.mapStateToProps = mapStateToProps$1;
|
|
40211
40353
|
AddressForm.mapDispatchToProps = mapDispatchToProps;
|
|
40212
40354
|
|
|
40213
|
-
var backgroundColor$
|
|
40214
|
-
var fallbackValues$
|
|
40215
|
-
backgroundColor: backgroundColor$
|
|
40355
|
+
var backgroundColor$9 = "#ebeffb";
|
|
40356
|
+
var fallbackValues$G = {
|
|
40357
|
+
backgroundColor: backgroundColor$9
|
|
40216
40358
|
};
|
|
40217
40359
|
|
|
40218
40360
|
var Banner = function Banner(_ref) {
|
|
@@ -40260,7 +40402,7 @@ var Banner = function Banner(_ref) {
|
|
|
40260
40402
|
extraStyles: isMobile && "> svg { width: 176px; }"
|
|
40261
40403
|
}, /*#__PURE__*/React.createElement(Image, null))));
|
|
40262
40404
|
};
|
|
40263
|
-
var Banner$1 = themeComponent(Banner, "Banner", fallbackValues$
|
|
40405
|
+
var Banner$1 = themeComponent(Banner, "Banner", fallbackValues$G);
|
|
40264
40406
|
|
|
40265
40407
|
var ChangePasswordForm = function ChangePasswordForm(_ref) {
|
|
40266
40408
|
var clearOnDismount = _ref.clearOnDismount,
|
|
@@ -40394,7 +40536,7 @@ ChangePasswordForm.mapDispatchToProps = mapDispatchToProps$1;
|
|
|
40394
40536
|
var titleColor$1 = "#292A33";
|
|
40395
40537
|
var headingBackgroundColor = "transparent";
|
|
40396
40538
|
var bodyBackgroundColor = "transparent";
|
|
40397
|
-
var fallbackValues$
|
|
40539
|
+
var fallbackValues$H = {
|
|
40398
40540
|
titleColor: titleColor$1,
|
|
40399
40541
|
headingBackgroundColor: headingBackgroundColor,
|
|
40400
40542
|
bodyBackgroundColor: bodyBackgroundColor
|
|
@@ -40519,7 +40661,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
40519
40661
|
"aria-labelledby": "".concat(id, "-button")
|
|
40520
40662
|
}, children))));
|
|
40521
40663
|
};
|
|
40522
|
-
var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$
|
|
40664
|
+
var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$H);
|
|
40523
40665
|
|
|
40524
40666
|
var ClipboardIcon = function ClipboardIcon(_ref) {
|
|
40525
40667
|
var themeValues = _ref.themeValues;
|
|
@@ -40552,7 +40694,7 @@ var ClipboardIcon = function ClipboardIcon(_ref) {
|
|
|
40552
40694
|
fill: themeValues.singleIconColor
|
|
40553
40695
|
})));
|
|
40554
40696
|
};
|
|
40555
|
-
var ClipboardIcon$1 = themeComponent(ClipboardIcon, "Icons", fallbackValues$
|
|
40697
|
+
var ClipboardIcon$1 = themeComponent(ClipboardIcon, "Icons", fallbackValues$5, "primary");
|
|
40556
40698
|
|
|
40557
40699
|
/*
|
|
40558
40700
|
This component will render `content` and a clipboard icon.
|
|
@@ -41095,7 +41237,7 @@ EmailForm.mapDispatchToProps = mapDispatchToProps$3;
|
|
|
41095
41237
|
|
|
41096
41238
|
var footerBackgroundColor = BRIGHT_GREY;
|
|
41097
41239
|
var subfooterBackgroundColor = STORM_GREY;
|
|
41098
|
-
var fallbackValues$
|
|
41240
|
+
var fallbackValues$I = {
|
|
41099
41241
|
footerBackgroundColor: footerBackgroundColor,
|
|
41100
41242
|
subfooterBackgroundColor: subfooterBackgroundColor
|
|
41101
41243
|
};
|
|
@@ -41126,7 +41268,7 @@ var FooterWithSubfooter = function FooterWithSubfooter(_ref) {
|
|
|
41126
41268
|
rightContent: rightSubfooterContent
|
|
41127
41269
|
}));
|
|
41128
41270
|
};
|
|
41129
|
-
var FooterWithSubfooter$1 = themeComponent(FooterWithSubfooter, "FooterWithSubfooter", fallbackValues$
|
|
41271
|
+
var FooterWithSubfooter$1 = themeComponent(FooterWithSubfooter, "FooterWithSubfooter", fallbackValues$I);
|
|
41130
41272
|
|
|
41131
41273
|
var ForgotPasswordForm = function ForgotPasswordForm(_ref) {
|
|
41132
41274
|
var fields = _ref.fields,
|
|
@@ -41172,10 +41314,10 @@ ForgotPasswordForm.mapStateToProps = mapStateToProps$5;
|
|
|
41172
41314
|
ForgotPasswordForm.mapDispatchToProps = mapDispatchToProps$4;
|
|
41173
41315
|
|
|
41174
41316
|
var textColor$4 = "#ffffff";
|
|
41175
|
-
var backgroundColor$
|
|
41176
|
-
var fallbackValues$
|
|
41317
|
+
var backgroundColor$a = "#182848";
|
|
41318
|
+
var fallbackValues$J = {
|
|
41177
41319
|
textColor: textColor$4,
|
|
41178
|
-
backgroundColor: backgroundColor$
|
|
41320
|
+
backgroundColor: backgroundColor$a
|
|
41179
41321
|
};
|
|
41180
41322
|
|
|
41181
41323
|
// this component needs some fix'n
|
|
@@ -41232,7 +41374,7 @@ var HighlightTabRow = function HighlightTabRow(_ref) {
|
|
|
41232
41374
|
}, t));
|
|
41233
41375
|
}), repeat( /*#__PURE__*/React.createElement(Box, null), boxesAfter))));
|
|
41234
41376
|
};
|
|
41235
|
-
var HighlightTabRow$1 = themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$
|
|
41377
|
+
var HighlightTabRow$1 = themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$J);
|
|
41236
41378
|
|
|
41237
41379
|
var AccountBillIcon = function AccountBillIcon() {
|
|
41238
41380
|
return /*#__PURE__*/React.createElement("svg", {
|
|
@@ -42697,7 +42839,7 @@ var disabledColor$1 = {
|
|
|
42697
42839
|
var activeBackgroundColor$1 = {
|
|
42698
42840
|
primary: CORNFLOWER_BLUE
|
|
42699
42841
|
};
|
|
42700
|
-
var backgroundColor$
|
|
42842
|
+
var backgroundColor$b = {
|
|
42701
42843
|
primary: LINK_WATER
|
|
42702
42844
|
};
|
|
42703
42845
|
var borderColor$5 = {
|
|
@@ -42706,12 +42848,12 @@ var borderColor$5 = {
|
|
|
42706
42848
|
var color$b = {
|
|
42707
42849
|
primary: ROYAL_BLUE_VIVID
|
|
42708
42850
|
};
|
|
42709
|
-
var fallbackValues$
|
|
42851
|
+
var fallbackValues$K = {
|
|
42710
42852
|
disabledBackgroundColor: disabledBackgroundColor$1,
|
|
42711
42853
|
disabledBorderColor: disabledBorderColor$1,
|
|
42712
42854
|
disabledColor: disabledColor$1,
|
|
42713
42855
|
activeBackgroundColor: activeBackgroundColor$1,
|
|
42714
|
-
backgroundColor: backgroundColor$
|
|
42856
|
+
backgroundColor: backgroundColor$b,
|
|
42715
42857
|
borderColor: borderColor$5,
|
|
42716
42858
|
color: color$b
|
|
42717
42859
|
};
|
|
@@ -42827,7 +42969,7 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42827
42969
|
extraStyles: "margin-right: auto;"
|
|
42828
42970
|
}), showRight && !!rightContent && rightContent))));
|
|
42829
42971
|
};
|
|
42830
|
-
var LinkCard$1 = themeComponent(LinkCard, "LinkCard", fallbackValues$
|
|
42972
|
+
var LinkCard$1 = themeComponent(LinkCard, "LinkCard", fallbackValues$K, "primary");
|
|
42831
42973
|
|
|
42832
42974
|
var LoginForm = function LoginForm(_ref) {
|
|
42833
42975
|
var clearOnDismount = _ref.clearOnDismount,
|
|
@@ -46466,135 +46608,6 @@ var Modal$1 = function Modal(_ref) {
|
|
|
46466
46608
|
}))))))))), children);
|
|
46467
46609
|
};
|
|
46468
46610
|
|
|
46469
|
-
var fontSize$9 = {
|
|
46470
|
-
"default": "1.375rem",
|
|
46471
|
-
largeTitle: "1.75rem",
|
|
46472
|
-
small: "1.25rem"
|
|
46473
|
-
};
|
|
46474
|
-
var fontWeight$5 = {
|
|
46475
|
-
"default": "600",
|
|
46476
|
-
largeTitle: "700",
|
|
46477
|
-
small: "600"
|
|
46478
|
-
};
|
|
46479
|
-
var fontColor = {
|
|
46480
|
-
"default": CHARADE_GREY,
|
|
46481
|
-
largeTitle: CHARADE_GREY,
|
|
46482
|
-
small: CHARADE_GREY
|
|
46483
|
-
};
|
|
46484
|
-
var lineHeight$3 = {
|
|
46485
|
-
"default": "2rem",
|
|
46486
|
-
largeTitle: "2rem",
|
|
46487
|
-
small: "2rem"
|
|
46488
|
-
};
|
|
46489
|
-
var textAlign = {
|
|
46490
|
-
"default": "left",
|
|
46491
|
-
largeTitle: "left",
|
|
46492
|
-
small: "left"
|
|
46493
|
-
};
|
|
46494
|
-
var titleType = {
|
|
46495
|
-
"default": "h5",
|
|
46496
|
-
largeTitle: "h1",
|
|
46497
|
-
small: "h6"
|
|
46498
|
-
};
|
|
46499
|
-
var titleSpacing = {
|
|
46500
|
-
"default": "0.5rem",
|
|
46501
|
-
largeTitle: "1.125rem",
|
|
46502
|
-
small: "0.5rem"
|
|
46503
|
-
};
|
|
46504
|
-
var boxShadow$1 = {
|
|
46505
|
-
"default": "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
|
|
46506
|
-
largeTitle: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
|
|
46507
|
-
small: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)"
|
|
46508
|
-
};
|
|
46509
|
-
var borderRadius = {
|
|
46510
|
-
"default": "0.25rem",
|
|
46511
|
-
largeTitle: "0.25rem",
|
|
46512
|
-
small: "0.25rem"
|
|
46513
|
-
};
|
|
46514
|
-
var backgroundColor$b = {
|
|
46515
|
-
"default": WHITE,
|
|
46516
|
-
largeTitle: WHITE,
|
|
46517
|
-
small: WHITE
|
|
46518
|
-
};
|
|
46519
|
-
var fallbackValues$K = {
|
|
46520
|
-
fontSize: fontSize$9,
|
|
46521
|
-
fontWeight: fontWeight$5,
|
|
46522
|
-
fontColor: fontColor,
|
|
46523
|
-
lineHeight: lineHeight$3,
|
|
46524
|
-
textAlign: textAlign,
|
|
46525
|
-
titleType: titleType,
|
|
46526
|
-
titleSpacing: titleSpacing,
|
|
46527
|
-
boxShadow: boxShadow$1,
|
|
46528
|
-
borderRadius: borderRadius,
|
|
46529
|
-
backgroundColor: backgroundColor$b
|
|
46530
|
-
};
|
|
46531
|
-
|
|
46532
|
-
/*
|
|
46533
|
-
New (01/22) - updated <Module /> to use <Title /> atom
|
|
46534
|
-
Because <Title /> decouples size from element, also gave <Module />
|
|
46535
|
-
two new props: "as" and "fontSize"
|
|
46536
|
-
|
|
46537
|
-
When present, <Module /> will use those values to dictate element type and font size.
|
|
46538
|
-
|
|
46539
|
-
For backwards compatability, <Module /> still computes a themed font size and element type based on old
|
|
46540
|
-
<Heading /> variants. If "fontSize" or "as" is undefined, <Module /> will use themed values.
|
|
46541
|
-
*/
|
|
46542
|
-
|
|
46543
|
-
var Module = function Module(_ref) {
|
|
46544
|
-
var _ref$variant = _ref.variant,
|
|
46545
|
-
variant = _ref$variant === void 0 ? "default" : _ref$variant,
|
|
46546
|
-
as = _ref.as,
|
|
46547
|
-
disabled = _ref.disabled,
|
|
46548
|
-
heading = _ref.heading,
|
|
46549
|
-
rightTitleContent = _ref.rightTitleContent,
|
|
46550
|
-
_ref$titleID = _ref.titleID,
|
|
46551
|
-
titleID = _ref$titleID === void 0 ? "" : _ref$titleID,
|
|
46552
|
-
_ref$spacing = _ref.spacing,
|
|
46553
|
-
spacing = _ref$spacing === void 0 ? "1rem" : _ref$spacing,
|
|
46554
|
-
_ref$padding = _ref.padding,
|
|
46555
|
-
padding = _ref$padding === void 0 ? "0" : _ref$padding,
|
|
46556
|
-
_ref$margin = _ref.margin,
|
|
46557
|
-
margin = _ref$margin === void 0 ? "0" : _ref$margin,
|
|
46558
|
-
_ref$spacingBottom = _ref.spacingBottom,
|
|
46559
|
-
spacingBottom = _ref$spacingBottom === void 0 ? "2.5rem" : _ref$spacingBottom,
|
|
46560
|
-
fontSize = _ref.fontSize,
|
|
46561
|
-
themeValues = _ref.themeValues,
|
|
46562
|
-
children = _ref.children;
|
|
46563
|
-
var themedFontSize = variant === "small" ? "1.25rem" : variant === "default" ? "1.375rem" : "2rem";
|
|
46564
|
-
var computedFontSize = fontSize || themedFontSize;
|
|
46565
|
-
var themedElemType = variant === "small" ? "h6" : variant === "default" ? "h5" : "h2";
|
|
46566
|
-
var computedElemType = as || themedElemType;
|
|
46567
|
-
var disabledStyles = "opacity: 0.40;";
|
|
46568
|
-
var headingText = /*#__PURE__*/React.createElement(Title$1, {
|
|
46569
|
-
weight: themeValues.fontWeight,
|
|
46570
|
-
color: themeValues.fontColor,
|
|
46571
|
-
margin: "".concat(spacing, " 0 ").concat(themeValues.titleSpacing, " 0"),
|
|
46572
|
-
textAlign: themeValues.textAlign,
|
|
46573
|
-
as: computedElemType,
|
|
46574
|
-
extraStyles: "font-size: ".concat(computedFontSize, ";"),
|
|
46575
|
-
id: titleID
|
|
46576
|
-
}, heading);
|
|
46577
|
-
return /*#__PURE__*/React.createElement(Box, {
|
|
46578
|
-
"aria-disabled": disabled,
|
|
46579
|
-
extraStyles: disabled && disabledStyles,
|
|
46580
|
-
padding: "0",
|
|
46581
|
-
role: "group"
|
|
46582
|
-
}, heading && !rightTitleContent && headingText, heading && rightTitleContent && /*#__PURE__*/React.createElement(Cluster, {
|
|
46583
|
-
justify: "space-between",
|
|
46584
|
-
align: "center",
|
|
46585
|
-
nowrap: true
|
|
46586
|
-
}, headingText, rightTitleContent), /*#__PURE__*/React.createElement(Box, {
|
|
46587
|
-
padding: "0 0 ".concat(spacingBottom),
|
|
46588
|
-
extraStyles: "margin: ".concat(margin)
|
|
46589
|
-
}, /*#__PURE__*/React.createElement(Box, {
|
|
46590
|
-
padding: padding,
|
|
46591
|
-
background: themeValues.backgroundColor,
|
|
46592
|
-
borderRadius: themeValues.borderRadius,
|
|
46593
|
-
boxShadow: themeValues.boxShadow
|
|
46594
|
-
}, children)));
|
|
46595
|
-
};
|
|
46596
|
-
var Module$1 = /*#__PURE__*/memo(themeComponent(Module, "Module", fallbackValues$K, "default"));
|
|
46597
|
-
|
|
46598
46611
|
var backgroundColor$c = {
|
|
46599
46612
|
profile: "#3b414d",
|
|
46600
46613
|
cms: "#3b414d"
|