@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "7.7.0-beta.1",
3
+ "version": "7.7.0-beta.3",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -192,7 +192,7 @@ const RadioSection = ({
192
192
  </Cluster>
193
193
  )}
194
194
  {section.rightTitleContent && (
195
- <Fragment>{rightTitleContent}</Fragment>
195
+ <Fragment>{section.rightTitleContent}</Fragment>
196
196
  )}
197
197
  </Cluster>
198
198
  </Box>
@@ -167,6 +167,10 @@ export const renderCardStatus = (
167
167
  textAlign = "right",
168
168
  as = "span"
169
169
  ) => {
170
+ const ACTIVE = "ACTIVE";
171
+ const EXPIRING_SOON = "EXPIRING_SOON";
172
+ const EXPIRED = "EXPIRED";
173
+
170
174
  switch (expirationStatus) {
171
175
  case ACTIVE:
172
176
  return (