|
2001 | 2001 | "en": "Features top tasks related to the page it is on.", |
2002 | 2002 | "fr": "Comprend des tâches principales liées à la page sur laquelle elles se trouvent." |
2003 | 2003 | }, |
2004 | | - "modified": "2025-05-08", |
| 2004 | + "modified": "2025-09-29", |
2005 | 2005 | "componentName": "gc-most-requested", |
2006 | 2006 | "status": "stable", |
2007 | | - "version": "1.1.0", |
| 2007 | + "version": "1.2.0", |
2008 | 2008 | "pages": { |
2009 | 2009 | "docs": [ |
2010 | 2010 | { |
|
2029 | 2029 | "language": "fr", |
2030 | 2030 | "path": "gc-most-requested-fr.html" |
2031 | 2031 | }, |
| 2032 | + { |
| 2033 | + "title": "Most requested - Two items", |
| 2034 | + "language": "en", |
| 2035 | + "path": "gc-most-requested-two-items-en.html" |
| 2036 | + }, |
| 2037 | + { |
| 2038 | + "title": "En demande - Deux éléments", |
| 2039 | + "language": "fr", |
| 2040 | + "path": "gc-most-requested-two-items-fr.html" |
| 2041 | + }, |
2032 | 2042 | { |
2033 | 2043 | "title": "Most requested - bad implementation", |
2034 | 2044 | "language": "en", |
|
2057 | 2067 | "en": "https://design.canada.ca/common-design-patterns/most-requested.html", |
2058 | 2068 | "fr": "https://conception.canada.ca/configurations-conception-communes/en-demande.html" |
2059 | 2069 | }, |
2060 | | - "iteration": "_:iteration_mostrequested_2", |
| 2070 | + "iteration": "_:iteration_mostrequested_3", |
2061 | 2071 | "example": [ |
2062 | 2072 | { |
2063 | 2073 | "en": { "href": "gc-most-requested-en.html", "text": "Most requested" }, |
2064 | 2074 | "fr": { "href": "gc-most-requested-fr.html", "text": "En demande" } |
| 2075 | + }, |
| 2076 | + { |
| 2077 | + "en": { "href": "gc-most-requested-two-items-en.html", "text": "Most requested - Two items" }, |
| 2078 | + "fr": { "href": "gc-most-requested-two-items-fr.html", "text": "En demande - Deux éléments" } |
2065 | 2079 | }, |
2066 | 2080 | { |
2067 | 2081 | "en": { "href": "gc-most-requested-bad-en.html", "text": "Most requested - bad implementation" }, |
|
2072 | 2086 | "_:implement_mostrequested" |
2073 | 2087 | ], |
2074 | 2088 | "history": [ |
| 2089 | + { |
| 2090 | + "en": "September 2025 - Items are displayed horizontally when there are only two list items on medium screen breakpoint and larger.", |
| 2091 | + "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." |
| 2092 | + }, |
2075 | 2093 | { |
2076 | 2094 | "en": "May 2025 - Items are now distributed vertically instead of horizontally.", |
2077 | 2095 | "fr": "Mai 2025 - Les items sont maintenant distribués verticalement plutôt que horizontalement." |
|
2136 | 2154 | } |
2137 | 2155 | ], |
2138 | 2156 | "iteration": [ |
| 2157 | + { |
| 2158 | + "@id": "_:iteration_mostrequested_3", |
| 2159 | + "name": "Most requested - Iteration 3", |
| 2160 | + "date": "2025-09", |
| 2161 | + "detectableBy": ".gc-most-requested:not(.provisional)", |
| 2162 | + "predecessor": "_:iteration_mostrequested_2", |
| 2163 | + "additions": [ |
| 2164 | + "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." |
| 2165 | + ], |
| 2166 | + "assets": [ |
| 2167 | + { |
| 2168 | + "@type": "source-code", |
| 2169 | + "@language": "en", |
| 2170 | + "description": "Code sample", |
| 2171 | + "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>" |
| 2172 | + } |
| 2173 | + ] |
| 2174 | + }, |
2139 | 2175 | { |
2140 | 2176 | "@id": "_:iteration_mostrequested_2", |
2141 | 2177 | "name": "Most requested - Iteration 2", |
2142 | 2178 | "date": "2024-11", |
2143 | 2179 | "detectableBy": ".gc-most-requested:not(.provisional)", |
2144 | 2180 | "predecessor": "_:iteration_mostrequested_1", |
| 2181 | + "successor": "_:iteration_mostrequested_3", |
2145 | 2182 | "additions": [ |
2146 | 2183 | "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." |
2147 | 2184 | ], |
|
0 commit comments