|
229 | 229 | ] |
230 | 230 | } |
231 | 231 | } |
232 | | -,{ |
233 | | - "@context": { |
234 | | - "@version": 1.1, |
235 | | - "dct": "http://purl.org/dc/terms/", |
236 | | - "title": { "@id": "dct:title", "@container": "@language" }, |
237 | | - "description": { "@id": "dct:description", "@container": "@language" }, |
238 | | - "modified": "dct:modified" |
239 | | - }, |
240 | | - "title": { |
241 | | - "en": "Contributors", |
242 | | - "fr": "Collaborateurs" |
243 | | - }, |
244 | | - "description": { |
245 | | - "en": "Links to institutions or organizations that support the content on the page.", |
246 | | - "fr": "Liens menant aux institutions ou aux organisations qui soutiennent le contenu sur la page." |
247 | | - }, |
248 | | - "modified": "2024-05-28", |
249 | | - "componentName": "gc-contributors", |
250 | | - "status": "stable", |
251 | | - "version": "1.0.0", |
252 | | - "pages": { |
253 | | - "docs": [ |
254 | | - { |
255 | | - "title": "Contributors", |
256 | | - "language": "en", |
257 | | - "path": "gc-contributors-doc-en.html" |
258 | | - }, |
259 | | - { |
260 | | - "title": "Collaborateurs", |
261 | | - "language": "fr", |
262 | | - "path": "gc-contributors-doc-fr.html" |
263 | | - } |
264 | | - ], |
265 | | - "examples": [ |
266 | | - { |
267 | | - "title": "Contributors", |
268 | | - "language": "en", |
269 | | - "path": "gc-contributors-en.html" |
270 | | - }, |
271 | | - { |
272 | | - "title": "Collaborateurs", |
273 | | - "language": "fr", |
274 | | - "path": "gc-contributors-fr.html" |
275 | | - } |
276 | | - ] |
277 | | - }, |
278 | | - "a11yGuidance": "No accessibility guidance.", |
279 | | - "variations": [ |
280 | | - { |
281 | | - "name": { |
282 | | - "en": "Contributors - default", |
283 | | - "fr": "Collaborateurs - par défaut" |
284 | | - }, |
285 | | - "status": "stable", |
286 | | - "description": { |
287 | | - "en": "Links to institutions or organizations that support the content on the page.", |
288 | | - "fr": "Liens menant aux institutions ou aux organisations qui soutiennent le contenu sur la page." |
289 | | - }, |
290 | | - "iteration": "_:iteration_contributors_2", |
291 | | - "example": [ |
292 | | - { |
293 | | - "en": { "href": "gc-contributors-en.html", "text": "Contributors" }, |
294 | | - "fr": { "href": "gc-contributors-fr.html", "text": "Collaborateurs" } |
295 | | - } |
296 | | - ], |
297 | | - "implementation": [ |
298 | | - "_:implement_contributors" |
299 | | - ], |
300 | | - "history": [ |
301 | | - { |
302 | | - "en": "May 2024 - Stabilizing component.", |
303 | | - "fr": "Mai 2024 - Stabilisation du composant." |
304 | | - }, |
305 | | - { |
306 | | - "en": "January 2021 - Initial provisional implementation to gather user experience data.", |
307 | | - "fr": "Janvier 2021 - Implémentation provisoire initiale pour recueillir des données sur l'expérience utilisateur." |
308 | | - } |
309 | | - ] |
310 | | - } |
311 | | - ], |
312 | | - "implementation": [ |
313 | | - { |
314 | | - "@id": "_:implement_contributors", |
315 | | - "iteration": "_:iteration_contributors_2", |
316 | | - "name": { |
317 | | - "en": "Standard", |
318 | | - "fr": "Standard" |
319 | | - }, |
320 | | - "introduction": { |
321 | | - "en": "This implementation is meant for developers/publishers adding the component manually.", |
322 | | - "fr": "Cette implémentation est destinée aux développeurs/éditeurs qui ajoutent le composant manuellement." |
323 | | - }, |
324 | | - "instructions": { |
325 | | - "en": [ |
326 | | - "Refer to the following code sample." |
327 | | - ], |
328 | | - "fr": [ |
329 | | - "Référez-vous au code qui suit." |
330 | | - ] |
331 | | - }, |
332 | | - "sample": { |
333 | | - "en": [ |
334 | | - { |
335 | | - "@type": "source-code", |
336 | | - "description": "Code sample:", |
337 | | - "code": "<section class=\"gc-contributors\">\n\t<h2>From:</h2>\n\t<ul>\n\t\t<li><a href=\"#\">[Department or agency 1]</a></li>\n\t\t<li><a href=\"#\">[Department or agency 2]</a></li>\n\t</ul>\n</section>" |
338 | | - } |
339 | | - ], |
340 | | - "fr": [ |
341 | | - { |
342 | | - "@type": "source-code", |
343 | | - "description": "Exemple de code :", |
344 | | - "code": "<section class=\"gc-contributors\">\n\t<h2>De :</h2>\n\t<ul>\n\t\t<li><a href=\"#\">[Ministère ou agence 1]</a></li>\n\t\t<li><a href=\"#\">[Ministère ou agence 2]</a></li>\n\t</ul>\n</section>" |
345 | | - } |
346 | | - ] |
347 | | - } |
348 | | - } |
349 | | - ], |
350 | | - "iteration": [ |
351 | | - { |
352 | | - "@id": "_:iteration_contributors_2", |
353 | | - "name": "Contributors - Iteration 2", |
354 | | - "date": "2024-05", |
355 | | - "detectableBy": ".gc-contributors:not(.provisional)", |
356 | | - "additions": [ |
357 | | - "Stabilized component" |
358 | | - ], |
359 | | - "assets": [ |
360 | | - { |
361 | | - "@type": "source-code", |
362 | | - "@language": "en", |
363 | | - "description": "Code sample", |
364 | | - "code": "<section class=\"gc-contributors\">\n\t<h2>From:</h2>\n\t<ul>\n\t\t<li><a href=\"#\">[Department or agency 1]</a></li>\n\t\t<li><a href=\"#\">[Department or agency 2]</a></li>\n\t</ul>\n</section>" |
365 | | - } |
366 | | - ], |
367 | | - "predecessor": "_:iteration_contributors_1" |
368 | | - }, |
369 | | - { |
370 | | - "@id": "_:iteration_contributors_1", |
371 | | - "name": "Contributors - Iteration 1", |
372 | | - "date": "2021-01", |
373 | | - "detectableBy": ".provisional.gc-contributors", |
374 | | - "assets": [ |
375 | | - { |
376 | | - "@type": "source-code", |
377 | | - "@language": "en", |
378 | | - "description": "Code sample", |
379 | | - "code": "<section class=\"provisional gc-contributors\">\n\t<h2>From:</h2>\n\t<ul>\n\t\t<li><a href=\"#\">[Department or agency 1]</a></li>\n\t\t<li><a href=\"#\">[Department or agency 2]</a></li>\n\t</ul>\n</section>" |
380 | | - } |
381 | | - ], |
382 | | - "successor": "_:iteration_contributors_2" |
383 | | - } |
384 | | - ], |
385 | | - "changesets": [ |
386 | | - { |
387 | | - "@id": "_:cs_contributors", |
388 | | - "name": "Contributors", |
389 | | - "status": "stable", |
390 | | - "baseOnIteration": "_:iteration_contributors_2", |
391 | | - "detectableBy": ".gc-contributors", |
392 | | - "layout": "Title and list are displayed inline on medium screens and up. They are displayed vertically on smaller screens.", |
393 | | - "semantic": "section>h2+ul>li*n>a", |
394 | | - "style": "The <h2> font size is smaller. The links are bolded.", |
395 | | - "static": [ |
396 | | - "From:", |
397 | | - "De :" |
398 | | - ], |
399 | | - "schema": [ |
400 | | - "Array of contributors objects", |
401 | | - "contributors object: contributor name, contributor link" |
402 | | - ] |
403 | | - } |
404 | | - ] |
405 | | -} |
406 | 232 | ,{ |
407 | 233 | "@context": { |
408 | 234 | "@version": 1.1, |
|
0 commit comments