@thecb/components 7.7.0-beta.1 → 7.7.0-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 CHANGED
@@ -6329,6 +6329,9 @@ var titleCaseString = function titleCaseString(string) {
6329
6329
  var renderCardStatus = function renderCardStatus(expirationStatus, expireDate) {
6330
6330
  var textAlign = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "right";
6331
6331
  var as = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "span";
6332
+ var ACTIVE = "ACTIVE";
6333
+ var EXPIRING_SOON = "EXPIRING_SOON";
6334
+ var EXPIRED = "EXPIRED";
6332
6335
 
6333
6336
  switch (expirationStatus) {
6334
6337
  case ACTIVE:
@@ -38879,8 +38882,8 @@ var EditableListItemControls = styled__default.div.withConfig({
38879
38882
  componentId: "sc-10ehkz7-1"
38880
38883
  })(["display:flex;justify-content:space-evenly;align-items:center;"]);
38881
38884
 
38882
- var ACTIVE$1 = "ACTIVE";
38883
- var EXPIRED$1 = "EXPIRED";
38885
+ var ACTIVE = "ACTIVE";
38886
+ var EXPIRED = "EXPIRED";
38884
38887
 
38885
38888
  var EditableList = function EditableList(_ref) {
38886
38889
  var _ref$title = _ref.title,
@@ -38937,13 +38940,13 @@ var EditableList = function EditableList(_ref) {
38937
38940
  modalOpen = _useState2[0],
38938
38941
  toggleModal = _useState2[1];
38939
38942
 
38940
- var expiredItem = (_item$expirationStatu = item === null || item === void 0 ? void 0 : item.expirationStatus) !== null && _item$expirationStatu !== void 0 ? _item$expirationStatu : ACTIVE$1;
38943
+ var expiredItem = (_item$expirationStatu = item === null || item === void 0 ? void 0 : item.expirationStatus) !== null && _item$expirationStatu !== void 0 ? _item$expirationStatu : ACTIVE;
38941
38944
  return /*#__PURE__*/React__default.createElement(EditableListItem, {
38942
38945
  listItemSize: !!item.id && autoPayMethods !== null && autoPayMethods !== void 0 && autoPayMethods.some(function (methodID) {
38943
38946
  return methodID === item.id;
38944
38947
  }) ? "big" : listItemSize,
38945
38948
  key: item.id || item,
38946
- disabled: expiredItem === EXPIRED$1
38949
+ disabled: expiredItem === EXPIRED
38947
38950
  }, /*#__PURE__*/React__default.createElement(Text$1, {
38948
38951
  variant: "p",
38949
38952
  color: CHARADE_GREY
@@ -46809,7 +46812,7 @@ var RadioSection = function RadioSection(_ref) {
46809
46812
  isMobile: isMobile,
46810
46813
  alt: icon.altText
46811
46814
  });
46812
- })), section.rightTitleContent && /*#__PURE__*/React__default.createElement(React.Fragment, null, rightTitleContent))), /*#__PURE__*/React__default.createElement(AnimatePresence, {
46815
+ })), section.rightTitleContent && /*#__PURE__*/React__default.createElement(React.Fragment, null, section.rightTitleContent))), /*#__PURE__*/React__default.createElement(AnimatePresence, {
46813
46816
  initial: false
46814
46817
  }, openSection === section.id && /*#__PURE__*/React__default.createElement(Motion, {
46815
46818
  key: "content-".concat(section.id),