|
2797 | 2797 | "@context": { |
2798 | 2798 | "@version": 1.1, |
2799 | 2799 | "dct": "http://purl.org/dc/terms/", |
2800 | | - "title": { |
2801 | | - "@id": "dct:title", "@container": "@language" |
2802 | | - }, |
2803 | 2800 | "title": { "@id": "dct:title", "@container": "@language" }, |
2804 | 2801 | "description": { "@id": "dct:description", "@container": "@language" }, |
2805 | 2802 | "modified": "dct:modified" |
|
2812 | 2809 | "en": "Break up long and complex content into pages that each focus on a step or specific answer people need before moving to the next step or section.", |
2813 | 2810 | "fr": "Diviser du contenu long et complexe en pages qui se concentrent chacune sur une étape ou une réponse spécifique dont les gens ont besoin avant de passer à l'étape ou à la section suivante." |
2814 | 2811 | }, |
2815 | | - "modified": "2025-11-20", |
| 2812 | + "modified": "2026-02-27", |
2816 | 2813 | "componentName": "gc-subway", |
2817 | 2814 | "status": "stable", |
2818 | | - "version": "1.0", |
| 2815 | + "version": "1.0.1", |
2819 | 2816 | "pages": { |
2820 | 2817 | "examples": [ |
2821 | 2818 | { |
|
2918 | 2915 | "en": "https://design.canada.ca/common-design-patterns/subway-navigation.html", |
2919 | 2916 | "fr": "https://conception.canada.ca/configurations-conception-communes/navigation-metro.html" |
2920 | 2917 | }, |
2921 | | - "iteration": "_:iteration_subway_2", |
| 2918 | + "iteration": "_:iteration_subway_3", |
2922 | 2919 | "example": [ |
2923 | 2920 | { |
2924 | 2921 | "en": { "href": "index-en.html", "text": "Index page" }, |
|
2953 | 2950 | "_:implement_subway_1" |
2954 | 2951 | ], |
2955 | 2952 | "history": [ |
| 2953 | + { |
| 2954 | + "en": "February 2026 - Removed code to adjust previous implementations of the pattern as it was breaking some pages that had a bad implementation.", |
| 2955 | + "fr": "Février 2026 - Supprimé le code pour ajuster les implémentations précédentes du modèle car cela cassait certaines pages qui avaient une mauvaise implémentation." |
| 2956 | + }, |
2956 | 2957 | { |
2957 | 2958 | "en": "November 2025 - Stabilized the component", |
2958 | 2959 | "fr": "Novembre 2025 - Stabilisé le composant" |
|
2967 | 2968 | "implementation": [ |
2968 | 2969 | { |
2969 | 2970 | "@id": "_:implement_subway_1", |
2970 | | - "iteration": "_:iteration_subway_2", |
| 2971 | + "iteration": "_:iteration_subway_3", |
2971 | 2972 | "name": { |
2972 | 2973 | "en": "Standard", |
2973 | 2974 | "fr": "Standard" |
|
3021 | 3022 | } |
3022 | 3023 | ], |
3023 | 3024 | "iteration": [ |
| 3025 | + { |
| 3026 | + "@id": "_:iteration_subway_3", |
| 3027 | + "name": "Subway - Iteration 3", |
| 3028 | + "date": "2026-02", |
| 3029 | + "detectableBy": ".gc-subway", |
| 3030 | + "predecessor": "_:iteration_subway_2", |
| 3031 | + "fixes": [ |
| 3032 | + "Removed code to adjust previous implementations of the pattern as it was breaking some pages that had a bad implementation." |
| 3033 | + ] |
| 3034 | + }, |
3024 | 3035 | { |
3025 | 3036 | "@id": "_:iteration_subway_2", |
3026 | 3037 | "name": "Subway - Iteration 2", |
3027 | 3038 | "date": "2025-11", |
3028 | 3039 | "detectableBy": ".gc-subway", |
| 3040 | + "predecessor": "_:iteration_subway_1", |
| 3041 | + "successor": "_:iteration_subway_3", |
3029 | 3042 | "assets": [ |
3030 | 3043 | { |
3031 | 3044 | "@type": "source-code", |
|
3045 | 3058 | "name": "Subway - Iteration 1", |
3046 | 3059 | "date": "2021-03", |
3047 | 3060 | "detectableBy": ".gc-subway.provisional", |
| 3061 | + "successor": "_:iteration_subway_2", |
3048 | 3062 | "assets": [ |
3049 | 3063 | { |
3050 | 3064 | "@type": "source-code", |
|
3065 | 3079 | "@id": "_:cs_subway", |
3066 | 3080 | "name": "Subway navigation", |
3067 | 3081 | "status": "stable", |
3068 | | - "baseOnIteration": "_:iteration_subway_2", |
| 3082 | + "baseOnIteration": "_:iteration_subway_3", |
3069 | 3083 | "detectableBy": ".gc-subway", |
3070 | 3084 | "layout": "The layout for the index page is different from the sections pages. The Subway navigation code snippet for the <strong>index</strong> page can be placed anywhere within the content of the page (<code><main></code>). However, make sure the heading level is appropriate. Also, the sub-section items must not be included in the index page.", |
3071 | 3085 | "style": "The active class is mandatory and is to be added to the active page's link (<a>) in the Subway navigation. Additionally, an optional class of no-line can be applied to a sub-section list (<ul>). It will remove the vertical line connecting all sub-sections. It will also add a horizontal line connecting the active sub-section with the main subway line.", |
|
0 commit comments