Skip to content
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
43 changes: 40 additions & 3 deletions _data/components.json
Original file line number Diff line number Diff line change
Expand Up @@ -2001,10 +2001,10 @@
"en": "Features top tasks related to the page it is on.",
"fr": "Comprend des tâches principales liées à la page sur laquelle elles se trouvent."
},
"modified": "2025-05-08",
"modified": "2025-09-29",
"componentName": "gc-most-requested",
"status": "stable",
"version": "1.1.0",
"version": "1.2.0",
"pages": {
"docs": [
{
Expand All @@ -2029,6 +2029,16 @@
"language": "fr",
"path": "gc-most-requested-fr.html"
},
{
"title": "Most requested - Two items",
"language": "en",
"path": "gc-most-requested-two-items-en.html"
},
{
"title": "En demande - Deux éléments",
"language": "fr",
"path": "gc-most-requested-two-items-fr.html"
},
{
"title": "Most requested - bad implementation",
"language": "en",
Expand Down Expand Up @@ -2057,11 +2067,15 @@
"en": "https://design.canada.ca/common-design-patterns/most-requested.html",
"fr": "https://conception.canada.ca/configurations-conception-communes/en-demande.html"
},
"iteration": "_:iteration_mostrequested_2",
"iteration": "_:iteration_mostrequested_3",
"example": [
{
"en": { "href": "gc-most-requested-en.html", "text": "Most requested" },
"fr": { "href": "gc-most-requested-fr.html", "text": "En demande" }
},
{
"en": { "href": "gc-most-requested-two-items-en.html", "text": "Most requested - Two items" },
"fr": { "href": "gc-most-requested-two-items-fr.html", "text": "En demande - Deux éléments" }
},
{
"en": { "href": "gc-most-requested-bad-en.html", "text": "Most requested - bad implementation" },
Expand All @@ -2072,6 +2086,10 @@
"_:implement_mostrequested"
],
"history": [
{
"en": "September 2025 - Items are displayed horizontally when there are only two list items on medium screen breakpoint and larger.",
"fr": "Septembre 2025 - Les éléments sont affichés horizontalement quand il y a seulement deux éléments de liste à partir d'un breakpoint écran moyen et plus."
},
{
"en": "May 2025 - Items are now distributed vertically instead of horizontally.",
"fr": "Mai 2025 - Les items sont maintenant distribués verticalement plutôt que horizontalement."
Expand Down Expand Up @@ -2136,12 +2154,31 @@
}
],
"iteration": [
{
"@id": "_:iteration_mostrequested_3",
"name": "Most requested - Iteration 3",
"date": "2025-09",
"detectableBy": ".gc-most-requested:not(.provisional)",
"predecessor": "_:iteration_mostrequested_2",
"additions": [
"Changed display of list items from vertical to horizontal when there are only two list items on medium screen breakpoint and larger. This does not change the component's core behaviour, so this is a Minor change."
],
"assets": [
{
"@type": "source-code",
"@language": "en",
"description": "Code sample",
"code": "<section class=\"gc-most-requested\">\n\t<div class=\"container\">\n\t\t<h2>Most requested</h2>\n\t\t<ul>\n\t\t\t<li><a href=\"#\">[Top task hyperlink 1]</a></li>\n\t\t\t<li><a href=\"#\">[Top task hyperlink 2]</a></li>\n\t\t</ul>\n\t</div>\n</section>"
}
]
},
{
"@id": "_:iteration_mostrequested_2",
"name": "Most requested - Iteration 2",
"date": "2024-11",
"detectableBy": ".gc-most-requested:not(.provisional)",
"predecessor": "_:iteration_mostrequested_1",
"successor": "_:iteration_mostrequested_3",
"additions": [
"Changed display of items from flex to column-count. This change is perceptible and a user will notice that change but it won't change the component essential behaviour. So this is a Minor change."
],
Expand Down
12 changes: 5 additions & 7 deletions components/baseline/_alert.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@

// Removes styling from the current WET4 Alert
%alert-first-child-before-disable {
& {
> {
:first-child {
&::before {
color: inherit;
content: none;
}
> {
:first-child {
&::before {
color: inherit;
content: none;
}
}
}
Expand Down
72 changes: 31 additions & 41 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"postcss": "^8.5.6",
"sass": "^1.93.2",
"stylelint": "^16.24.0",
"stylelint-config-standard-scss": "^15.0.1",
"stylelint-config-standard-scss": "^16.0.0",
"stylelint-order": "^7.0.0",
"time-grunt": "^2.0.0"
}
Expand Down
2 changes: 2 additions & 0 deletions stylelint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ module.exports = {
"no-duplicate-selectors": null,
"no-irregular-whitespace": null,
"number-max-precision": null,
"property-no-deprecated": null,
"property-no-vendor-prefix": null,
"rule-empty-line-before": null,
"selector-attribute-quotes": null,
Expand Down Expand Up @@ -117,6 +118,7 @@ module.exports = {
"no-descending-specificity": null, // Extremely slow
"no-invalid-position-at-import-rule": null, // Fixable, need to run sass migrator
"number-max-precision": null,
"property-no-deprecated": null,
"scss/at-extend-no-missing-placeholder": null,
"scss/comment-no-empty": null,
"scss/dollar-variable-pattern": null, // Fixable
Expand Down