From 42b6d91909239c636ab57ef6ad3ed7feaf4b5b05 Mon Sep 17 00:00:00 2001 From: Aanchal Pawar <97873570+glo82145@users.noreply.github.com> Date: Fri, 11 Nov 2022 23:44:14 +0530 Subject: [PATCH] AC-2492::Missing visual text label for buttons (#3952) * AC-2492::Missing visual text label for buttons * AC-2492::Missing visual text label for buttons * AC-2492::added lint and preetier command feedabck * AC-2492::made changes according to thr PR comment * AC-2492::run yarn prettier on swatch.spec.js * AC-2492::run yarn prettier on swatch.spec.js * AC-2492::run yarn prettier on swatch.spec.js Co-authored-by: James Calcaben Co-authored-by: Devagouda <40405790+dpatil-magento@users.noreply.github.com> --- .../__tests__/__snapshots__/swatch.spec.js.snap | 6 ++++++ .../__tests__/__snapshots__/swatchList.spec.js.snap | 1 + .../lib/components/ProductOptions/__tests__/swatch.spec.js | 3 ++- packages/venia-ui/lib/components/ProductOptions/option.js | 1 + packages/venia-ui/lib/components/ProductOptions/swatch.js | 7 +++++-- .../venia-ui/lib/components/ProductOptions/swatchList.js | 7 +++++-- 6 files changed, 20 insertions(+), 5 deletions(-) diff --git a/packages/venia-ui/lib/components/ProductOptions/__tests__/__snapshots__/swatch.spec.js.snap b/packages/venia-ui/lib/components/ProductOptions/__tests__/__snapshots__/swatch.spec.js.snap index 5bdb8560ca..dec380f1af 100644 --- a/packages/venia-ui/lib/components/ProductOptions/__tests__/__snapshots__/swatch.spec.js.snap +++ b/packages/venia-ui/lib/components/ProductOptions/__tests__/__snapshots__/swatch.spec.js.snap @@ -2,6 +2,7 @@ exports[`appends "_focused" to className if hasFocus is true 1`] = `