@comicrelief/component-library 7.23.1 → 7.23.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/dist/components/Organisms/ImpactSlider/ImpactSlider.js +2 -1
- package/dist/components/Organisms/ImpactSlider/ImpactSlider.md +2 -2
- package/dist/components/Organisms/ImpactSlider/ImpactSlider.style.js +1 -1
- package/package.json +1 -1
- package/src/components/Organisms/ImpactSlider/ImpactSlider.js +1 -1
- package/src/components/Organisms/ImpactSlider/ImpactSlider.md +2 -2
- package/src/components/Organisms/ImpactSlider/ImpactSlider.style.js +0 -1
|
@@ -41,7 +41,8 @@ var ImpactSlider = function ImpactSlider(_ref) {
|
|
|
41
41
|
(0, _utils.default)(currentAmount, donateLink, cartID, rowID);
|
|
42
42
|
};
|
|
43
43
|
return /*#__PURE__*/_react.default.createElement(_ImpactSlider.OuterWrapper, {
|
|
44
|
-
backgroundColour: backgroundColour
|
|
44
|
+
backgroundColour: backgroundColour,
|
|
45
|
+
id: rowID
|
|
45
46
|
}, /*#__PURE__*/_react.default.createElement(_ImpactSlider.InnerWrapper, null, /*#__PURE__*/_react.default.createElement(_Text.default, {
|
|
46
47
|
tag: "h1",
|
|
47
48
|
family: "Anton",
|
|
@@ -7,7 +7,7 @@ import Text from '../../Atoms/Text/Text';
|
|
|
7
7
|
<ImpactSlider
|
|
8
8
|
heading="Your donations will change lives"
|
|
9
9
|
donateLink="https://donation-staging.spa.comicrelief.com"
|
|
10
|
-
rowID="
|
|
10
|
+
rowID="c7ba23a5-0594-5da4-a14b-8ea87f41db43"
|
|
11
11
|
cartID="to-also-come-from-the-cms"
|
|
12
12
|
items={testImpactSliderItems}
|
|
13
13
|
step={5}
|
|
@@ -28,7 +28,7 @@ import Text from '../../Atoms/Text/Text';
|
|
|
28
28
|
<ImpactSlider
|
|
29
29
|
heading="Your donations will change lives"
|
|
30
30
|
donateLink="https://donation-staging.spa.comicrelief.com"
|
|
31
|
-
rowID="
|
|
31
|
+
rowID="d7ba23a5-0594-5da4-a14b-8ea87f41db43"
|
|
32
32
|
cartID="to-also-come-from-the-cms"
|
|
33
33
|
items={testImpactSliderItems}
|
|
34
34
|
step={5}
|
|
@@ -11,7 +11,7 @@ var _Button = _interopRequireDefault(require("../../Atoms/Button/Button"));
|
|
|
11
11
|
var OuterWrapper = exports.OuterWrapper = _styledComponents.default.div.withConfig({
|
|
12
12
|
displayName: "ImpactSliderstyle__OuterWrapper",
|
|
13
13
|
componentId: "sc-1fpimol-0"
|
|
14
|
-
})(["position:relative;
|
|
14
|
+
})(["position:relative;max-width:100%;background-color:", ";padding:32px 16px;@media ", "{padding:50px;}@media ", "{padding:64px 0;}"], function (props) {
|
|
15
15
|
return props.theme.color("".concat(props.backgroundColour));
|
|
16
16
|
}, function (_ref) {
|
|
17
17
|
var theme = _ref.theme;
|
package/package.json
CHANGED
|
@@ -28,7 +28,7 @@ const ImpactSlider = ({
|
|
|
28
28
|
};
|
|
29
29
|
|
|
30
30
|
return (
|
|
31
|
-
<OuterWrapper backgroundColour={backgroundColour}>
|
|
31
|
+
<OuterWrapper backgroundColour={backgroundColour} id={rowID}>
|
|
32
32
|
<InnerWrapper>
|
|
33
33
|
<Text tag="h1" family="Anton" uppercase weight="normal" size="xl">{heading}</Text>
|
|
34
34
|
<Copy>
|
|
@@ -7,7 +7,7 @@ import Text from '../../Atoms/Text/Text';
|
|
|
7
7
|
<ImpactSlider
|
|
8
8
|
heading="Your donations will change lives"
|
|
9
9
|
donateLink="https://donation-staging.spa.comicrelief.com"
|
|
10
|
-
rowID="
|
|
10
|
+
rowID="c7ba23a5-0594-5da4-a14b-8ea87f41db43"
|
|
11
11
|
cartID="to-also-come-from-the-cms"
|
|
12
12
|
items={testImpactSliderItems}
|
|
13
13
|
step={5}
|
|
@@ -28,7 +28,7 @@ import Text from '../../Atoms/Text/Text';
|
|
|
28
28
|
<ImpactSlider
|
|
29
29
|
heading="Your donations will change lives"
|
|
30
30
|
donateLink="https://donation-staging.spa.comicrelief.com"
|
|
31
|
-
rowID="
|
|
31
|
+
rowID="d7ba23a5-0594-5da4-a14b-8ea87f41db43"
|
|
32
32
|
cartID="to-also-come-from-the-cms"
|
|
33
33
|
items={testImpactSliderItems}
|
|
34
34
|
step={5}
|