diff --git a/CHANGELOG.md b/CHANGELOG.md index 12c51c3b76..2f9c643d3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,26 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [4.106.0](https://github.com/SocialGouv/code-du-travail-numerique/compare/v4.105.1...v4.106.0) (2023-08-09) + +### Bug Fixes + +- **affichage des cc:** quand une cc est inconnue sur une entreprise ([#5284](https://github.com/SocialGouv/code-du-travail-numerique/issues/5284)) ([99aa96c](https://github.com/SocialGouv/code-du-travail-numerique/commit/99aa96ccf6799b5b419013725093fcee12e031e9)) +- **e2e:** change date for indemnite-licenciement ([9f55dde](https://github.com/SocialGouv/code-du-travail-numerique/commit/9f55dde1808c76a91973fc05c9e7348e60562c79)) +- **events:** refactor `pushAgreements` ([#5302](https://github.com/SocialGouv/code-du-travail-numerique/issues/5302)) ([7119a85](https://github.com/SocialGouv/code-du-travail-numerique/commit/7119a85d8aad97d00b3fe3b076d1ce97b459a3e1)) +- **indemite-licenciement:** modification de la margin du questionnaire a la premiere etape ([3f74e61](https://github.com/SocialGouv/code-du-travail-numerique/commit/3f74e61e4935eb6c1c5c793d26eea4e8a2ed5097)) +- **indemnite-licenciement:** cc 2148 majoration ([#5283](https://github.com/SocialGouv/code-du-travail-numerique/issues/5283)) ([6078aaa](https://github.com/SocialGouv/code-du-travail-numerique/commit/6078aaa9e19917ec37e511ad7fb509b4294808ee)) +- **modeles:** modification des disclaimers et des titres ([#5299](https://github.com/SocialGouv/code-du-travail-numerique/issues/5299)) ([61f06b3](https://github.com/SocialGouv/code-du-travail-numerique/commit/61f06b3fc70ce574c5f6abaeac18969cd22f07da)) + +### Features + +- 5271 indemnité de licenciement créer un questionnaire spécifique ([#5287](https://github.com/SocialGouv/code-du-travail-numerique/issues/5287)) ([969c330](https://github.com/SocialGouv/code-du-travail-numerique/commit/969c330a99e7f027775578ffbbc6e17cdd58fa92)) +- **accessibilité:** mise à jour de la page accessibilité ([#5295](https://github.com/SocialGouv/code-du-travail-numerique/issues/5295)) ([399b2e7](https://github.com/SocialGouv/code-du-travail-numerique/commit/399b2e7d6501f96b40f1bca38c245e0eab367658)) +- add redirection ([#5307](https://github.com/SocialGouv/code-du-travail-numerique/issues/5307)) ([a0941c8](https://github.com/SocialGouv/code-du-travail-numerique/commit/a0941c8ba87d26257f8ffdfcc690f577a1202f16)) +- **contributions:** nouvelle version pages personnalisables ([#5280](https://github.com/SocialGouv/code-du-travail-numerique/issues/5280)) ([1ba1342](https://github.com/SocialGouv/code-du-travail-numerique/commit/1ba134214330a469588e4ad5bd2b7bf62ff3cd00)) +- indemnite licenciement 176 ([#5234](https://github.com/SocialGouv/code-du-travail-numerique/issues/5234)) ([d803a58](https://github.com/SocialGouv/code-du-travail-numerique/commit/d803a582db59c9e644db94b9c6c4afbd1624da9e)) +- **indemnite-licenciement:** activation de nouvelles CC ([#5300](https://github.com/SocialGouv/code-du-travail-numerique/issues/5300)) ([8c513d5](https://github.com/SocialGouv/code-du-travail-numerique/commit/8c513d56a7562ddb4a48e4c6bba356353181e840)) + ## [4.105.1](https://github.com/SocialGouv/code-du-travail-numerique/compare/v4.105.0...v4.105.1) (2023-07-19) ### Bug Fixes diff --git a/lerna.json b/lerna.json index 13b899c080..6f95b6625d 100644 --- a/lerna.json +++ b/lerna.json @@ -8,5 +8,5 @@ }, "npmClient": "yarn", "useWorkspaces": true, - "version": "4.105.1" + "version": "4.106.0" } diff --git a/packages/code-du-travail-frontend/CHANGELOG.md b/packages/code-du-travail-frontend/CHANGELOG.md index 11807954a3..7a2aef91c7 100644 --- a/packages/code-du-travail-frontend/CHANGELOG.md +++ b/packages/code-du-travail-frontend/CHANGELOG.md @@ -3,6 +3,24 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [4.106.0](https://github.com/SocialGouv/code-du-travail-numerique/compare/v4.105.1...v4.106.0) (2023-08-09) + +### Bug Fixes + +- **affichage des cc:** quand une cc est inconnue sur une entreprise ([#5284](https://github.com/SocialGouv/code-du-travail-numerique/issues/5284)) ([99aa96c](https://github.com/SocialGouv/code-du-travail-numerique/commit/99aa96ccf6799b5b419013725093fcee12e031e9)) +- **e2e:** change date for indemnite-licenciement ([9f55dde](https://github.com/SocialGouv/code-du-travail-numerique/commit/9f55dde1808c76a91973fc05c9e7348e60562c79)) +- **events:** refactor `pushAgreements` ([#5302](https://github.com/SocialGouv/code-du-travail-numerique/issues/5302)) ([7119a85](https://github.com/SocialGouv/code-du-travail-numerique/commit/7119a85d8aad97d00b3fe3b076d1ce97b459a3e1)) +- **indemite-licenciement:** modification de la margin du questionnaire a la premiere etape ([3f74e61](https://github.com/SocialGouv/code-du-travail-numerique/commit/3f74e61e4935eb6c1c5c793d26eea4e8a2ed5097)) +- **modeles:** modification des disclaimers et des titres ([#5299](https://github.com/SocialGouv/code-du-travail-numerique/issues/5299)) ([61f06b3](https://github.com/SocialGouv/code-du-travail-numerique/commit/61f06b3fc70ce574c5f6abaeac18969cd22f07da)) + +### Features + +- 5271 indemnité de licenciement créer un questionnaire spécifique ([#5287](https://github.com/SocialGouv/code-du-travail-numerique/issues/5287)) ([969c330](https://github.com/SocialGouv/code-du-travail-numerique/commit/969c330a99e7f027775578ffbbc6e17cdd58fa92)) +- **accessibilité:** mise à jour de la page accessibilité ([#5295](https://github.com/SocialGouv/code-du-travail-numerique/issues/5295)) ([399b2e7](https://github.com/SocialGouv/code-du-travail-numerique/commit/399b2e7d6501f96b40f1bca38c245e0eab367658)) +- add redirection ([#5307](https://github.com/SocialGouv/code-du-travail-numerique/issues/5307)) ([a0941c8](https://github.com/SocialGouv/code-du-travail-numerique/commit/a0941c8ba87d26257f8ffdfcc690f577a1202f16)) +- **contributions:** nouvelle version pages personnalisables ([#5280](https://github.com/SocialGouv/code-du-travail-numerique/issues/5280)) ([1ba1342](https://github.com/SocialGouv/code-du-travail-numerique/commit/1ba134214330a469588e4ad5bd2b7bf62ff3cd00)) +- indemnite licenciement 176 ([#5234](https://github.com/SocialGouv/code-du-travail-numerique/issues/5234)) ([d803a58](https://github.com/SocialGouv/code-du-travail-numerique/commit/d803a582db59c9e644db94b9c6c4afbd1624da9e)) + ## [4.105.1](https://github.com/SocialGouv/code-du-travail-numerique/compare/v4.105.0...v4.105.1) (2023-07-19) ### Bug Fixes diff --git a/packages/code-du-travail-frontend/__tests__/__snapshots__/fiche-ministere-travail.test.tsx.snap b/packages/code-du-travail-frontend/__tests__/__snapshots__/fiche-ministere-travail.test.tsx.snap index daf8ae998f..3e2412e758 100644 --- a/packages/code-du-travail-frontend/__tests__/__snapshots__/fiche-ministere-travail.test.tsx.snap +++ b/packages/code-du-travail-frontend/__tests__/__snapshots__/fiche-ministere-travail.test.tsx.snap @@ -282,6 +282,11 @@ exports[` should render 1`] = ` fill="currentColor" /> + + Facebook + should render 1`] = ` fill="currentColor" /> + + Courriel +
should render 1`] = ` stroke-width="1.5" /> + + Partage +
@@ -588,6 +608,11 @@ exports[` should render 1`] = ` fill="currentColor" /> + + Facebook + should render 1`] = ` fill="currentColor" /> + + Courriel +
should render 1`] = ` stroke-width="1.5" /> + + Partage +
diff --git a/packages/code-du-travail-frontend/__tests__/__snapshots__/modeles-de-courriers-[slug].test.tsx.snap b/packages/code-du-travail-frontend/__tests__/__snapshots__/modeles-de-courriers-[slug].test.tsx.snap index 5b44d12f41..1c3fa70ed2 100644 --- a/packages/code-du-travail-frontend/__tests__/__snapshots__/modeles-de-courriers-[slug].test.tsx.snap +++ b/packages/code-du-travail-frontend/__tests__/__snapshots__/modeles-de-courriers-[slug].test.tsx.snap @@ -282,6 +282,11 @@ exports[` should render 1`] = ` fill="currentColor" /> + + Facebook + should render 1`] = ` fill="currentColor" /> + + Courriel +
should render 1`] = ` stroke-width="1.5" /> + + Partage +
@@ -569,6 +589,11 @@ exports[` should render 1`] = ` fill="currentColor" /> + + Facebook + should render 1`] = ` fill="currentColor" /> + + Courriel +
should render 1`] = ` stroke-width="1.5" /> + + Partage +
diff --git a/packages/code-du-travail-frontend/package.json b/packages/code-du-travail-frontend/package.json index b2ac6001e2..9436a8a5aa 100644 --- a/packages/code-du-travail-frontend/package.json +++ b/packages/code-du-travail-frontend/package.json @@ -1,6 +1,6 @@ { "name": "@cdt/frontend", - "version": "4.105.1", + "version": "4.106.0", "description": "Code du travail frontend", "private": true, "homepage": "https://code-du-travail.beta.gouv.fr/", diff --git a/packages/code-du-travail-frontend/public/static/modeles.css b/packages/code-du-travail-frontend/public/static/modeles.css index cd6649c8e5..aa869950cb 100644 --- a/packages/code-du-travail-frontend/public/static/modeles.css +++ b/packages/code-du-travail-frontend/public/static/modeles.css @@ -6,3 +6,4 @@ .checklist { list-style-image: url(data:image/svg+xml;,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221rem%22%20height%3D%221rem%22%20viewBox%3D%220%200%2011%2011%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M2%202h10v10H2z%22%2F%3E%3Cpath%20fill%3D%22%23fff%22%20stroke%3D%22currentColor%22%20stroke-width%3D%22.5%22%20d%3D%22M1%201h9v9H1z%22%2F%3E%3C%2Fsvg%3E);} .editable {color: var(--color-secondary)} .options {font-style: italic; color: var(--color-altText)} +.sr-only{display: none;} diff --git a/packages/code-du-travail-frontend/redirects.json b/packages/code-du-travail-frontend/redirects.json index 7ff7edbdbc..39192f2239 100644 --- a/packages/code-du-travail-frontend/redirects.json +++ b/packages/code-du-travail-frontend/redirects.json @@ -148,5 +148,15 @@ "source": "/convention-collective/1740-:slug", "permanent": true, "destination": "/outils/convention-collective" + }, + { + "source": "/fiche-service-public/peut-on-percevoir-lallocation-chomage-en-cas-de-demission", + "permanent": true, + "destination": "/fiche-service-public/un-salarie-peut-il-toucher-lallocation-chomage-en-cas-de-demission" + }, + { + "source": "/fiche-service-public/regles-de-licenciement-dans-une-entreprise-en-difficulte", + "permanent": true, + "destination": "/fiche-service-public/licenciement-dans-une-entreprise-en-difficulte-quelles-sont-les-regles" } ] diff --git a/packages/code-du-travail-frontend/src/common/References/__tests__/__snapshots__/ReferencesJuridiques.test.js.snap b/packages/code-du-travail-frontend/src/common/References/__tests__/__snapshots__/ReferencesJuridiques.test.js.snap index f461452bc9..913d5d7aec 100644 --- a/packages/code-du-travail-frontend/src/common/References/__tests__/__snapshots__/ReferencesJuridiques.test.js.snap +++ b/packages/code-du-travail-frontend/src/common/References/__tests__/__snapshots__/ReferencesJuridiques.test.js.snap @@ -9,6 +9,7 @@ exports[` should render 1`] = ` should renders 1`] = ` fill="currentColor" /> + + Courriel +
should renders 1`] = ` stroke-width="1.5" /> + + Partage +
@@ -230,6 +250,11 @@ exports[` should renders 1`] = ` fill="currentColor" /> + + Facebook + should renders 1`] = ` fill="currentColor" /> + + Courriel +
should renders 1`] = ` stroke-width="1.5" /> + + Partage +
@@ -490,6 +530,11 @@ exports[` should renders a breadcrumbs 1`] = ` fill="currentColor" /> + + Facebook + should renders a breadcrumbs 1`] = ` fill="currentColor" /> + + Courriel +
should renders a breadcrumbs 1`] = ` stroke-width="1.5" /> + + Partage +
@@ -682,6 +742,11 @@ exports[` should renders a breadcrumbs 1`] = ` fill="currentColor" /> + + Facebook + should renders a breadcrumbs 1`] = ` fill="currentColor" /> + + Courriel +
should renders a breadcrumbs 1`] = ` stroke-width="1.5" /> + + Partage +
@@ -856,6 +936,11 @@ exports[` should renders back to results link 1`] = ` fill="currentColor" /> + + Facebook + should renders back to results link 1`] = ` fill="currentColor" /> + + Courriel +
should renders back to results link 1`] = ` stroke-width="1.5" /> + + Partage +
@@ -1043,6 +1143,11 @@ exports[` should renders back to results link 1`] = ` fill="currentColor" /> + + Facebook + should renders back to results link 1`] = ` fill="currentColor" /> + + Courriel +
should renders back to results link 1`] = ` stroke-width="1.5" /> + + Partage +
@@ -1217,6 +1337,11 @@ exports[` should renders related content 1`] = ` fill="currentColor" /> + + Facebook + should renders related content 1`] = ` fill="currentColor" /> + + Courriel +
should renders related content 1`] = ` stroke-width="1.5" /> + + Partage +
@@ -1401,6 +1541,11 @@ exports[` should renders related content 1`] = ` fill="currentColor" /> + + Facebook + should renders related content 1`] = ` fill="currentColor" /> + + Courriel +
should renders related content 1`] = ` stroke-width="1.5" /> + + Partage +
@@ -1739,6 +1899,11 @@ exports[` should renders tooltip 1`] = ` fill="currentColor" /> + + Facebook + should renders tooltip 1`] = ` fill="currentColor" /> + + Courriel +
should renders tooltip 1`] = ` stroke-width="1.5" /> + + Partage +
@@ -1927,6 +2107,11 @@ exports[` should renders tooltip 1`] = ` fill="currentColor" /> + + Facebook + should renders tooltip 1`] = ` fill="currentColor" /> + + Courriel +
should renders tooltip 1`] = ` stroke-width="1.5" /> + + Partage +
@@ -2101,6 +2301,11 @@ exports[` should renders tooltip for words with diacritics without bre fill="currentColor" /> + + Facebook + should renders tooltip for words with diacritics without bre fill="currentColor" /> + + Courriel +
should renders tooltip for words with diacritics without bre stroke-width="1.5" /> + + Partage +
@@ -2289,6 +2509,11 @@ exports[` should renders tooltip for words with diacritics without bre fill="currentColor" /> + + Facebook + should renders tooltip for words with diacritics without bre fill="currentColor" /> + + Courriel +
should renders tooltip for words with diacritics without bre stroke-width="1.5" /> + + Partage +
@@ -2463,6 +2703,11 @@ exports[` should renders tooltip without breaking a tag 1`] = ` fill="currentColor" /> + + Facebook + should renders tooltip without breaking a tag 1`] = ` fill="currentColor" /> + + Courriel +
should renders tooltip without breaking a tag 1`] = ` stroke-width="1.5" /> + + Partage +
@@ -2652,6 +2912,11 @@ exports[` should renders tooltip without breaking a tag 1`] = ` fill="currentColor" /> + + Facebook + should renders tooltip without breaking a tag 1`] = ` fill="currentColor" /> + + Courriel +
should renders tooltip without breaking a tag 1`] = ` stroke-width="1.5" /> + + Partage +
@@ -2826,6 +3106,11 @@ exports[` should renders tooltip without breaking previous word 1`] = fill="currentColor" /> + + Facebook + should renders tooltip without breaking previous word 1`] = fill="currentColor" /> + + Courriel +
should renders tooltip without breaking previous word 1`] = stroke-width="1.5" /> + + Partage +
@@ -3010,6 +3310,11 @@ exports[` should renders tooltip without breaking previous word 1`] = fill="currentColor" /> + + Facebook + should renders tooltip without breaking previous word 1`] = fill="currentColor" /> + + Courriel +
should renders tooltip without breaking previous word 1`] = stroke-width="1.5" /> + + Partage +
diff --git a/packages/code-du-travail-frontend/src/common/__tests__/__snapshots__/Article.test.js.snap b/packages/code-du-travail-frontend/src/common/__tests__/__snapshots__/Article.test.js.snap index 4633ce40a8..a788102d7d 100644 --- a/packages/code-du-travail-frontend/src/common/__tests__/__snapshots__/Article.test.js.snap +++ b/packages/code-du-travail-frontend/src/common/__tests__/__snapshots__/Article.test.js.snap @@ -37,6 +37,11 @@ exports[`
should render 1`] = ` fill="currentColor" /> + + Facebook + should render 1`] = ` fill="currentColor" /> + + Courriel +
should render 1`] = ` stroke-width="1.5" /> + + Partage +
diff --git a/packages/code-du-travail-frontend/src/common/__tests__/__snapshots__/Share.test.js.snap b/packages/code-du-travail-frontend/src/common/__tests__/__snapshots__/Share.test.js.snap index 30a77ff32e..c95cfd4882 100644 --- a/packages/code-du-travail-frontend/src/common/__tests__/__snapshots__/Share.test.js.snap +++ b/packages/code-du-travail-frontend/src/common/__tests__/__snapshots__/Share.test.js.snap @@ -25,6 +25,11 @@ exports[` renders 1`] = ` fill="currentColor" /> + + Facebook + renders 1`] = ` fill="currentColor" /> + + Courriel +
renders 1`] = ` stroke-width="1.5" /> + + Partage +
diff --git a/packages/code-du-travail-frontend/src/conventions/Convention/__tests__/__snapshots__/index.test.js.snap b/packages/code-du-travail-frontend/src/conventions/Convention/__tests__/__snapshots__/index.test.js.snap index 536154d5d3..f2720db041 100644 --- a/packages/code-du-travail-frontend/src/conventions/Convention/__tests__/__snapshots__/index.test.js.snap +++ b/packages/code-du-travail-frontend/src/conventions/Convention/__tests__/__snapshots__/index.test.js.snap @@ -3358,6 +3358,7 @@ exports[` renders 1`] = `