From 50ec7e378ed45d9653dd99663997e6ef0b6c5a75 Mon Sep 17 00:00:00 2001 From: qtp Date: Tue, 21 May 2024 11:55:31 +0200 Subject: [PATCH] f-header@v10.20.0 Stop Portugal, Romania, and New Zealand support & adding Slovakia country (#2529) * Remove PT, RO, and NZ support in f-header component * bumb * Support Slovakia * update icon imports --- .../organisms/f-header/CHANGELOG.md | 9 +++ .../organisms/f-header/package.json | 2 +- .../f-header/src/components/FlagIcon.vue | 48 ++++++------ .../src/components/_tests/Header.test.js | 14 ---- .../f-header/src/tenants/countryList.js | 36 +++------ .../organisms/f-header/src/tenants/en-NZ.js | 74 ------------------- .../organisms/f-header/src/tenants/index.js | 2 - .../f-header/stories/header.stories.js | 2 +- .../accessibility/axe-accessibility.spec.js | 1 - .../test/component/f-header.component.spec.js | 6 +- .../visual/f-header.visual.desktop.spec.js | 2 - .../visual/f-header.visual.mobile.spec.js | 2 - 12 files changed, 44 insertions(+), 154 deletions(-) delete mode 100644 packages/components/organisms/f-header/src/tenants/en-NZ.js diff --git a/packages/components/organisms/f-header/CHANGELOG.md b/packages/components/organisms/f-header/CHANGELOG.md index f00fc54c85..6c53417785 100644 --- a/packages/components/organisms/f-header/CHANGELOG.md +++ b/packages/components/organisms/f-header/CHANGELOG.md @@ -3,6 +3,15 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## v10.20.0 + +_May 16, 2024_ + +### Changed + +- Stop Portugal, Romania, and New Zealand support. +- Support new country Slovakia. + ## v10.19.0 _March 13, 2024_ diff --git a/packages/components/organisms/f-header/package.json b/packages/components/organisms/f-header/package.json index 955166d4df..e3b6a87364 100644 --- a/packages/components/organisms/f-header/package.json +++ b/packages/components/organisms/f-header/package.json @@ -1,7 +1,7 @@ { "name": "@justeat/f-header", "description": "Fozzie Header - Globalised Header Component", - "version": "10.19.0", + "version": "10.20.0", "main": "dist/f-header.umd.min.js", "maxBundleSize": "55kB", "files": [ diff --git a/packages/components/organisms/f-header/src/components/FlagIcon.vue b/packages/components/organisms/f-header/src/components/FlagIcon.vue index f52ecdfc26..3fcd42cc27 100644 --- a/packages/components/organisms/f-header/src/components/FlagIcon.vue +++ b/packages/components/organisms/f-header/src/components/FlagIcon.vue @@ -4,28 +4,26 @@