Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up: moving deprecated components to méli-mélo #2425

Merged
merged 1 commit into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions _data/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -529,13 +529,13 @@
},
"title": {
"en": "Text-level Modifiers",
"fr": "Modificateurs de niveau de texte"
"fr": "Modificateurs de niveau texte"
},
"description": {
"en": "Text-level modifiers for styling and formatting",
"fr": "Modificateurs de niveau de texte pour le style et le formatage"
"fr": "Modificateurs de niveau texte pour le style et le formatage"
},
"modified": "2024-03-06",
"modified": "2024-11-25",
"componentName": "text-level-modifiers",
"status": "stable",
"pages": {
Expand Down
26 changes: 15 additions & 11 deletions _data/components.json
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@
"en": "Follow us",
"fr": "Suivez-nous"
},
"status": "demoted",
"status": "deprecated",
"description": {
"en": "The social media channels pattern provides links to official Government of Canada (GC) social media accounts.",
"fr": "La configuration de conception des chaînes de médias sociaux fournit des liens vers les comptes de médias sociaux officiels du gouvernement du Canada (GC)."
Expand All @@ -899,6 +899,10 @@
"_:implement_follow"
],
"history": [
{
"en": "September 2024 - This variant is now officially deprecated.",
"fr": "Septembre 2024 - Cette variante est maintenant officiellement obsolète."
},
{
"en": "April 2017 - Initial implementation of the variation.",
"fr": "Avril 2017 - Implémentation initiale de la variante."
Expand Down Expand Up @@ -1005,7 +1009,7 @@
"New SVG image for X logo (formerly known as Twitter)."
],
"fixes": [
"Demoted: SVG image for Twitter to be deprecated."
"Deprecated: SVG image for Twitter to be deprecated."
],
"assets": [
{
Expand Down Expand Up @@ -1106,7 +1110,7 @@
{
"@id": "_:cs_follow",
"name": "Follow us",
"status": "demoted",
"status": "deprecated",
"deprecatedOn": "2024-02-02",
"baseOnIteration": "_:iteration_follow_1",
"detectableBy": ".followus",
Expand Down Expand Up @@ -2331,42 +2335,42 @@
"en": "Transforms a simple form into a conversation like experience used as a wizard.",
"fr": "Conversation suggestive"
},
"modified": "2020-08-18",
"modified": "2024-12-05",
"componentName": "wb-chtwzrd",
"status": "provisional",
"status": "deprecated",
"pages": {
"examples": [
{
"title": "Chat wizard",
"language": "en",
"path": "chatwizard-en.html"
"path": "../../méli-mélo/deprecated/chatwizard/chatwizard-en.html"
},
{
"title": "Conversation suggestive",
"language": "fr",
"path": "chatwizard-fr.html"
"path": "../../méli-mélo/deprecated/chatwizard/chatwizard-fr.html"
},
{
"title": "with JSON setting",
"language": "en",
"path": "chatwizard-json-en.html"
"path": "../../méli-mélo/deprecated/chatwizard/chatwizard-json-en.html"
},
{
"title": "avec une configuration JSON",
"language": "fr",
"path": "chatwizard-json-fr.html"
"path": "../../méli-mélo/deprecated/chatwizard/chatwizard-json-fr.html"
}
],
"docs": [
{
"title": "Chat wizard",
"language": "en",
"path": "docs.html"
"path": "../../méli-mélo/deprecated/chatwizard/docs.html"
},
{
"title": "Chat wizard (en anglais seulement)",
"language": "fr",
"path": "docs.html"
"path": "../../méli-mélo/deprecated/chatwizard/docs.html"
}
],
"related": [
Expand Down
16 changes: 8 additions & 8 deletions _data/méli-mélo.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
{
"nom": "2025-04-nahanni",
"libs": [
"2024-10-datatable-utilities",
"2024-10-datatable-utilities",
"2024-02-charts",
"2024-04-stepsquiz",
"2021-05-conjunction",
"2021-05-steps",
"deprecated"
"2024-04-stepsquiz",
"2021-05-conjunction",
"2021-05-steps",
"deprecated"
]
},
{
"nom": "2025-12-mille-iles",
"libs": [
"2024-10-datatable-utilities",
"2021-05-conjunction",
"2021-05-steps",
"2021-05-conjunction",
"2021-05-steps",
"deprecated"
]
},
Expand Down Expand Up @@ -98,7 +98,7 @@
"nom": "2024-10-datatable-utilities",
"mainpage": "index-en.html"
},
{
{
"nom": "deprecated",
"mainpage": "deprecated.html"
}
Expand Down
20 changes: 6 additions & 14 deletions _data/sites.json
Original file line number Diff line number Diff line change
Expand Up @@ -2736,12 +2736,12 @@
"fr": { "href": "page-details-pft-fr.html", "text": "Détails de la page avec Outil de rétroaction sur la page" }
},
{
"en": { "href": "demoted/page-details-v3-en.html", "text": "Demoted - Page details version 3.0" },
"fr": { "href": "demoted/page-details-v3-fr.html", "text": "Rétrogradé - Détails de la page version 3.0" }
"en": { "href": "deprecated/page-details-v3-en.html", "text": "Deprecated as of GCWeb v16.0.0 - Page details version 3.0" },
"fr": { "href": "deprecated/page-details-v3-fr.html", "text": "Obsolète à partir de GCWeb v16.0.0 - Détails de la page version 3.0" }
},
{
"en": { "href": "demoted/page-details-v3.1-en.html", "text": "Demoted - Page details version 3.1" },
"fr": { "href": "demoted/page-details-v3.1-fr.html", "text": "Rétrogradé - Détails de la page version 3.1" }
"en": { "href": "deprecated/page-details-v3.1-en.html", "text": "Deprecated as of GCWeb v16.0.0 - Page details version 3.1" },
"fr": { "href": "deprecated/page-details-v3.1-fr.html", "text": "Obsolète à partir de GCWeb v16.0.0 - Détails de la page version 3.1" }
}
],
"implementation": [
Expand Down Expand Up @@ -2795,14 +2795,6 @@
"Pour plus d'informations sur le composant de l'Outil de rétroaction sur la page, veuillez visiter la page <a href=\"../sites/feedback/page-feedback-docs-fr.html\">Zone de rétroaction sur la page</a>."
]
},
"notes": {
"en": [
"Although the component has been updated to version 3.2, versions 2.0, 3.0 and 3.1 are still supported. However, for version 2.0, the page content and the &lt;footer&gt; have to be located inside an &lt;article&gt; tag."
],
"fr": [
"Bien que le composant ait été mis à jour vers la version 3.2, les versions 2.0, 3.0 et 3.1 sont toujours prises en charge. Cependant, pour la version 2.0, le contenu de la page et la balise &lt;footer&gt; doivent être situés à l'intérieur d'une balise &lt;article&gt;."
]
},
"sample": {
"en": [
{
Expand Down Expand Up @@ -3192,7 +3184,7 @@
{
"@id": "_:cs_pd_4",
"name": "Page details - version 3.1",
"status": "stable",
"status": "deprecated",
"baseOnIteration": "_:iteration_pd_4",
"detectableBy": "section.pagedetails",
"layout": [
Expand Down Expand Up @@ -3230,7 +3222,7 @@
{
"@id": "_:cs_pd_3",
"name": "Page details - Compatible with PFT + Accessiblity fix (version 3.0)",
"status": "stable",
"status": "deprecated",
"baseOnIteration": "_:iteration_pd_3",
"detectableBy": "section.pagedetails",
"layout": [
Expand Down
54 changes: 33 additions & 21 deletions _data/templates.json
Original file line number Diff line number Diff line change
Expand Up @@ -1225,26 +1225,38 @@
"componentName": "thematic",
"status": "provisional",
"pages": {
"docs": [
{
"title": "Pink Day - Deprecated as of GCWeb v16.0.0",
"language": "en",
"path": "../../méli-mélo/deprecated/pinkday/docs-en.html"
},
{
"title": "Journée rose - Obsolète à partir de GCWeb v16.0.0",
"language": "fr",
"path": "../../méli-mélo/deprecated/pinkday/docs-fr.html"
}
],
"examples": [
{
"title": "Pink Day",
"title": "Pink Day - Deprecated as of GCWeb v16.0.0",
"language": "en",
"path": "pink-day-en.html"
"path": "../../méli-mélo/deprecated/pinkday/pink-day-en.html"
},
{
"title": "Journée rose",
"title": "Journée rose - Obsolète à partir de GCWeb v16.0.0",
"language": "fr",
"path": "pink-day-fr.html"
"path": "../../méli-mélo/deprecated/pinkday/pink-day-fr.html"
},
{
"title": "Pink Day - Home",
"title": "Pink Day - Home - Deprecated as of GCWeb v16.0.0",
"language": "en",
"path": "pink-day-home-en.html"
"path": "../../méli-mélo/deprecated/pinkday/pink-day-home-en.html"
},
{
"title": "Journée rose - Accueil",
"title": "Journée rose - Accueil - Obsolète à partir de GCWeb v16.0.0",
"language": "fr",
"path": "pink-day-home-fr.html"
"path": "../../méli-mélo/deprecated/pinkday/pink-day-home-fr.html"
},
{
"title": "Dark theme",
Expand Down Expand Up @@ -1312,22 +1324,22 @@
"path": "topic-stackedheader-fr.html"
},
{
"title": "Theme/Topic page - Demoted",
"title": "Theme/Topic page - Deprecated as of GCWeb v16.0.0",
"language": "en",
"path": "demoted/theme-topic-en.html"
"path": "deprecated/theme-topic-en.html"
},
{
"title": "Page de sujet/thème - Rétrogradée",
"title": "Page de sujet/thème - Obsolète à partir de GCWeb v16.0.0",
"language": "fr",
"path": "demoted/theme-topic-fr.html"
"path": "deprecated/theme-topic-fr.html"
},
{
"title": "Lowest topic (with secondary navigation) - Deprecated",
"title": "Lowest topic (with secondary navigation) - Deprecated as of GCWeb v16.0.0",
"language": "en",
"path": "../lowest-topic/index-en.html"
},
{
"title": "Sujet de plus bas niveau (avec une navigation secondaire) - Dépréciée",
"title": "Sujet de plus bas niveau (avec une navigation secondaire) - Obsolète à partir de GCWeb v16.0.0",
"language": "fr",
"path": "../lowest-topic/index-fr.html"
}
Expand Down Expand Up @@ -1570,14 +1582,14 @@
"example": {
"en": [
{
"href": "demoted/theme-topic-en.html",
"text": "Theme - Topic page version 2 (beta)"
"href": "deprecated/theme-topic-en.html",
"text": "Theme - Topic page version 2 (beta) - Deprecated as of GCWeb v16.0.0"
}
],
"fr": [
{
"href": "demoted/theme-topic-fr.html",
"text": "Page the thème ou de sujet version 2 (bêta)"
"href": "deprecated/theme-topic-fr.html",
"text": "Page the thème ou de sujet version 2 (bêta) - Obsolète à partir de GCWeb v16.0.0"
}
]
}
Expand All @@ -1590,14 +1602,14 @@
"example": {
"en": [
{
"href": "demoted/topic-en.html",
"text": "Topic page version 1"
"href": "deprecated/topic-en.html",
"text": "Topic page version 1 - Deprecated as of GCWeb v16.0.0"
}
],
"fr": [
{
"href": "deprecated/topic-fr.html",
"text": "Page de sujet version 1"
"text": "Page de sujet version 1 - Obsolète à partir de GCWeb v16.0.0"
}
]
}
Expand Down
27 changes: 21 additions & 6 deletions components/_provisional.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@

.provisional {

/*
*
*
* START: the following code has been deprecated as of version 16.0.0
*
*
*/
/* ------------
* Background color
*
Expand All @@ -30,7 +37,7 @@
*
*/
.bg-img-hdng {
background-image: url("../assets/x-blue-line.png");
background-image: url("https://www.canada.ca/content/dam/servcan/x-blue-line.png");
background-position: right bottom;
background-repeat: no-repeat;
min-height: 60px;
Expand Down Expand Up @@ -96,6 +103,19 @@
}
}


//This color will eventually be replaced by the new colors from the alert revamp PR.
&.icon-warning-light, .icon-warning-light {
color: #DF7200;
}
/*
*
*
* END: the above code has been deprecated as of version 16.0.0
*
*
*/

/* Dark theme
*/
&.dark-theme {
Expand Down Expand Up @@ -149,11 +169,6 @@
}
}

//This color will eventually be replaced by the new colors from the alert revamp PR.
&.icon-warning-light, .icon-warning-light {
color: #DF7200;
}

/* Theme/topic decorative image */
&.gc-topic-bg div {
background: no-repeat;
Expand Down
6 changes: 5 additions & 1 deletion components/gc-follow-us/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Social Media Icons, follow-us
*/

// START: Deprecated as of version 16.0.0
Garneauma marked this conversation as resolved.
Show resolved Hide resolved
%social-media-icons-followus-logo-properties {
background-position: center center;
background-repeat: no-repeat;
Expand Down Expand Up @@ -63,6 +64,7 @@
%social-media-icons-logo-email {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAWCAYAAABOm/V6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4gQVECMqfCsMgwAAAshJREFUSMfF1s9P02AYwPFvyxwbHRuMrYOVVgS2BRNBDfHqxXDxz/Bq4sH/QA+e/B8MR+9e/QcUMk0IMBRho4R1g7LRbmPA6mFuqLAxfj9Jk6bv276fPHnep6+QnJ3xAq+Bl0CEm41PwBsX8AJ4y+3Ec2DYBbwCCClj7O1k6Q3KRO5OXNuqlVKRjVQSr6+PXSMDMCUCIwCylkCJTWHt5smuLV4LYL9ssZFK4g9GUMYnm8/Fvyd5fX1Exx7UIetXC6mWbTLLc/gHBpG1+D9jIuDUb51jyPgklpknu750NYBKifTSVwKhKOHhGCCcQJwIry+AEptizzQw0suXByx+oS+sEFLGEQThxByx1cseyc9w/BHFnSy5zAqO41wYEAgrDERHTwW0RQB4enpRE48pbG+S13/iOLVz1UADEIqOIoitlxLP+li314eWmKaQ09nWV3FqZ0P2Sxbp5TkC4SghZawtoCMEgNsroU1Ms5vTyW+uts1IpVQkk5rHHxxsWQMXQgC4PXVIIaeT11dPrZGKXUBPJekNRpC1eEeAcyGqlRJGOoUUCFHI6+QyKWpHh81xu7CNvvKd7h4fFbuImc10XD+uzgA2RjqFRwoQUkbZL9ts/vjG4UGVbq+PWu0Qy8zROxBBVuNU7CJGJgVAf0S9fCb+B9SLVUK7/wTXHTd2cYdq2SasxpDVeHN7y2qcPdNo/B8unoljgL8JaERXlwtZS9Cuz8hqrN5jgH5ZPX8mGjXgkfwMREcv1C09kp+wGsPaaZ8R8biRH1fywX4ZI71cBwzd67jKW2ZES7BnGpgtICJQBZpN6KBaIbu+hEfyExwaObPRdBLdPT5kLYFlGqfuGhGYB9haW+Do8ICtXwt1wKCGIAg4Tu1KLrenh7AaxzKzZNcWsXZzDUNJSM7OPPtz1nPf0hHvowv4DDwF3gEPAekGFnaADPABeP8bNrJaPIc3C6EAAAAASUVORK5CYII=")
}
// END: Deprecated as of version 16.0.0

$social-media-li-margin-bottom: 15px;
$social-media-icons-vertical-offset: 6px;
Expand Down Expand Up @@ -192,6 +194,7 @@ $social-media-icons-size: 38px;
}
}

// START: Deprecated as of version 16.0.0
//removes the icon to the share widget
.shr-pg {
a {
Expand Down Expand Up @@ -280,7 +283,7 @@ $social-media-icons-size: 38px;
@extend %social-media-icons-logo-instagram;
}

.googleplus { //This is deprecated and will be removed from later versions
.googleplus {
@extend %social-media-icons-followus-logo-properties;
@extend %social-media-icons-logo-googleplus;
background-repeat: no-repeat;
Expand Down Expand Up @@ -369,3 +372,4 @@ $social-media-icons-size: 38px;
@extend %social-media-icons-logo-rss;
}
}
// END: Deprecated as of version 16.0.0
Loading
Loading