@faststore/ui 1.4.1 → 1.4.2
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/CHANGELOG.md +11 -0
- package/dist/ui.cjs.development.js +1 -4
- package/dist/ui.cjs.development.js.map +1 -1
- package/dist/ui.cjs.production.min.js +1 -1
- package/dist/ui.cjs.production.min.js.map +1 -1
- package/dist/ui.esm.js +1 -4
- package/dist/ui.esm.js.map +1 -1
- package/package.json +3 -3
- package/src/molecules/PaymentMethods/PaymentMethods.tsx +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 1.4.2 (2022-01-03)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **ui:** removing aria-labelledby from payment methods component ([#1092](https://github.com/vtex/faststore/issues/1092)) ([bf4c7a9](https://github.com/vtex/faststore/commit/bf4c7a981c379ffb1777a2fd8cae787f735f7d2d))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## 1.4.1 (2022-01-03)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @faststore/ui
|
|
@@ -1087,11 +1087,8 @@ const PaymentMethods = /*#__PURE__*/React.forwardRef(function PaymentMethods({
|
|
|
1087
1087
|
ref: ref,
|
|
1088
1088
|
"data-store-payment-methods": true,
|
|
1089
1089
|
"data-testid": testId
|
|
1090
|
-
}, otherProps), !!title && React__default.createElement("div", {
|
|
1091
|
-
id: "payment-methods"
|
|
1092
|
-
}, title), React__default.createElement("div", {
|
|
1090
|
+
}, otherProps), !!title && React__default.createElement("div", null, title), React__default.createElement("div", {
|
|
1093
1091
|
"data-payment-methods-flags": true,
|
|
1094
|
-
"aria-labelledby": title ? 'payment-methods' : undefined,
|
|
1095
1092
|
"aria-label": title ? undefined : ariaLabel
|
|
1096
1093
|
}, children));
|
|
1097
1094
|
});
|