From c0426d502412e879ed443afa1d88a4342c1ef154 Mon Sep 17 00:00:00 2001 From: Tomasz Szymanski Date: Mon, 21 Dec 2020 14:03:22 +0100 Subject: [PATCH 1/3] Show hidden radio buttons of shipping method zip codes --- .../components/ShippingZoneZipCodes/ShippingZoneZipCodes.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/shipping/components/ShippingZoneZipCodes/ShippingZoneZipCodes.tsx b/src/shipping/components/ShippingZoneZipCodes/ShippingZoneZipCodes.tsx index b14fb03f4..b36b03f32 100644 --- a/src/shipping/components/ShippingZoneZipCodes/ShippingZoneZipCodes.tsx +++ b/src/shipping/components/ShippingZoneZipCodes/ShippingZoneZipCodes.tsx @@ -48,9 +48,6 @@ const useStyles = makeStyles( width: 80 }, colCode: {}, - hide: { - display: "none" - }, option: { marginBottom: theme.spacing(2), width: 400 @@ -100,7 +97,7 @@ const ShippingZoneZipCodes: React.FC = ({ } /> - + Date: Tue, 22 Dec 2020 12:22:23 +0100 Subject: [PATCH 2/3] Update snapshots --- src/storybook/__snapshots__/Stories.test.ts.snap | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/storybook/__snapshots__/Stories.test.ts.snap b/src/storybook/__snapshots__/Stories.test.ts.snap index 282d2dbd5..97476a595 100644 --- a/src/storybook/__snapshots__/Stories.test.ts.snap +++ b/src/storybook/__snapshots__/Stories.test.ts.snap @@ -15840,7 +15840,7 @@ exports[`Storyshots Shipping / ShippingZoneRatesCreatePage page create price 1`] class="CardTitle-hr-id" />
Date: Thu, 7 Jan 2021 09:44:49 +0100 Subject: [PATCH 3/3] Re-style radio buttons of zip codes inclusion type --- .../ShippingZoneZipCodes.tsx | 6 +- .../__snapshots__/Stories.test.ts.snap | 1094 ++++++++--------- 2 files changed, 550 insertions(+), 550 deletions(-) diff --git a/src/shipping/components/ShippingZoneZipCodes/ShippingZoneZipCodes.tsx b/src/shipping/components/ShippingZoneZipCodes/ShippingZoneZipCodes.tsx index b36b03f32..b4affd758 100644 --- a/src/shipping/components/ShippingZoneZipCodes/ShippingZoneZipCodes.tsx +++ b/src/shipping/components/ShippingZoneZipCodes/ShippingZoneZipCodes.tsx @@ -102,10 +102,9 @@ const ShippingZoneZipCodes: React.FC = ({ alignTop choices={[ { - disabled: true, label: (
- + = ({ value: ZipCodeInclusion.Exclude }, { + disabled: true, label: (
- + -
+ + + + + + + + + +