From 62a5ed1a4b2932903300d9bc9c65093b9d82028d Mon Sep 17 00:00:00 2001 From: Paco <98311841+Fbenitez97@users.noreply.github.com> Date: Wed, 23 Nov 2022 10:09:44 +0100 Subject: [PATCH 1/3] Update Czech Republic regions. Modified the shortCodes so what the address form component expects and what the Checkout UI custom APP sends is aligned. --- checkout-ui-custom/src/_js/_countries.js | 30 ++++++++++++------------ 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/checkout-ui-custom/src/_js/_countries.js b/checkout-ui-custom/src/_js/_countries.js index 6112e417..ea9073c4 100644 --- a/checkout-ui-custom/src/_js/_countries.js +++ b/checkout-ui-custom/src/_js/_countries.js @@ -4650,65 +4650,65 @@ module.exports._cities = [ }, ], }, - { +{ countryName: 'Czech Republic', countryShortCode: 'CZ', regions: [ { name: 'Hlavní město Praha', - shortCode: 'PR', + shortCode: 'Hlavní město Praha', }, { name: 'Jihočeský kraj', - shortCode: 'JC', + shortCode: 'Jihočeský kraj', }, { name: 'Jihomoravský kraj', - shortCode: 'JM', + shortCode: 'Jihomoravský kraj', }, { name: 'Karlovarský kraj', - shortCode: 'KA', + shortCode: 'Karlovarský kraj', }, { name: 'Královéhradecký kraj', - shortCode: 'KR', + shortCode: 'Královéhradecký kraj', }, { name: 'Liberecký kraj', - shortCode: 'LI', + shortCode: 'Liberecký kraj', }, { name: 'Moravskoslezský kraj', - shortCode: 'MO', + shortCode: 'Moravskoslezský kraj', }, { name: 'Olomoucký kraj', - shortCode: 'OL', + shortCode: 'Olomoucký kraj', }, { name: 'Pardubický kraj', - shortCode: 'PA', + shortCode: 'Pardubický kraj', }, { name: 'Plzeňský kraj', - shortCode: 'PL', + shortCode: 'Plzeňský kraj', }, { name: 'Středočeský kraj', - shortCode: 'ST', + shortCode: 'Středočeský kraj', }, { name: 'Ústecký kraj', - shortCode: 'US', + shortCode: 'Ústecký kraj', }, { name: 'Vysočina', - shortCode: 'VY', + shortCode: 'Vysočina', }, { name: 'Zlínský kraj', - shortCode: 'ZL', + shortCode: 'Zlínský kraj', }, ], }, From 5e56b3babdf99ac57eee1952d346aa4174c67cc8 Mon Sep 17 00:00:00 2001 From: Paco <98311841+Fbenitez97@users.noreply.github.com> Date: Wed, 23 Nov 2022 10:12:39 +0100 Subject: [PATCH 2/3] Update CHANGELOG.md --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef882b90..d72ca3ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [0.8.29] - 2022-11-23 + +## Fixed + +Modified the shortCodes for Czech Republic so what the address form component expects and what the Checkout UI custom APP sends is aligned. + ## [0.8.28] - 2022-11-15 ### Fixed From 831d76d7b753f1bc1770f31427f555719be7561e Mon Sep 17 00:00:00 2001 From: Paco <98311841+Fbenitez97@users.noreply.github.com> Date: Wed, 23 Nov 2022 10:46:01 +0100 Subject: [PATCH 3/3] Update CHANGELOG.md --- CHANGELOG.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d72ca3ce..6d78ddd4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,8 +7,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] -## [0.8.29] - 2022-11-23 - ## Fixed Modified the shortCodes for Czech Republic so what the address form component expects and what the Checkout UI custom APP sends is aligned.