@comicrelief/component-library 8.10.2 → 8.12.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.
@@ -79,7 +79,7 @@ jobs:
79
79
  run: yarn install --frozen-lockfile --ignore-scripts
80
80
 
81
81
  - name: Install playwright browsers
82
- run: yarn playwright install --with-deps chromium
82
+ run: yarn playwright install chromium
83
83
 
84
84
  - name: Run end-to-end tests
85
85
  run: yarn test:e2e:ci
@@ -35,7 +35,6 @@ const KEY_CODE_ENTER = 13;
35
35
  * - only throw errors with user-friendly messages
36
36
  *
37
37
  * Any errors thrown will be caught and the message will be displayed to the user.
38
- *
39
38
  * The `onSelect` function will receive the chosen option.
40
39
  *
41
40
  * @param name
@@ -118,7 +117,8 @@ const Lookup = _ref2 => {
118
117
  onClick: () => handler(),
119
118
  loading: isSearching,
120
119
  disabled: isSearching,
121
- loadingText: "Searching"
120
+ loadingText: "Searching",
121
+ "data-test": "lookupButton"
122
122
  }, buttonText));
123
123
  };
124
124
  var _default = exports.default = Lookup;
@@ -63,6 +63,14 @@ const colors = {
63
63
  rnd_24_teal_dark: '#2B7C77',
64
64
  rnd_24_pink_dark: '#A67E94',
65
65
  rnd_24_blue: '#3367AF',
66
+ rnd_25_ruby_red: '#AE001B',
67
+ rnd_25_glitzy_grape: '#A20C51',
68
+ rnd_25_glitzy_blue: '#0F1953',
69
+ rnd_25_glitzy_purple: '#3A1F62',
70
+ rnd_25_glitzy_black: '#2B3737',
71
+ rnd_25_party_pink: '#FF9DEC',
72
+ rnd_25_party_blue: '#004EFF',
73
+ rnd_25_party_lilac: '#B07FEA',
66
74
  teal: '#4ECDBE',
67
75
  teal_dark: '#13767C',
68
76
  teal_light: '#86E4E9',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@comicrelief/component-library",
3
3
  "author": "Comic Relief Engineering Team",
4
- "version": "8.10.2",
4
+ "version": "8.12.0",
5
5
  "main": "dist/index.js",
6
6
  "license": "ISC",
7
7
  "jest": {
@@ -11,7 +11,6 @@ const StyledButton = styled(ButtonWithStates)`${({ theme }) => css`
11
11
  background-color: ${theme.color('white')};
12
12
  padding-left: ${spacing('lg')};
13
13
  padding-right: ${spacing('lg')};
14
-
15
14
  &:hover {
16
15
  color: ${theme.color('grey_dark')};
17
16
  background-color: ${theme.color('white')};
@@ -33,7 +32,6 @@ const KEY_CODE_ENTER = 13;
33
32
  * - only throw errors with user-friendly messages
34
33
  *
35
34
  * Any errors thrown will be caught and the message will be displayed to the user.
36
- *
37
35
  * The `onSelect` function will receive the chosen option.
38
36
  *
39
37
  * @param name
@@ -121,6 +119,7 @@ const Lookup = ({
121
119
  loading={isSearching}
122
120
  disabled={isSearching}
123
121
  loadingText="Searching"
122
+ data-test="lookupButton"
124
123
  >
125
124
  {buttonText}
126
125
  </StyledButton>
@@ -57,6 +57,14 @@ const colors = {
57
57
  rnd_24_teal_dark: '#2B7C77',
58
58
  rnd_24_pink_dark: '#A67E94',
59
59
  rnd_24_blue: '#3367AF',
60
+ rnd_25_ruby_red: '#AE001B',
61
+ rnd_25_glitzy_grape: '#A20C51',
62
+ rnd_25_glitzy_blue: '#0F1953',
63
+ rnd_25_glitzy_purple: '#3A1F62',
64
+ rnd_25_glitzy_black: '#2B3737',
65
+ rnd_25_party_pink: '#FF9DEC',
66
+ rnd_25_party_blue: '#004EFF',
67
+ rnd_25_party_lilac: '#B07FEA',
60
68
  teal: '#4ECDBE',
61
69
  teal_dark: '#13767C',
62
70
  teal_light: '#86E4E9',