@guardian/atoms-rendering
Advanced tools
Comparing version 23.2.0 to 23.2.1
# @guardian/atoms-rendering | ||
## 23.2.1 | ||
### Patch Changes | ||
- 9a0c753: Adding improved labels to like & dislike button for Q&A atom | ||
## 23.2.0 | ||
@@ -4,0 +10,0 @@ |
@@ -51,7 +51,7 @@ "use strict"; | ||
` }, { children: [jsx_runtime_1.jsx("div", { children: "Was this helpful?" }, void 0), | ||
jsx_runtime_1.jsx("button", Object.assign({ "data-testid": "like", css: buttonStyling, onClick: () => { | ||
jsx_runtime_1.jsx("button", Object.assign({ "aria-label": "yes, this was helpful", "data-testid": "like", css: buttonStyling, onClick: () => { | ||
likeHandler(); | ||
setShowThankYou(true); | ||
} }, { children: jsx_runtime_1.jsx(ThumbImage, {}, void 0) }), void 0), | ||
jsx_runtime_1.jsx("button", Object.assign({ css: [ | ||
jsx_runtime_1.jsx("button", Object.assign({ "aria-label": "no, this was not helpful", css: [ | ||
buttonStyling, | ||
@@ -58,0 +58,0 @@ react_2.css ` |
@@ -48,7 +48,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime"; | ||
` }, { children: [_jsx("div", { children: "Was this helpful?" }, void 0), | ||
_jsx("button", Object.assign({ "data-testid": "like", css: buttonStyling, onClick: () => { | ||
_jsx("button", Object.assign({ "aria-label": "yes, this was helpful", "data-testid": "like", css: buttonStyling, onClick: () => { | ||
likeHandler(); | ||
setShowThankYou(true); | ||
} }, { children: _jsx(ThumbImage, {}, void 0) }), void 0), | ||
_jsx("button", Object.assign({ css: [ | ||
_jsx("button", Object.assign({ "aria-label": "no, this was not helpful", css: [ | ||
buttonStyling, | ||
@@ -55,0 +55,0 @@ css ` |
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "23.2.0", | ||
"version": "23.2.1", | ||
"source": "src/index.ts", | ||
@@ -10,0 +10,0 @@ "main": "dist/commonjs/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
248778