@thecb/components 5.10.7 → 5.11.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "5.10.7",
3
+ "version": "5.11.2",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -68,8 +68,8 @@
68
68
  "react": "^16.13.1",
69
69
  "react-dom": "^16.13.1",
70
70
  "react-router-dom": "^6.3.0",
71
- "styled-theming": "^2.2.0",
72
- "styled-components": "^5.1.1"
71
+ "styled-components": "^5.1.1",
72
+ "styled-theming": "^2.2.0"
73
73
  },
74
74
  "husky": {
75
75
  "hooks": {
@@ -46,7 +46,11 @@ const PaymentDetailsContent = ({
46
46
  </Text>
47
47
  {voidableTransactionDetails.map(t => (
48
48
  <Cluster key={t.id} justify="space-between" align="center">
49
- <Cluster padding="0" align="center">
49
+ <Cluster
50
+ padding="0"
51
+ align="center"
52
+ extraStyles={`font-size: 14px;`}
53
+ >
50
54
  <Box padding="0">{t.voidText}</Box>
51
55
  <ButtonWithAction
52
56
  variant="ghost"
@@ -54,11 +58,11 @@ const PaymentDetailsContent = ({
54
58
  text="Void"
55
59
  padding="0"
56
60
  extraStyles={`
57
- min-width: 75px;
61
+ min-width: 65px;
58
62
  margin: 0px;
59
63
  min-height: 0px;
60
64
  `}
61
- textExtraStyles={`font-weight: ${FONT_WEIGHT_REGULAR}; font-size: 16px;`}
65
+ textExtraStyles={`font-weight: ${FONT_WEIGHT_REGULAR}; font-size: 14px;`}
62
66
  />
63
67
  </Cluster>
64
68
  <Box padding="0" key={t.id}>
@@ -70,7 +74,7 @@ const PaymentDetailsContent = ({
70
74
  <SolidDivider />
71
75
  </Box>
72
76
  <LabeledAmount
73
- extraStyles={`font-weight: ${FONT_WEIGHT_REGULAR};`}
77
+ extraStyles={`font-weight: ${FONT_WEIGHT_REGULAR}; font-size: 14px;`}
74
78
  label="Amount paid"
75
79
  amount={displayCurrency(voidableAmountPaid)}
76
80
  />
package/src/.DS_Store DELETED
Binary file