@thecb/components 6.0.3 → 6.0.7-beta.0
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 +13 -10
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +13 -10
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/src/components/atoms/checkbox/Checkbox.theme.js +4 -3
- package/src/components/atoms/form-layouts/FormLayouts.theme.js +3 -3
- package/src/components/molecules/account-and-routing-modal/AccountAndRoutingModal.theme.js +1 -1
- package/src/components/molecules/obligation/modules/AutopayModalModule.theme.js +1 -1
- package/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.js +3 -1
- package/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.theme.js +1 -1
- package/src/constants/colors.js +3 -1
package/package.json
CHANGED
package/src/.DS_Store
ADDED
|
Binary file
|
|
@@ -5,7 +5,8 @@ import {
|
|
|
5
5
|
SEASHELL_WHITE,
|
|
6
6
|
MATISSE_BLUE,
|
|
7
7
|
RED,
|
|
8
|
-
CHARADE_GREY
|
|
8
|
+
CHARADE_GREY,
|
|
9
|
+
STORM_GREY
|
|
9
10
|
} from "../../../constants/colors";
|
|
10
11
|
|
|
11
12
|
const backgroundColor = { default: `${TRANSPARENT}` };
|
|
@@ -29,7 +30,7 @@ const disabledCheckedStyles = {
|
|
|
29
30
|
const disabledStyles = {
|
|
30
31
|
default: `
|
|
31
32
|
background: ${SEASHELL_WHITE};
|
|
32
|
-
border: 1px solid ${
|
|
33
|
+
border: 1px solid ${STORM_GREY};
|
|
33
34
|
`
|
|
34
35
|
};
|
|
35
36
|
const checkedStyles = {
|
|
@@ -41,7 +42,7 @@ const checkedStyles = {
|
|
|
41
42
|
const defaultStyles = {
|
|
42
43
|
default: `
|
|
43
44
|
background: ${WHITE};
|
|
44
|
-
border: 1px solid ${
|
|
45
|
+
border: 1px solid ${STORM_GREY};
|
|
45
46
|
`
|
|
46
47
|
};
|
|
47
48
|
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
SEASHELL_WHITE,
|
|
6
6
|
MINESHAFT_GREY,
|
|
7
7
|
DUSTY_GREY,
|
|
8
|
-
GREY_CHATEAU,
|
|
9
8
|
ATHENS_GREY,
|
|
10
|
-
INFO_BLUE
|
|
9
|
+
INFO_BLUE,
|
|
10
|
+
STORM_GREY
|
|
11
11
|
} from "../../../constants/colors";
|
|
12
12
|
import { FONT_WEIGHT_REGULAR } from "../../../constants/style_constants";
|
|
13
13
|
|
|
@@ -25,7 +25,7 @@ const inputBackgroundColor = {
|
|
|
25
25
|
};
|
|
26
26
|
const color = { default: `${MINESHAFT_GREY}`, disabled: `${DUSTY_GREY}` };
|
|
27
27
|
const labelColor = { default: `${CHARADE_GREY}`, disabled: `${CHARADE_GREY}` };
|
|
28
|
-
const borderColor = { default: `${
|
|
28
|
+
const borderColor = { default: `${STORM_GREY}`, disabled: `${STORM_GREY}` };
|
|
29
29
|
const lineHeight = { default: "1rem", disabled: "1rem" };
|
|
30
30
|
const fontSize = { default: "0.875rem", disabled: "0.875rem" };
|
|
31
31
|
const errorFontSize = { default: "0.75rem", disabled: "0.75rem" };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FONT_WEIGHT_REGULAR } from "../../../constants/style_constants";
|
|
2
2
|
|
|
3
|
-
const linkColor = { default: "#
|
|
3
|
+
const linkColor = { default: "#3176AA" };
|
|
4
4
|
const fontSize = { default: "1rem" };
|
|
5
5
|
const lineHeight = { default: "1.5rem" };
|
|
6
6
|
const fontWeight = {
|
|
@@ -3,7 +3,7 @@ import { FONT_WEIGHT_REGULAR } from "../../../../constants/style_constants";
|
|
|
3
3
|
const color = "#15749D";
|
|
4
4
|
const hoverColor = "#116285";
|
|
5
5
|
const activeColor = "#0E506D";
|
|
6
|
-
const linkColor = "#
|
|
6
|
+
const linkColor = "#3176AA";
|
|
7
7
|
const fontWeight = FONT_WEIGHT_REGULAR;
|
|
8
8
|
const modalLinkHoverFocus = `outline: none;
|
|
9
9
|
cursor: pointer;
|
|
@@ -28,7 +28,9 @@ const TermsAndConditionsModal = ({
|
|
|
28
28
|
borderRadius="3px"
|
|
29
29
|
extraStyles="overflow: scroll; max-height: 20rem;"
|
|
30
30
|
>
|
|
31
|
-
<Text variant="p"
|
|
31
|
+
<Text variant="p" extraStyles={`& a { text-decoration: underline; }`}>
|
|
32
|
+
{terms}
|
|
33
|
+
</Text>
|
|
32
34
|
</Box>
|
|
33
35
|
}
|
|
34
36
|
defaultWrapper={false}
|
package/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.theme.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "../../../constants/style_constants";
|
|
5
5
|
|
|
6
6
|
const backgroundColor = { default: "#ffffff", footer: "#ffffff" };
|
|
7
|
-
const linkColor = { default: "#
|
|
7
|
+
const linkColor = { default: "#3176AA", footer: "#ffffff" };
|
|
8
8
|
const border = { default: "#cdcdcd", footer: "#cdcdcd" };
|
|
9
9
|
const fontSize = { default: "1rem", footer: "0.875rem" };
|
|
10
10
|
const lineHeight = { default: "1.5rem", footer: "1.25rem" };
|
package/src/constants/colors.js
CHANGED
|
@@ -53,6 +53,7 @@ const INFO_BLUE = "#E4F4FD";
|
|
|
53
53
|
const HOVER_LIGHT_BLUE = "#EFFAFF";
|
|
54
54
|
const MATISSE_BLUE = "#15749D";
|
|
55
55
|
const ROYAL_BLUE = "#3181E3";
|
|
56
|
+
const ASTRAL_BLUE = "#3176AA";
|
|
56
57
|
// GREEN
|
|
57
58
|
const FOREST_GREEN = "#19b03F";
|
|
58
59
|
const MEADOW_GREEN = "#16C98D";
|
|
@@ -74,7 +75,7 @@ const APRICOT_ORANGE = "#FFE8D8";
|
|
|
74
75
|
const RED = "#FF0000";
|
|
75
76
|
const CRIMSON_RED = "#ED1C24";
|
|
76
77
|
const THUNDERBIRD_RED = "#C3191F";
|
|
77
|
-
const RAZZMATAZZ_RED = "#
|
|
78
|
+
const RAZZMATAZZ_RED = "#D11053";
|
|
78
79
|
const FANTASY_RED = "#FCF4F4";
|
|
79
80
|
const COSMOS_RED = "#FFD0D3";
|
|
80
81
|
const BLUSH_RED = "#FFF0F5";
|
|
@@ -159,6 +160,7 @@ export {
|
|
|
159
160
|
HOVER_LIGHT_BLUE,
|
|
160
161
|
MATISSE_BLUE,
|
|
161
162
|
ROYAL_BLUE,
|
|
163
|
+
ASTRAL_BLUE,
|
|
162
164
|
FOREST_GREEN,
|
|
163
165
|
MEADOW_GREEN,
|
|
164
166
|
POLAR_GREEN,
|