From 3adcbde3735e1d9ab72c8aa73634b498cb029244 Mon Sep 17 00:00:00 2001 From: Fabien Silberstein Date: Thu, 23 Nov 2023 15:03:37 +0100 Subject: [PATCH 1/3] add display none when closed modal --- elm/Internal/CookiesRegulationModal.elm | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/elm/Internal/CookiesRegulationModal.elm b/elm/Internal/CookiesRegulationModal.elm index 4f88113..4fa651b 100644 --- a/elm/Internal/CookiesRegulationModal.elm +++ b/elm/Internal/CookiesRegulationModal.elm @@ -21,6 +21,7 @@ view model = , class "cookies-regulation-modal" , class "cookies-regulation-show" |> attrWhen (model.modalState == ModalOpened) , style "height" "0" |> attrWhen (model.modalState == ModalClosed) + , style "display" "none" |> attrWhen (model.modalState == ModalClosed) , Events.on "transitionend" (Decode.succeed InternalMsgCloseModal) |> attrWhen (model.modalState == ModalFadeClose) , tabindex -1 ] diff --git a/package.json b/package.json index 59bff32..99bd56c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rich-id/cookies-regulation", - "version": "0.2.4", + "version": "0.2.5", "scripts": { "build": "parcel build js/cookies-regulation.js", "build-release": "parcel build --no-source-maps js/cookies-regulation.js", From 2ee33c1605534ddbc0da892cbe1d88d2c66dbc0a Mon Sep 17 00:00:00 2001 From: sergio Date: Fri, 12 Jan 2024 17:08:36 +0100 Subject: [PATCH 2/3] #69045 : change translation --- elm/Internal/Translations.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elm/Internal/Translations.elm b/elm/Internal/Translations.elm index 4314cfe..62bf922 100644 --- a/elm/Internal/Translations.elm +++ b/elm/Internal/Translations.elm @@ -23,7 +23,7 @@ banner_close locale = "Close banner" Fr -> - "Fermer" + "Fermer le bandeau des cookies" banner_customise : Locale -> String From 0eccec5a4fbb07fd888e4c4d5da679ce31a3a7a2 Mon Sep 17 00:00:00 2001 From: sergio Date: Fri, 12 Jan 2024 17:31:23 +0100 Subject: [PATCH 3/3] #69045 : change translation --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 99bd56c..888108a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rich-id/cookies-regulation", - "version": "0.2.5", + "version": "0.2.6", "scripts": { "build": "parcel build js/cookies-regulation.js", "build-release": "parcel build --no-source-maps js/cookies-regulation.js",