@thecb/components 5.9.0-beta.2 → 5.9.0-beta.5

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.esm.js CHANGED
@@ -4997,7 +4997,7 @@ var colors = /*#__PURE__*/Object.freeze({
4997
4997
  var TextSpan = styled.span.withConfig({
4998
4998
  displayName: "Textstyled__TextSpan",
4999
4999
  componentId: "sc-1oy97we-0"
5000
- })(["--font-size:", ";font-size:var(--font-size);line-height:calc(1.5 * var(--font-size));font-weight:", ";font-family:", ";color:", ";&:hover{", "}&:focus{outline:3px solid ", ";outline-offset:2px;}", " ", ""], function (_ref) {
5000
+ })(["--font-size:", ";font-size:var(--font-size);line-height:calc(1.5 * var(--font-size));font-weight:", ";font-family:", ";color:", ";white-space:", ";&:hover{", "}&:focus{outline:3px solid ", ";outline-offset:2px;}", " ", ""], function (_ref) {
5001
5001
  var fontSize = _ref.fontSize;
5002
5002
  return fontSize;
5003
5003
  }, function (_ref2) {
@@ -5010,14 +5010,17 @@ var TextSpan = styled.span.withConfig({
5010
5010
  var color = _ref4.color;
5011
5011
  return color;
5012
5012
  }, function (_ref5) {
5013
- var hoverStyles = _ref5.hoverStyles;
5013
+ var $textWrap = _ref5.$textWrap;
5014
+ return $textWrap ? "initial" : "nowrap";
5015
+ }, function (_ref6) {
5016
+ var hoverStyles = _ref6.hoverStyles;
5014
5017
  return css(["", ""], hoverStyles);
5015
- }, ROYAL_BLUE, function (_ref6) {
5016
- var disabled = _ref6.disabled,
5017
- disabledStyles = _ref6.disabledStyles;
5018
+ }, ROYAL_BLUE, function (_ref7) {
5019
+ var disabled = _ref7.disabled,
5020
+ disabledStyles = _ref7.disabledStyles;
5018
5021
  return disabled && css(["", ""], disabledStyles);
5019
- }, function (_ref7) {
5020
- var extraStyles = _ref7.extraStyles;
5022
+ }, function (_ref8) {
5023
+ var extraStyles = _ref8.extraStyles;
5021
5024
  return extraStyles;
5022
5025
  });
5023
5026
 
@@ -6149,7 +6152,7 @@ var general = /*#__PURE__*/Object.freeze({
6149
6152
  screenReaderOnlyStyle: screenReaderOnlyStyle
6150
6153
  });
6151
6154
 
6152
- var _excluded$1 = ["themeValues", "weight", "color", "extraStyles", "hoverStyles", "onClick", "onKeyPress", "as", "dataQa", "children"];
6155
+ var _excluded$1 = ["themeValues", "weight", "color", "textWrap", "extraStyles", "hoverStyles", "onClick", "onKeyPress", "as", "dataQa", "children"];
6153
6156
 
6154
6157
  var Text = function Text(_ref) {
6155
6158
  var themeValues = _ref.themeValues,
@@ -6157,6 +6160,8 @@ var Text = function Text(_ref) {
6157
6160
  weight = _ref$weight === void 0 ? FONT_WEIGHT_REGULAR : _ref$weight,
6158
6161
  _ref$color = _ref.color,
6159
6162
  color = _ref$color === void 0 ? FIREFLY_GREY : _ref$color,
6163
+ _ref$textWrap = _ref.textWrap,
6164
+ textWrap = _ref$textWrap === void 0 ? true : _ref$textWrap,
6160
6165
  _ref$extraStyles = _ref.extraStyles,
6161
6166
  extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
6162
6167
  hoverStyles = _ref.hoverStyles,
@@ -6177,7 +6182,8 @@ var Text = function Text(_ref) {
6177
6182
  hoverStyles: hoverStyles,
6178
6183
  onClick: onClick,
6179
6184
  onKeyPress: onKeyPress,
6180
- "data-qa": dataQa
6185
+ "data-qa": dataQa,
6186
+ $textWrap: textWrap
6181
6187
  }, rest), safeChildren(children, /*#__PURE__*/React.createElement("span", null)));
6182
6188
  };
6183
6189
 
@@ -6439,8 +6445,8 @@ var ClusterInnerWrapper = styled.div.withConfig({
6439
6445
  displayName: "Clusterstyled__ClusterInnerWrapper",
6440
6446
  componentId: "sc-1dkqsm7-1"
6441
6447
  })(["box-sizing:border-box;display:flex;flex-wrap:", ";justify-content:", ";align-items:", ";margin:calc(", " / 2 * -1);min-height:", ";min-width:", ";> *{margin:calc(", " / 2);}"], function (_ref7) {
6442
- var nowrap = _ref7.nowrap;
6443
- return nowrap ? "nowrap" : "wrap";
6448
+ var $nowrap = _ref7.$nowrap;
6449
+ return $nowrap ? "nowrap" : "wrap";
6444
6450
  }, function (_ref8) {
6445
6451
  var justify = _ref8.justify;
6446
6452
  return justify;
@@ -6500,7 +6506,7 @@ var Cluster = function Cluster(_ref) {
6500
6506
  childGap: childGap,
6501
6507
  minHeight: minHeight,
6502
6508
  minWidth: minWidth,
6503
- nowrap: nowrap
6509
+ $nowrap: nowrap
6504
6510
  }, safeChildren(children, /*#__PURE__*/React.createElement(Fragment, null))));
6505
6511
  };
6506
6512
 
@@ -12507,7 +12513,7 @@ var SpinnerIcon = function SpinnerIcon(_ref3) {
12507
12513
  }))))));
12508
12514
  };
12509
12515
 
12510
- var _excluded$h = ["action", "variant", "text", "isLoading", "dataQa", "textExtraStyles", "contentOverride", "extraStyles", "tabIndex", "children"];
12516
+ var _excluded$h = ["action", "variant", "text", "textWrap", "isLoading", "dataQa", "textExtraStyles", "contentOverride", "extraStyles", "tabIndex", "children"];
12511
12517
  var rotate$1 = posed.div({
12512
12518
  fixed: {
12513
12519
  rotate: "0deg"
@@ -12564,6 +12570,8 @@ var ButtonWithAction = function ButtonWithAction(_ref2) {
12564
12570
  _ref2$variant = _ref2.variant,
12565
12571
  variant = _ref2$variant === void 0 ? "primary" : _ref2$variant,
12566
12572
  text = _ref2.text,
12573
+ _ref2$textWrap = _ref2.textWrap,
12574
+ textWrap = _ref2$textWrap === void 0 ? false : _ref2$textWrap,
12567
12575
  _ref2$isLoading = _ref2.isLoading,
12568
12576
  isLoading = _ref2$isLoading === void 0 ? false : _ref2$isLoading,
12569
12577
  _ref2$dataQa = _ref2.dataQa,
@@ -12608,6 +12616,7 @@ var ButtonWithAction = function ButtonWithAction(_ref2) {
12608
12616
  weight: themeValues.fontWeight,
12609
12617
  variant: themeValues.fontSizeVariant,
12610
12618
  color: themeValues.color,
12619
+ textWrap: textWrap,
12611
12620
  extraStyles: textExtraStyles
12612
12621
  }, text)));
12613
12622
  };
@@ -15347,7 +15356,8 @@ var AddObligation = function AddObligation(_ref) {
15347
15356
  action = _ref.action,
15348
15357
  themeValues = _ref.themeValues,
15349
15358
  extraStyles = _ref.extraStyles,
15350
- textExtraStyles = _ref.textExtraStyles;
15359
+ textExtraStyles = _ref.textExtraStyles,
15360
+ dataQa = _ref.dataQa;
15351
15361
  var hoverStyles = "\n &:hover {\n .fill { fill: ".concat(themeValues.hoverColor, "; }\n .stroke { stroke: ").concat(themeValues.hoverColor, "; }\n button { text-decoration: underline; text-decoration-color: ").concat(themeValues.hoverColor, "; }\n span { color: ").concat(themeValues.hoverColor, "; }\n }");
15352
15362
  var activeStyles = "\n &:active {\n .fill { fill: ".concat(themeValues.activeColor, "; }\n .stroke { stroke: ").concat(themeValues.activeColor, "; }\n button { text-decoration: underline; text-decoration-color: ").concat(themeValues.activeColor, "; }\n span { color: ").concat(themeValues.activeColor, "; }\n }");
15353
15363
  var defaultStyles = "\n min-height: 0;\n .fill { fill: ".concat(themeValues.color, "; }\n .stroke { stroke: ").concat(themeValues.color, "; }\n &:focus {\n outline: 3px solid ").concat(ROYAL_BLUE, ";\n outline-offset: 2px;\n }\n ");
@@ -15358,7 +15368,8 @@ var AddObligation = function AddObligation(_ref) {
15358
15368
  activeStyles: activeStyles,
15359
15369
  extraStyles: defaultStyles,
15360
15370
  onClick: action,
15361
- tabIndex: "0"
15371
+ tabIndex: "0",
15372
+ dataQa: dataQa
15362
15373
  }, /*#__PURE__*/React.createElement(Cover, {
15363
15374
  singleChild: true,
15364
15375
  minHeight: "100%"
@@ -15970,7 +15981,7 @@ var Title = function Title(_ref) {
15970
15981
 
15971
15982
  var Title$1 = themeComponent(Title, "Title", fallbacks, "large");
15972
15983
 
15973
- var color$3 = "#15749D";
15984
+ var color$3 = "#292A33";
15974
15985
  var fallbackValues$6 = {
15975
15986
  color: color$3
15976
15987
  };
@@ -39492,7 +39503,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
39492
39503
  variant: "tertiary",
39493
39504
  text: "Set Up ".concat(planType),
39494
39505
  action: function action() {
39495
- setDetailedObligation(obligations, config);
39506
+ setDetailedObligation(obligations, config, obligationAssocID);
39496
39507
  handleAutopayAction();
39497
39508
  },
39498
39509
  dataQa: "Set Up Autopay",
@@ -39600,7 +39611,6 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
39600
39611
  agencyName = _ref.agencyName,
39601
39612
  configType = _ref.configType,
39602
39613
  actions = _ref.actions;
39603
- console.log("actions are", actions);
39604
39614
 
39605
39615
  var _useState = useState(false),
39606
39616
  _useState2 = _slicedToArray(_useState, 2),