@thecb/components 7.7.0-beta.1 → 7.7.0-beta.2

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
@@ -6321,6 +6321,9 @@ var titleCaseString = function titleCaseString(string) {
6321
6321
  var renderCardStatus = function renderCardStatus(expirationStatus, expireDate) {
6322
6322
  var textAlign = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "right";
6323
6323
  var as = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "span";
6324
+ var ACTIVE = "ACTIVE";
6325
+ var EXPIRING_SOON = "EXPIRING_SOON";
6326
+ var EXPIRED = "EXPIRED";
6324
6327
 
6325
6328
  switch (expirationStatus) {
6326
6329
  case ACTIVE:
@@ -38871,8 +38874,8 @@ var EditableListItemControls = styled.div.withConfig({
38871
38874
  componentId: "sc-10ehkz7-1"
38872
38875
  })(["display:flex;justify-content:space-evenly;align-items:center;"]);
38873
38876
 
38874
- var ACTIVE$1 = "ACTIVE";
38875
- var EXPIRED$1 = "EXPIRED";
38877
+ var ACTIVE = "ACTIVE";
38878
+ var EXPIRED = "EXPIRED";
38876
38879
 
38877
38880
  var EditableList = function EditableList(_ref) {
38878
38881
  var _ref$title = _ref.title,
@@ -38929,13 +38932,13 @@ var EditableList = function EditableList(_ref) {
38929
38932
  modalOpen = _useState2[0],
38930
38933
  toggleModal = _useState2[1];
38931
38934
 
38932
- var expiredItem = (_item$expirationStatu = item === null || item === void 0 ? void 0 : item.expirationStatus) !== null && _item$expirationStatu !== void 0 ? _item$expirationStatu : ACTIVE$1;
38935
+ var expiredItem = (_item$expirationStatu = item === null || item === void 0 ? void 0 : item.expirationStatus) !== null && _item$expirationStatu !== void 0 ? _item$expirationStatu : ACTIVE;
38933
38936
  return /*#__PURE__*/React.createElement(EditableListItem, {
38934
38937
  listItemSize: !!item.id && autoPayMethods !== null && autoPayMethods !== void 0 && autoPayMethods.some(function (methodID) {
38935
38938
  return methodID === item.id;
38936
38939
  }) ? "big" : listItemSize,
38937
38940
  key: item.id || item,
38938
- disabled: expiredItem === EXPIRED$1
38941
+ disabled: expiredItem === EXPIRED
38939
38942
  }, /*#__PURE__*/React.createElement(Text$1, {
38940
38943
  variant: "p",
38941
38944
  color: CHARADE_GREY