From ca0deae927951d841cc97a6a3abfda9ab765894c Mon Sep 17 00:00:00 2001 From: Stavros Tomas <55188371+stavros-tomas@users.noreply.github.com> Date: Wed, 19 Jun 2024 10:38:49 +0100 Subject: [PATCH] [CHUX-687] More tweaks for new navigation (#1987) * CHUX-687:chore:more tweaks for navigation * CHUX-687:chore:update snaps * 2.8.12 --- package-lock.json | 4 ++-- package.json | 2 +- .../ec-navigation-link/ec-navigation-link.vue | 4 +++- .../__snapshots__/ec-navigation.spec.ts.snap | 8 +++---- .../ec-navigation/ec-navigation.vue | 22 ++++++++++++------- 5 files changed, 24 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index 33470aba5..28c872f88 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@ebury/chameleon-components", - "version": "2.8.11", + "version": "2.8.12", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@ebury/chameleon-components", - "version": "2.8.11", + "version": "2.8.12", "license": "MIT", "dependencies": { "@vueuse/core": "10.9.0", diff --git a/package.json b/package.json index 9796dfa18..a79412a51 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ebury/chameleon-components", - "version": "2.8.11", + "version": "2.8.12", "main": "src/main.ts", "sideEffects": false, "author": "Ebury Team (http://labs.ebury.rocks/)", diff --git a/src/components/ec-navigation-link/ec-navigation-link.vue b/src/components/ec-navigation-link/ec-navigation-link.vue index 6c1f2e88b..6e80976db 100644 --- a/src/components/ec-navigation-link/ec-navigation-link.vue +++ b/src/components/ec-navigation-link/ec-navigation-link.vue @@ -87,7 +87,7 @@ withDefaults(defineProps(), { @import '../../styles/tools/transitions.css'; .ec-navigation-link { - @apply tw-small-text; + @apply tw-h6; @apply tw-py-12 tw-px-24; @apply tw-flex tw-items-center; @apply tw-no-underline; @@ -163,9 +163,11 @@ withDefaults(defineProps(), { } &--light-mode { + @apply tw-small-text; @apply tw-px-0 tw-py-16; @apply tw-text-gray-3; @apply tw-bg-transparent; + @apply tw-capitalize; &:hover { @apply tw-text-gray-2; diff --git a/src/components/ec-navigation/__snapshots__/ec-navigation.spec.ts.snap b/src/components/ec-navigation/__snapshots__/ec-navigation.spec.ts.snap index 5001784e8..15a41e98b 100644 --- a/src/components/ec-navigation/__snapshots__/ec-navigation.spec.ts.snap +++ b/src/components/ec-navigation/__snapshots__/ec-navigation.spec.ts.snap @@ -49,7 +49,7 @@ exports[`EcNavigation > mobile navigation > should close the mobile navigation w > @@ -135,7 +135,7 @@ exports[`EcNavigation > mobile navigation > should close the mobile navigation w > @@ -224,7 +224,7 @@ exports[`EcNavigation > mobile navigation > should show render the mobile naviga > @@ -310,7 +310,7 @@ exports[`EcNavigation > should apply light mode CSS classes if "isInLightMode" p > diff --git a/src/components/ec-navigation/ec-navigation.vue b/src/components/ec-navigation/ec-navigation.vue index aefa77aa7..6a537d256 100644 --- a/src/components/ec-navigation/ec-navigation.vue +++ b/src/components/ec-navigation/ec-navigation.vue @@ -38,7 +38,7 @@ >