@comicrelief/component-library 7.24.2 → 7.26.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/components/Organisms/Donate/Donate.js +12 -3
- package/dist/components/Organisms/Donate/Donate.md +140 -0
- package/dist/components/Organisms/Donate/Form/Form.js +44 -19
- package/dist/components/Organisms/Donate/GivingSelector/GivingSelector.js +3 -0
- package/dist/components/Organisms/Donate/__snapshots__/Donate.test.js.snap +84 -300
- package/dist/components/Organisms/Donate/dev-data/data-monthly.js +22 -0
- package/package.json +1 -1
- package/src/components/Organisms/Donate/Donate.js +15 -3
- package/src/components/Organisms/Donate/Donate.md +140 -0
- package/src/components/Organisms/Donate/Form/Form.js +60 -25
- package/src/components/Organisms/Donate/GivingSelector/GivingSelector.js +5 -1
- package/src/components/Organisms/Donate/__snapshots__/Donate.test.js.snap +84 -300
- package/src/components/Organisms/Donate/dev-data/data-monthly.js +23 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
cartId: 'monthly-only',
|
|
3
|
+
singleGiving: null,
|
|
4
|
+
regularGiving: {
|
|
5
|
+
moneybuys: [
|
|
6
|
+
{
|
|
7
|
+
description:
|
|
8
|
+
'a regular supply of toiletries for someone living in a refugee camp in Serbia.',
|
|
9
|
+
value: '5.50'
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
description:
|
|
13
|
+
'a potentially lifesaving call for a man at risk of suicide in the UK.',
|
|
14
|
+
value: '10'
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
description:
|
|
18
|
+
'the distribution of enough surplus food for a school breakfast club to feed 80 children.',
|
|
19
|
+
value: '20'
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
};
|